@scalar/api-reference 1.22.35 → 1.22.37
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 +21 -0
- package/README.md +69 -2
- package/dist/browser/standalone.js +13 -13
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
- package/dist/helpers/createEmptySpecification.d.ts +3 -0
- package/dist/helpers/createEmptySpecification.d.ts.map +1 -0
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/parse.d.ts.map +1 -1
- package/dist/hooks/useHttpClients.d.ts +26 -3
- package/dist/hooks/useHttpClients.d.ts.map +1 -1
- package/dist/hooks/useReactiveSpec.d.ts +2 -2
- package/dist/hooks/useReactiveSpec.d.ts.map +1 -1
- package/dist/{index-CZKZ0PqH.cjs → index-BWEOsus0.cjs} +2 -2
- package/dist/{index-DsNRk9Wg.js → index-CIaJvRSU.js} +4 -4
- package/dist/{index-iSN8Sfb6.js → index-c-Dc2xX9.js} +5456 -5427
- package/dist/{index-DUTN4kbO.cjs → index-v8YpoGN6.cjs} +125 -125
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +34 -33
- package/dist/stores/useHttpClientStore.d.ts.map +1 -1
- package/dist/types.d.ts +10 -6
- package/dist/types.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAI7C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"ApiClientModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/ApiClientModal.vue.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAI7C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;AAkUpC,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ClientLibraries/ClientSelector.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ClientSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Content/ClientLibraries/ClientSelector.vue.ts"],"names":[],"mappings":";AAuYA,wBAKG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createEmptySpecification.d.ts","sourceRoot":"","sources":["../../src/helpers/createEmptySpecification.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAEpC,wBAAgB,wBAAwB,IAAI,IAAI,CAsB/C"}
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,aAAa,CAAA;AAC3B,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2BAA2B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,aAAa,CAAA;AAC3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,aAAa,CAAA;AAC3B,cAAc,yBAAyB,CAAA;AACvC,cAAc,oBAAoB,CAAA;AAClC,cAAc,aAAa,CAAA;AAC3B,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,2BAA2B,CAAA"}
|
|
@@ -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":"AAgBA,OAAO,KAAK,EAAE,IAAI,EAAO,MAAM,UAAU,CAAA;AAEzC,eAAO,MAAM,KAAK,kBAAmB,GAAG,KAAG,QAAQ,IAAI,CA0CtD,CAAA"}
|
|
@@ -1,6 +1,29 @@
|
|
|
1
|
+
import type { AvailableTarget } from 'httpsnippet-lite/dist/types/helpers/utils';
|
|
2
|
+
import { type Ref } from 'vue';
|
|
3
|
+
import type { HiddenClients } from '../types';
|
|
4
|
+
export declare function filterHiddenClients(targets: AvailableTarget[], exclude: Ref<HiddenClients>): AvailableTarget[];
|
|
1
5
|
export declare function useHttpClients(): {
|
|
2
|
-
availableTargets: import("vue").ComputedRef<
|
|
3
|
-
excludedClients: Readonly<
|
|
4
|
-
|
|
6
|
+
availableTargets: import("vue").ComputedRef<AvailableTarget[]>;
|
|
7
|
+
excludedClients: Readonly<Ref<readonly string[] | {
|
|
8
|
+
readonly c?: boolean | readonly string[] | undefined;
|
|
9
|
+
readonly clojure?: boolean | readonly string[] | undefined;
|
|
10
|
+
readonly csharp?: boolean | readonly string[] | undefined;
|
|
11
|
+
readonly go?: boolean | readonly string[] | undefined;
|
|
12
|
+
readonly http?: boolean | readonly string[] | undefined;
|
|
13
|
+
readonly java?: boolean | readonly string[] | undefined;
|
|
14
|
+
readonly javascript?: boolean | readonly string[] | undefined;
|
|
15
|
+
readonly kotlin?: boolean | readonly string[] | undefined;
|
|
16
|
+
readonly node?: boolean | readonly string[] | undefined;
|
|
17
|
+
readonly objc?: boolean | readonly string[] | undefined;
|
|
18
|
+
readonly ocaml?: boolean | readonly string[] | undefined;
|
|
19
|
+
readonly php?: boolean | readonly string[] | undefined;
|
|
20
|
+
readonly powershell?: boolean | readonly string[] | undefined;
|
|
21
|
+
readonly python?: boolean | readonly string[] | undefined;
|
|
22
|
+
readonly r?: boolean | readonly string[] | undefined;
|
|
23
|
+
readonly ruby?: boolean | readonly string[] | undefined;
|
|
24
|
+
readonly shell?: boolean | readonly string[] | undefined;
|
|
25
|
+
readonly swift?: boolean | readonly string[] | undefined;
|
|
26
|
+
}>>;
|
|
27
|
+
setExcludedClients: (v: HiddenClients) => HiddenClients;
|
|
5
28
|
};
|
|
6
29
|
//# sourceMappingURL=useHttpClients.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHttpClients.d.ts","sourceRoot":"","sources":["../../src/hooks/useHttpClients.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useHttpClients.d.ts","sourceRoot":"","sources":["../../src/hooks/useHttpClients.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAA;AAChF,OAAO,EAAE,KAAK,GAAG,EAA2B,MAAM,KAAK,CAAA;AAEvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAU7C,wBAAgB,mBAAmB,CACjC,OAAO,EAAE,eAAe,EAAE,EAC1B,OAAO,EAAE,GAAG,CAAC,aAAa,CAAC,GAC1B,eAAe,EAAE,CAuCnB;AAkBD,wBAAgB,cAAc;;;;;;;;;;;;;;;;;;;;;;4BAIF,aAAa;EAExC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type MaybeRefOrGetter } from 'vue';
|
|
2
|
-
import type {
|
|
3
|
-
export declare const emptySpecGenerator: () => Spec;
|
|
2
|
+
import type { SpecConfiguration } from '../types';
|
|
4
3
|
/**
|
|
5
4
|
* Keep the raw spec content in a ref and update it when the configuration changes.
|
|
6
5
|
*/
|
|
@@ -93,6 +92,7 @@ export declare function useReactiveSpec({ specConfig, proxy, }: {
|
|
|
93
92
|
examples?: (Map<string, any> & Omit<Map<string, any>, keyof Map<any, any>>) | undefined;
|
|
94
93
|
}[] | undefined;
|
|
95
94
|
}[];
|
|
95
|
+
'x-displayName'?: string | undefined;
|
|
96
96
|
}[] | undefined;
|
|
97
97
|
info: {
|
|
98
98
|
title?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useReactiveSpec.d.ts","sourceRoot":"","sources":["../../src/hooks/useReactiveSpec.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,gBAAgB,EAAiC,MAAM,KAAK,CAAA;AAI1E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useReactiveSpec.d.ts","sourceRoot":"","sources":["../../src/hooks/useReactiveSpec.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,gBAAgB,EAAiC,MAAM,KAAK,CAAA;AAI1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAgCjD;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsDA"}
|