@scalar/api-client 0.12.17 → 1.0.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.
- package/CHANGELOG.md +22 -0
- package/dist/components/ApiClient/Response/ResponseBody.vue.d.ts.map +1 -1
- package/dist/fixtures/httpRequestMethods.d.ts +1 -2
- package/dist/fixtures/httpRequestMethods.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +0 -1
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/prepareClientRequestConfig.d.ts.map +1 -1
- package/dist/index.js +1820 -23
- package/package.json +8 -6
- package/dist/helpers/isJsonString.d.ts +0 -5
- package/dist/helpers/isJsonString.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 7fb8273: Migrate to @scalar/openapi-parser
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 6036d25: fix: allow application/vnd.api+json return type
|
|
12
|
+
- Updated dependencies [7fb8273]
|
|
13
|
+
- @scalar/use-codemirror@0.9.0
|
|
14
|
+
- @scalar/oas-utils@0.1.0
|
|
15
|
+
|
|
16
|
+
## 0.12.18
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- cecf074: Migrate to oas utils for basic spec operations
|
|
21
|
+
- Updated dependencies [cecf074]
|
|
22
|
+
- @scalar/use-codemirror@0.8.10
|
|
23
|
+
- @scalar/oas-utils@0.0.4
|
|
24
|
+
|
|
3
25
|
## 0.12.17
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResponseBody.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ApiClient/Response/ResponseBody.vue.ts"],"names":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
export declare const validRequestMethods: readonly ["GET", "POST", "PUT", "HEAD", "DELETE", "PATCH", "OPTIONS", "CONNECT", "TRACE"];
|
|
2
|
-
type RequestMethod = typeof validRequestMethods[number];
|
|
2
|
+
export type RequestMethod = typeof validRequestMethods[number];
|
|
3
3
|
export declare function isRequestMethod(s: string): s is RequestMethod;
|
|
4
4
|
export declare const requestMethodColors: {
|
|
5
5
|
[x in RequestMethod]: string;
|
|
@@ -7,5 +7,4 @@ export declare const requestMethodColors: {
|
|
|
7
7
|
export declare const requestMethodAbbreviations: {
|
|
8
8
|
[x in RequestMethod]: string;
|
|
9
9
|
};
|
|
10
|
-
export {};
|
|
11
10
|
//# sourceMappingURL=httpRequestMethods.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"httpRequestMethods.d.ts","sourceRoot":"","sources":["../../src/fixtures/httpRequestMethods.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,2FAUtB,CAAA;AAEV,
|
|
1
|
+
{"version":3,"file":"httpRequestMethods.d.ts","sourceRoot":"","sources":["../../src/fixtures/httpRequestMethods.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,2FAUtB,CAAA;AAEV,MAAM,MAAM,aAAa,GAAG,OAAO,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAE/D,wBAAgB,eAAe,CAAC,CAAC,EAAE,MAAM,GAAG,CAAC,IAAI,aAAa,CAE7D;AAED,eAAO,MAAM,mBAAmB,EAAE;KAAG,CAAC,IAAI,aAAa,GAAG,MAAM;CAU/D,CAAA;AAED,eAAO,MAAM,0BAA0B,EAAE;KAAG,CAAC,IAAI,aAAa,GAAG,MAAM;CAUtE,CAAA"}
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from './concatenateUrlAndPath';
|
|
|
2
2
|
export * from './createPlaceholderRequest';
|
|
3
3
|
export * from './findVariables';
|
|
4
4
|
export * from './humanDiff';
|
|
5
|
-
export * from './isJsonString';
|
|
6
5
|
export * from './mapFromArray';
|
|
7
6
|
export * from './normalizePath';
|
|
8
7
|
export * from './normalizeRequestMethod';
|
|
@@ -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,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,
|
|
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,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prepareClientRequestConfig.d.ts","sourceRoot":"","sources":["../../src/helpers/prepareClientRequestConfig.ts"],"names":[],"mappings":"
|
|
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"}
|