@scalar/api-client 2.29.3 → 2.31.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.
Files changed (82) hide show
  1. package/CHANGELOG.md +77 -0
  2. package/dist/hooks/useClientConfig.d.ts +3 -0
  3. package/dist/hooks/useClientConfig.d.ts.map +1 -1
  4. package/dist/style.css +1 -1
  5. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts +9 -69
  6. package/dist/v2/blocks/operation-block/OperationBlock.vue.d.ts.map +1 -1
  7. package/dist/v2/blocks/operation-block/OperationBlock.vue.js +74 -76
  8. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts +15 -8
  9. package/dist/v2/blocks/operation-block/components/Header.vue.d.ts.map +1 -1
  10. package/dist/v2/blocks/operation-block/components/Header.vue.js +2 -2
  11. package/dist/v2/blocks/operation-block/components/Header.vue2.js +29 -28
  12. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.d.ts +1 -1
  13. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.d.ts.map +1 -1
  14. package/dist/v2/blocks/operation-code-sample/helpers/get-resolved-ref-deep.js +18 -21
  15. package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
  16. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +2 -2
  17. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +12 -0
  18. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
  19. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +12 -0
  20. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  21. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +1 -1
  22. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts +13 -8
  23. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.d.ts.map +1 -1
  24. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue.js +2 -2
  25. package/dist/v2/blocks/scalar-address-bar-block/components/AddressBar.vue2.js +97 -85
  26. package/dist/v2/components/server/ServerDropdown.vue.d.ts +16 -5
  27. package/dist/v2/components/server/ServerDropdown.vue.d.ts.map +1 -1
  28. package/dist/v2/components/server/ServerDropdown.vue.js +27 -24
  29. package/dist/v2/features/app/app-events.d.ts.map +1 -1
  30. package/dist/v2/features/app/app-events.js +29 -14
  31. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  32. package/dist/v2/features/app/app-state.js +57 -57
  33. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
  34. package/dist/v2/features/app/components/AppSidebar.vue.js +1 -1
  35. package/dist/v2/features/app/components/AppSidebar.vue2.js +171 -148
  36. package/dist/v2/features/app/helpers/routes.d.ts +42 -12
  37. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  38. package/dist/v2/features/app/helpers/routes.js +57 -26
  39. package/dist/v2/features/collection/OperationCollection.vue.d.ts +6 -0
  40. package/dist/v2/features/collection/OperationCollection.vue.d.ts.map +1 -0
  41. package/dist/v2/features/collection/OperationCollection.vue.js +83 -0
  42. package/dist/v2/features/collection/OperationCollection.vue2.js +4 -0
  43. package/dist/v2/features/collection/components/Authentication.vue.d.ts +2 -2
  44. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  45. package/dist/v2/features/collection/components/Authentication.vue.js +2 -2
  46. package/dist/v2/features/collection/components/Authentication.vue2.js +99 -49
  47. package/dist/v2/features/collection/components/Cookies.vue.d.ts +9 -4
  48. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -1
  49. package/dist/v2/features/collection/components/Cookies.vue.js +12 -10
  50. package/dist/v2/features/collection/components/Environment.vue.d.ts +9 -4
  51. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
  52. package/dist/v2/features/collection/components/Environment.vue.js +18 -16
  53. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +6 -2
  54. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -1
  55. package/dist/v2/features/collection/components/LabelInput.vue.js +2 -2
  56. package/dist/v2/features/collection/components/LabelInput.vue2.js +20 -18
  57. package/dist/v2/features/collection/components/Overview.vue.d.ts +2 -2
  58. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
  59. package/dist/v2/features/collection/components/Overview.vue.js +1 -1
  60. package/dist/v2/features/collection/components/Overview.vue2.js +177 -75
  61. package/dist/v2/features/collection/components/Servers.vue.d.ts +2 -2
  62. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
  63. package/dist/v2/features/collection/components/Servers.vue.js +154 -98
  64. package/dist/v2/features/collection/components/Settings.vue.d.ts +2 -2
  65. package/dist/v2/features/collection/components/Tabs.vue.d.ts +2 -1
  66. package/dist/v2/features/collection/components/Tabs.vue.d.ts.map +1 -1
  67. package/dist/v2/features/collection/components/Tabs.vue.js +25 -27
  68. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts +12 -0
  69. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.d.ts.map +1 -0
  70. package/dist/v2/features/collection/helpers/get-default-operation-security-toggle.js +13 -0
  71. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  72. package/dist/v2/features/operation/Operation.vue.js +61 -63
  73. package/dist/v2/features/operation/helpers/get-selected-security.d.ts +5 -3
  74. package/dist/v2/features/operation/helpers/get-selected-security.d.ts.map +1 -1
  75. package/dist/v2/features/operation/helpers/get-selected-security.js +7 -8
  76. package/dist/v2/features/operation/helpers/get-selected-server.d.ts +8 -6
  77. package/dist/v2/features/operation/helpers/get-selected-server.d.ts.map +1 -1
  78. package/dist/v2/features/operation/helpers/get-selected-server.js +2 -2
  79. package/dist/v2/workspace-events.d.ts.map +1 -1
  80. package/dist/v2/workspace-events.js +25 -15
  81. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  82. package/package.json +13 -13
