@scalar/api-client 1.1.9 → 1.1.11

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 (61) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/clientBus.d.ts +2 -0
  3. package/dist/clientBus.d.ts.map +1 -0
  4. package/dist/components/ApiClient/AddressBar.vue.d.ts.map +1 -1
  5. package/dist/components/ApiClient/Request/Request.vue.d.ts.map +1 -1
  6. package/dist/components/ApiClient/Request/RequestAuthentication/CardForm.vue.d.ts +10 -0
  7. package/dist/components/ApiClient/Request/RequestAuthentication/CardForm.vue.d.ts.map +1 -0
  8. package/dist/components/ApiClient/Request/RequestAuthentication/CardFormButton.vue.d.ts +12 -0
  9. package/dist/components/ApiClient/Request/RequestAuthentication/CardFormButton.vue.d.ts.map +1 -0
  10. package/dist/components/ApiClient/Request/RequestAuthentication/CardFormGroup.vue.d.ts +10 -0
  11. package/dist/components/ApiClient/Request/RequestAuthentication/CardFormGroup.vue.d.ts.map +1 -0
  12. package/dist/components/ApiClient/Request/RequestAuthentication/CardFormTextInput.vue.d.ts +25 -0
  13. package/dist/components/ApiClient/Request/RequestAuthentication/CardFormTextInput.vue.d.ts.map +1 -0
  14. package/dist/components/ApiClient/Request/{RequestAuth.vue.d.ts → RequestAuthentication/RequestAuthentication.vue.d.ts} +1 -1
  15. package/dist/components/ApiClient/Request/RequestAuthentication/RequestAuthentication.vue.d.ts.map +1 -0
  16. package/dist/components/ApiClient/Request/RequestAuthentication/SecurityScheme.vue.d.ts +17 -0
  17. package/dist/components/ApiClient/Request/RequestAuthentication/SecurityScheme.vue.d.ts.map +1 -0
  18. package/dist/components/ApiClient/Request/RequestAuthentication/SecuritySchemeScopes.vue.d.ts +26 -0
  19. package/dist/components/ApiClient/Request/RequestAuthentication/SecuritySchemeScopes.vue.d.ts.map +1 -0
  20. package/dist/components/ApiClient/Request/RequestAuthentication/SecuritySchemeSelector.vue.d.ts +25 -0
  21. package/dist/components/ApiClient/Request/RequestAuthentication/SecuritySchemeSelector.vue.d.ts.map +1 -0
  22. package/dist/components/ApiClient/Request/RequestAuthentication/index.d.ts +4 -0
  23. package/dist/components/ApiClient/Request/RequestAuthentication/index.d.ts.map +1 -0
  24. package/dist/components/ApiClient/Request/RequestCookies.vue.d.ts +3 -0
  25. package/dist/components/ApiClient/Request/RequestCookies.vue.d.ts.map +1 -1
  26. package/dist/components/ApiClient/Request/RequestHeaders.vue.d.ts +6 -2
  27. package/dist/components/ApiClient/Request/RequestHeaders.vue.d.ts.map +1 -1
  28. package/dist/components/ApiClient/Request/RequestQuery.vue.d.ts +3 -0
  29. package/dist/components/ApiClient/Request/RequestQuery.vue.d.ts.map +1 -1
  30. package/dist/components/Badge/Badge.vue.d.ts +10 -0
  31. package/dist/components/Badge/Badge.vue.d.ts.map +1 -0
  32. package/dist/components/Badge/index.d.ts +2 -0
  33. package/dist/components/Badge/index.d.ts.map +1 -0
  34. package/dist/components/Grid/Grid.vue.d.ts +6 -2
  35. package/dist/components/Grid/Grid.vue.d.ts.map +1 -1
  36. package/dist/helpers/getRequestFromAuthentication.d.ts +10 -0
  37. package/dist/helpers/getRequestFromAuthentication.d.ts.map +1 -0
  38. package/dist/helpers/index.d.ts +1 -0
  39. package/dist/helpers/index.d.ts.map +1 -1
  40. package/dist/helpers/prepareClientRequestConfig.d.ts +8 -3
  41. package/dist/helpers/prepareClientRequestConfig.d.ts.map +1 -1
  42. package/dist/index.css +302 -32
  43. package/dist/index.d.ts +1 -0
  44. package/dist/index.d.ts.map +1 -1
  45. package/dist/index.js +26505 -26042
  46. package/dist/stores/index.d.ts +4 -2
  47. package/dist/stores/index.d.ts.map +1 -1
  48. package/dist/stores/{apiClientStore.d.ts → useApiClientStore.d.ts} +1 -1
  49. package/dist/stores/useApiClientStore.d.ts.map +1 -0
  50. package/dist/stores/useAuthenticationStore.d.ts +30 -0
  51. package/dist/stores/useAuthenticationStore.d.ts.map +1 -0
  52. package/dist/stores/useOpenApiStore.d.ts +131 -0
  53. package/dist/stores/useOpenApiStore.d.ts.map +1 -0
  54. package/dist/stores/{requestStore.d.ts → useRequestStore.d.ts} +2 -30
  55. package/dist/stores/useRequestStore.d.ts.map +1 -0
  56. package/dist/types.d.ts +5 -33
  57. package/dist/types.d.ts.map +1 -1
  58. package/package.json +7 -4
  59. package/dist/components/ApiClient/Request/RequestAuth.vue.d.ts.map +0 -1
  60. package/dist/stores/apiClientStore.d.ts.map +0 -1
  61. package/dist/stores/requestStore.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 1.1.11
