@openshift-migration-advisor/planner-sdk 0.13.6 → 0.13.7
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/README.md +2 -2
- package/dist/esm/runtime.js +2 -1
- package/dist/runtime.js +2 -1
- package/package.json +1 -1
- package/src/runtime.ts +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/planner-sdk@0.13.
|
|
1
|
+
# @openshift-migration-advisor/planner-sdk@0.13.7
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -187,7 +187,7 @@ and is automatically generated by the
|
|
|
187
187
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
188
188
|
|
|
189
189
|
- API version: `v1alpha1`
|
|
190
|
-
- Package version: `0.13.
|
|
190
|
+
- Package version: `0.13.7`
|
|
191
191
|
- Generator version: `7.24.0-SNAPSHOT`
|
|
192
192
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
193
193
|
|
package/dist/esm/runtime.js
CHANGED
|
@@ -297,8 +297,9 @@ export function mapValues(data, fn) {
|
|
|
297
297
|
return result;
|
|
298
298
|
}
|
|
299
299
|
export function canConsumeForm(consumes) {
|
|
300
|
+
var _a;
|
|
300
301
|
for (const consume of consumes) {
|
|
301
|
-
if ('multipart/form-data'
|
|
302
|
+
if (((_a = consume.contentType) === null || _a === void 0 ? void 0 : _a.startsWith('multipart/form-data')) == true) {
|
|
302
303
|
return true;
|
|
303
304
|
}
|
|
304
305
|
}
|
package/dist/runtime.js
CHANGED
|
@@ -309,8 +309,9 @@ function mapValues(data, fn) {
|
|
|
309
309
|
return result;
|
|
310
310
|
}
|
|
311
311
|
function canConsumeForm(consumes) {
|
|
312
|
+
var _a;
|
|
312
313
|
for (const consume of consumes) {
|
|
313
|
-
if ('multipart/form-data'
|
|
314
|
+
if (((_a = consume.contentType) === null || _a === void 0 ? void 0 : _a.startsWith('multipart/form-data')) == true) {
|
|
314
315
|
return true;
|
|
315
316
|
}
|
|
316
317
|
}
|
package/package.json
CHANGED
package/src/runtime.ts
CHANGED
|
@@ -369,7 +369,7 @@ export function mapValues(data: any, fn: (item: any) => any) {
|
|
|
369
369
|
|
|
370
370
|
export function canConsumeForm(consumes: Consume[]): boolean {
|
|
371
371
|
for (const consume of consumes) {
|
|
372
|
-
if ('multipart/form-data'
|
|
372
|
+
if (consume.contentType?.startsWith('multipart/form-data') == true) {
|
|
373
373
|
return true;
|
|
374
374
|
}
|
|
375
375
|
}
|