package/CHANGELOG.md CHANGED
@@ -1,5 +1,82 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.31.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
8
+
9
+ ### Patch Changes
10
+
11
+ #### Updated Dependencies
12
+
13
+ - **@scalar/oas-utils@0.8.0**
14
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
15
+
16
+ - **@scalar/components@0.19.12**
17
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
18
+
19
+ - **@scalar/themes@0.14.2**
20
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
21
+
22
+ - **@scalar/workspace-store@0.35.1**
23
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
24
+
25
+ - **@scalar/sidebar@0.7.43**
26
+
27
+ - **@scalar/use-codemirror@0.13.47**
28
+
29
+ ## 2.30.0
30
+
31
+ ### Minor Changes
32
+
33
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
34
+
35
+ ### Patch Changes
36
+
37
+ - [#8255](https://github.com/scalar/scalar/pull/8255): fix: correctly handle circular references when deep resolving references
38
+
39
+ #### Updated Dependencies
40
+
41
+ - **@scalar/components@0.19.11**
42
+ - [#8276](https://github.com/scalar/scalar/pull/8276): feat(components): standardize form inputs to have a height of 40px
43
+
44
+ - **@scalar/themes@0.14.1**
45
+ - [#8276](https://github.com/scalar/scalar/pull/8276): feat(components): standardize form inputs to have a height of 40px
46
+
47
+ - **@scalar/workspace-store@0.35.0**
48
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
49
+
50
+ - **@scalar/oas-utils@0.7.0**
51
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
52
+
53
+ - **@scalar/sidebar@0.7.42**
54
+
55
+ - **@scalar/use-codemirror@0.13.46**
56
+
57
+ ## 2.29.4
58
+
59
+ ### Patch Changes
60
+
61
+ #### Updated Dependencies
62
+
63
+ - **@scalar/types@0.6.8**
64
+ - [#8274](https://github.com/scalar/scalar/pull/8274): feat(agent): add config to hide search api
65
+
66
+ - **@scalar/oas-utils@0.6.48**
67
+
68
+ - **@scalar/openapi-parser@0.24.15**
69
+
70
+ - **@scalar/snippetz@0.6.17**
71
+
72
+ - **@scalar/workspace-store@0.34.4**
73
+
74
+ - **@scalar/components@0.19.10**
75
+
76
+ - **@scalar/sidebar@0.7.41**
77
+
78
+ - **@scalar/use-codemirror@0.13.45**
79
+
3
80
  ## 2.29.3
4
81
 
5
82
  ### Patch Changes
@@ -54,6 +54,7 @@ export declare const useClientConfig: () => Ref<{
54
54
  agent?: {
55
55
  key?: string | undefined;
56
56
  disabled?: boolean | undefined;
57
+ hideAddApi?: boolean | undefined;
57
58
  } | undefined;
58
59
  }, {
59
60
  hideClientButton: boolean;
@@ -107,6 +108,7 @@ export declare const useClientConfig: () => Ref<{
107
108
  agent?: {
108
109
  key?: string | undefined;
109
110
  disabled?: boolean | undefined;
111
+ hideAddApi?: boolean | undefined;
110
112
  } | undefined;
111
113
  } | {
112
114
  hideClientButton: boolean;
@@ -160,6 +162,7 @@ export declare const useClientConfig: () => Ref<{
160
162
  agent?: {
161
163
  key?: string | undefined;
162
164
  disabled?: boolean | undefined;
165
+ hideAddApi?: boolean | undefined;
163
166
  } | undefined;
164
167
  }>;
165
168
  //# sourceMappingURL=useClientConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useClientConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useClientConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAgC,MAAM,6BAA6B,CAAA;AACvG,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,GAAG,EAAe,MAAM,KAAK,CAAA;AAE9D,eAAO,MAAM,2BAA2B,EAAe,YAAY,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAA;AAEhG,0DAA0D;AAC1D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyF,CAAA"}
1
+ {"version":3,"file":"useClientConfig.d.ts","sourceRoot":"","sources":["../../src/hooks/useClientConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAgC,MAAM,6BAA6B,CAAA;AACvG,OAAO,EAAE,KAAK,YAAY,EAAE,KAAK,GAAG,EAAe,MAAM,KAAK,CAAA;AAE9D,eAAO,MAAM,2BAA2B,EAAe,YAAY,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,CAAA;AAEhG,0DAA0D;AAC1D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyF,CAAA"}