4
+
5
+ ### Patch Changes
6
+
7
+ - 8b0691b: feat: added future support for SSR server state hydration
8
+ - Updated dependencies [8b0691b]
9
+ - @scalar/oas-utils@0.1.2
10
+
11
+ ## 1.1.10
12
+
13
+ ### Patch Changes
14
+
15
+ - 999dfc9: feat: add authentication UI to the API client
16
+
3
17
  ## 1.1.9
4
18
 
5
19
  ### Patch Changes
@@ -0,0 +1,2 @@
1
+ export declare const clickGeneratedParameter: import("@vueuse/core").UseEventBusReturn<unknown, any>;
2
+ //# sourceMappingURL=clientBus.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clientBus.d.ts","sourceRoot":"","sources":["../src/clientBus.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,uBAAuB,wDAAwB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/AddressBar.vue.ts"],"names":[],"mappings":";;;;;;;;;AAycA,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"AddressBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ApiClient/AddressBar.vue.ts"],"names":[],"mappings":";;;;;;;;;AAucA,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/Request.vue.ts"],"names":[],"mappings":";AAmNA,wBAKG"}
1
+ {"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/Request.vue.ts"],"names":[],"mappings":";AAsOA,wBAKG"}
@@ -0,0 +1,10 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
10
+ //# sourceMappingURL=CardForm.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardForm.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ApiClient/Request/RequestAuthentication/CardForm.vue.ts"],"names":[],"mappings":";;;AAgEA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {
2
+ el: import("vue").Ref<HTMLButtonElement | undefined>;
3
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
4
+ default?(_: {}): any;
5
+ }>;
6
+ export default _default;
7
+ type __VLS_WithTemplateSlots<T, S> = T & {
8
+ new (): {
9
+ $slots: S;
10
+ };
11
+ };
12
+ //# sourceMappingURL=CardFormButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardFormButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ApiClient/Request/RequestAuthentication/CardFormButton.vue.ts"],"names":[],"mappings":";;;;;AA2EA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
10
+ //# sourceMappingURL=CardFormGroup.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardFormGroup.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ApiClient/Request/RequestAuthentication/CardFormGroup.vue.ts"],"names":[],"mappings":";;;AAgEA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,25 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ id: string;
3
+ type?: string | undefined;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ id: string;
6
+ type?: string | undefined;
7
+ }>>>, {}, {}>, {
8
+ default?(_: {}): any;
9
+ }>;
10
+ export default _default;
11
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
+ type __VLS_TypePropsToRuntimeProps<T> = {
13
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
14
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
+ } : {
16
+ type: import('vue').PropType<T[K]>;
17
+ required: true;
18
+ };
19
+ };
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
25
+ //# sourceMappingURL=CardFormTextInput.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardFormTextInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ApiClient/Request/RequestAuthentication/CardFormTextInput.vue.ts"],"names":[],"mappings":";;;;;;;;;AAwGA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,3 +1,3 @@
1
1
  declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
3
- //# sourceMappingURL=RequestAuth.vue.d.ts.map
3
+ //# sourceMappingURL=RequestAuthentication.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequestAuthentication.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ApiClient/Request/RequestAuthentication/RequestAuthentication.vue.ts"],"names":[],"mappings":";AA6JA,wBAKG"}
@@ -0,0 +1,17 @@
1
+ import type { OpenAPIV3 } from '@scalar/openapi-parser';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ value?: OpenAPIV3.SecuritySchemeObject | undefined;
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
+ value?: OpenAPIV3.SecuritySchemeObject | undefined;
6
+ }>>>, {}, {}>;
7
+ export default _default;
8
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
+ type __VLS_TypePropsToRuntimeProps<T> = {
10
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
11
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
+ } : {
13
+ type: import('vue').PropType<T[K]>;
14
+ required: true;
15
+ };
16
+ };
17
+ //# sourceMappingURL=SecurityScheme.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SecurityScheme.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ApiClient/Request/RequestAuthentication/SecurityScheme.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAe,MAAM,wBAAwB,CAAA;;;;;;AAsZpE,wBAQG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,26 @@
1
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ scopes: {
3
+ [scope: string]: string;
4
+ };
5
+ selected: string[];
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ "update:selected": (v: string[]) => void;
8
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ scopes: {
10
+ [scope: string]: string;
11
+ };
12
+ selected: string[];
13
+ }>>> & {
14
+ "onUpdate:selected"?: ((v: string[]) => any) | undefined;
15
+ }, {}, {}>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
26
+ //# sourceMappingURL=SecuritySchemeScopes.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SecuritySchemeScopes.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ApiClient/Request/RequestAuthentication/SecuritySchemeScopes.vue.ts"],"names":[],"mappings":";;;;cAqUY,MAAM,EAAE;;;;;;;cAAR,MAAM,EAAE;;;;AAPpB,wBAUG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,25 @@
1
+ import type { OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-parser';
2
+ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
+ value?: Record<string, OpenAPIV3_1.ReferenceObject | OpenAPIV3.SecuritySchemeObject> | {
4
+ [key: string]: OpenAPIV3.ReferenceObject | OpenAPIV3.SecuritySchemeObject;
5
+ } | undefined;
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
+ input: (key: string) => void;
8
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
+ value?: Record<string, OpenAPIV3_1.ReferenceObject | OpenAPIV3.SecuritySchemeObject> | {
10
+ [key: string]: OpenAPIV3.ReferenceObject | OpenAPIV3.SecuritySchemeObject;
11
+ } | undefined;
12
+ }>>> & {
13
+ onInput?: ((key: string) => any) | undefined;
14
+ }, {}, {}>;
15
+ export default _default;
16
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ type __VLS_TypePropsToRuntimeProps<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ //# sourceMappingURL=SecuritySchemeSelector.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SecuritySchemeSelector.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/ApiClient/Request/RequestAuthentication/SecuritySchemeSelector.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;;;;;;;;;;;;;;AA4OpE,wBAmBG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { default as RequestAuthentication } from './RequestAuthentication.vue';
2
+ export { default as SecurityScheme } from './SecurityScheme.vue';
3
+ export { default as SecuritySchemeSelector } from './SecuritySchemeSelector.vue';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ApiClient/Request/RequestAuthentication/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AAC9E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAChE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,8BAA8B,CAAA"}
@@ -1,7 +1,10 @@
1
+ import type { GeneratedParameter } from '../../../types';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
3
  cookies?: any[] | undefined;
4
+ generatedCookies?: GeneratedParameter[] | undefined;
3
5
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
6
  cookies?: any[] | undefined;
7
+ generatedCookies?: GeneratedParameter[] | undefined;
5
8
  }>>>, {}, {}>;
6
9
  export default _default;
7
10
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestCookies.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/RequestCookies.vue.ts"],"names":[],"mappings":";;;;;AA6IA,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"RequestCookies.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/RequestCookies.vue.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;AAqJxD,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -1,7 +1,11 @@
1
+ import type { BaseParameter } from '@scalar/oas-utils';
2
+ import type { GeneratedParameter } from '../../../types';
1
3
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- headers?: any[] | undefined;
4
+ headers?: BaseParameter[] | undefined;
5
+ generatedHeaders?: GeneratedParameter[] | undefined;
3
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- headers?: any[] | undefined;
7
+ headers?: BaseParameter[] | undefined;
8
+ generatedHeaders?: GeneratedParameter[] | undefined;
5
9
  }>>>, {}, {}>;
6
10
  export default _default;
7
11
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestHeaders.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/RequestHeaders.vue.ts"],"names":[],"mappings":";;;;;AA6IA,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"RequestHeaders.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/RequestHeaders.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAItD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;;;;;;;;AAqJxD,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -1,7 +1,10 @@
1
+ import type { GeneratedParameter } from '../../../types';
1
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
3
  queries?: import("@scalar/oas-utils/dist/types").BaseParameter[] | undefined;
4
+ generatedQueries?: GeneratedParameter[] | undefined;
3
5
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
6
  queries?: import("@scalar/oas-utils/dist/types").BaseParameter[] | undefined;
7
+ generatedQueries?: GeneratedParameter[] | undefined;
5
8
  }>>>, {}, {}>;
6
9
  export default _default;
7
10
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestQuery.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/RequestQuery.vue.ts"],"names":[],"mappings":";;;;;AA8IA,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"RequestQuery.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Request/RequestQuery.vue.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAS,MAAM,gBAAgB,CAAA;;;;;;;;AAqJ/D,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
+ default?(_: {}): any;
3
+ }>;
4
+ export default _default;
5
+ type __VLS_WithTemplateSlots<T, S> = T & {
6
+ new (): {
7
+ $slots: S;
8
+ };
9
+ };
10
+ //# sourceMappingURL=Badge.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Badge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.vue.ts"],"names":[],"mappings":";;;AA6DA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { default as Badge } from './Badge.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,aAAa,CAAA"}
@@ -1,12 +1,16 @@
1
+ import type { BaseParameter } from '@scalar/oas-utils';
2
+ import type { GeneratedParameter } from '../../types';
1
3
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- items: any[];
4
+ items?: BaseParameter[] | undefined;
5
+ generatedItems?: GeneratedParameter[] | undefined;
3
6
  addLabel?: string | undefined;
4
7
  showMoreFilter?: boolean | undefined;
5
8
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
9
  deleteIndex: (value: number) => void;
7
10
  addAnother: () => void;
8
11
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
- items: any[];
12
+ items?: BaseParameter[] | undefined;
13
+ generatedItems?: GeneratedParameter[] | undefined;
10
14
  addLabel?: string | undefined;
11
15
  showMoreFilter?: boolean | undefined;
12
16
  }>>> & {
@@ -1 +1 @@
1
- {"version":3,"file":"Grid.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.vue.ts"],"names":[],"mappings":";WAgaS,GAAG,EAAE;;;;;;;WAAL,GAAG,EAAE;;;;;;;AANd,wBAWG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"Grid.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAItD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;;;;;;;;;;;;;;;;;;AA6erD,wBAYG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { AuthenticationState } from '@scalar/oas-utils';
2
+ import type { OpenAPIV3, OpenAPIV3_1 } from '@scalar/openapi-parser';
3
+ import type { HarRequest } from 'httpsnippet-lite';
4
+ /**
5
+ * Get the request object from the authentication state.
6
+ */
7
+ export declare function getRequestFromAuthentication(authentication: AuthenticationState, operationSecurity?: (OpenAPIV3.SecurityRequirementObject | OpenAPIV3_1.SecurityRequirementObject)[]): Partial<HarRequest>;
8
+ export declare function getBase64Token(username: string, password: string): string;
9
+ export declare function getSecretCredentialsFromAuthentication(authentication: AuthenticationState): string[];
10
+ //# sourceMappingURL=getRequestFromAuthentication.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRequestFromAuthentication.d.ts","sourceRoot":"","sources":["../../src/helpers/getRequestFromAuthentication.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAgClD;;GAEG;AACH,wBAAgB,4BAA4B,CAC1C,cAAc,EAAE,mBAAmB,EACnC,iBAAiB,CAAC,EAAE,CAChB,SAAS,CAAC,yBAAyB,GACnC,WAAW,CAAC,yBAAyB,CACxC,EAAE,GACF,OAAO,CAAC,UAAU,CAAC,CA2HrB;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,UAIhE;AAED,wBAAgB,sCAAsC,CACpD,cAAc,EAAE,mBAAmB,YAcpC"}
@@ -2,6 +2,7 @@ export * from './concatenateUrlAndPath';
2
2
  export * from './createPlaceholderRequest';
3
3
  export * from './encodeStringAsBase64';
4
4
  export * from './findVariables';
5
+ export * from './getRequestFromAuthentication';
5
6
  export * from './humanDiff';
6
7
  export * from './mapFromArray';
7
8
  export * from './normalizePath';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,8BAA8B,CAAA;AAC5C,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA;AACtC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,gCAAgC,CAAA;AAC9C,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,8BAA8B,CAAA;AAC5C,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA"}
@@ -1,18 +1,23 @@
1
- import type { AuthState, ClientRequestConfig } from '../types';
1
+ import type { ClientRequestConfig } from '../types';
2
2
  /**
3
3
  * Before a request is sent to the server, we’ll do some final preparation.
4
4
  *
5
- * - Add authentication headers
6
5
  * - Add Content-Type header if request.body is JSON
7
6
  * - Parse request.body if it’s JSON
8
7
  * - Remove duplicate headers
9
8
  */
10
9
  export declare const prepareClientRequestConfig: (configuration: {
11
10
  request: ClientRequestConfig;
12
- authState: AuthState;
13
11
  }) => {
14
12
  id?: string | undefined;
15
13
  name?: string | undefined;
14
+ /**
15
+ * Before a request is sent to the server, we’ll do some final preparation.
16
+ *
17
+ * - Add Content-Type header if request.body is JSON
18
+ * - Parse request.body if it’s JSON
19
+ * - Remove duplicate headers
20
+ */
16
21
  url: string;
17
22
  type: string;
18
23
  path: string;
@@ -1 +1 @@
1
- {"version":3,"file":"prepareClientRequestConfig.d.ts","sourceRoot":"","sources":["../../src/helpers/prepareClientRequestConfig.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAE9D;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,kBAAmB;IACxD,OAAO,EAAE,mBAAmB,CAAA;IAC5B,SAAS,EAAE,SAAS,CAAA;CACrB;;;;;;;;;;;;CAkDA,CAAA"}
1
+ {"version":3,"file":"prepareClientRequestConfig.d.ts","sourceRoot":"","sources":["../../src/helpers/prepareClientRequestConfig.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAUnD;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,kBAAmB;IACxD,OAAO,EAAE,mBAAmB,CAAA;CAC7B;;;IATD;;;;;;OAMG;;;;;;;;;;CA0DF,CAAA"}