@openshift-migration-advisor/planner-sdk 0.16.0-13a0f6e7cd6f → 0.17.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/README.md +2 -2
- package/dist/esm/models/OsInfo.d.ts +0 -16
- package/dist/esm/models/OsInfo.js +0 -11
- package/dist/models/OsInfo.d.ts +0 -16
- package/dist/models/OsInfo.js +0 -12
- package/docs/OsInfo.md +0 -2
- package/package.json +1 -1
- package/src/models/OsInfo.ts +0 -21
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @openshift-migration-advisor/planner-sdk@0.
|
|
1
|
+
# @openshift-migration-advisor/planner-sdk@0.17.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the raw.githubusercontent.com API.
|
|
4
4
|
|
|
@@ -190,7 +190,7 @@ and is automatically generated by the
|
|
|
190
190
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
191
191
|
|
|
192
192
|
- API version: `v1alpha1`
|
|
193
|
-
- Package version: `0.
|
|
193
|
+
- Package version: `0.17.0`
|
|
194
194
|
- Generator version: `7.24.0-SNAPSHOT`
|
|
195
195
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
196
196
|
|
|
@@ -27,12 +27,6 @@ export interface OsInfo {
|
|
|
27
27
|
* @memberof OsInfo
|
|
28
28
|
*/
|
|
29
29
|
supported: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* OS support tier per Red Hat KCS article 4234591
|
|
32
|
-
* @type {OsInfoSupportTierEnum}
|
|
33
|
-
* @memberof OsInfo
|
|
34
|
-
*/
|
|
35
|
-
supportTier?: OsInfoSupportTierEnum;
|
|
36
30
|
/**
|
|
37
31
|
* Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
|
|
38
32
|
* @type {string}
|
|
@@ -40,16 +34,6 @@ export interface OsInfo {
|
|
|
40
34
|
*/
|
|
41
35
|
upgradeRecommendation?: string;
|
|
42
36
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const OsInfoSupportTierEnum: {
|
|
47
|
-
readonly Certified: "certified";
|
|
48
|
-
readonly VendorSupported: "vendor_supported";
|
|
49
|
-
readonly CommunitySupported: "community_supported";
|
|
50
|
-
readonly SpecialHandling: "special_handling";
|
|
51
|
-
};
|
|
52
|
-
export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
|
|
53
37
|
/**
|
|
54
38
|
* Check if a given object implements the OsInfo interface.
|
|
55
39
|
*/
|
|
@@ -11,15 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
/**
|
|
15
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const OsInfoSupportTierEnum = {
|
|
18
|
-
Certified: 'certified',
|
|
19
|
-
VendorSupported: 'vendor_supported',
|
|
20
|
-
CommunitySupported: 'community_supported',
|
|
21
|
-
SpecialHandling: 'special_handling'
|
|
22
|
-
};
|
|
23
14
|
/**
|
|
24
15
|
* Check if a given object implements the OsInfo interface.
|
|
25
16
|
*/
|
|
@@ -40,7 +31,6 @@ export function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
31
|
return {
|
|
41
32
|
'count': json['count'],
|
|
42
33
|
'supported': json['supported'],
|
|
43
|
-
'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
|
|
44
34
|
'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
|
|
45
35
|
};
|
|
46
36
|
}
|
|
@@ -54,7 +44,6 @@ export function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
54
44
|
return {
|
|
55
45
|
'count': value['count'],
|
|
56
46
|
'supported': value['supported'],
|
|
57
|
-
'supportTier': value['supportTier'],
|
|
58
47
|
'upgradeRecommendation': value['upgradeRecommendation'],
|
|
59
48
|
};
|
|
60
49
|
}
|
package/dist/models/OsInfo.d.ts
CHANGED
|
@@ -27,12 +27,6 @@ export interface OsInfo {
|
|
|
27
27
|
* @memberof OsInfo
|
|
28
28
|
*/
|
|
29
29
|
supported: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* OS support tier per Red Hat KCS article 4234591
|
|
32
|
-
* @type {OsInfoSupportTierEnum}
|
|
33
|
-
* @memberof OsInfo
|
|
34
|
-
*/
|
|
35
|
-
supportTier?: OsInfoSupportTierEnum;
|
|
36
30
|
/**
|
|
37
31
|
* Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
|
|
38
32
|
* @type {string}
|
|
@@ -40,16 +34,6 @@ export interface OsInfo {
|
|
|
40
34
|
*/
|
|
41
35
|
upgradeRecommendation?: string;
|
|
42
36
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const OsInfoSupportTierEnum: {
|
|
47
|
-
readonly Certified: "certified";
|
|
48
|
-
readonly VendorSupported: "vendor_supported";
|
|
49
|
-
readonly CommunitySupported: "community_supported";
|
|
50
|
-
readonly SpecialHandling: "special_handling";
|
|
51
|
-
};
|
|
52
|
-
export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
|
|
53
37
|
/**
|
|
54
38
|
* Check if a given object implements the OsInfo interface.
|
|
55
39
|
*/
|
package/dist/models/OsInfo.js
CHANGED
|
@@ -13,21 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OsInfoSupportTierEnum = void 0;
|
|
17
16
|
exports.instanceOfOsInfo = instanceOfOsInfo;
|
|
18
17
|
exports.OsInfoFromJSON = OsInfoFromJSON;
|
|
19
18
|
exports.OsInfoFromJSONTyped = OsInfoFromJSONTyped;
|
|
20
19
|
exports.OsInfoToJSON = OsInfoToJSON;
|
|
21
20
|
exports.OsInfoToJSONTyped = OsInfoToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.OsInfoSupportTierEnum = {
|
|
26
|
-
Certified: 'certified',
|
|
27
|
-
VendorSupported: 'vendor_supported',
|
|
28
|
-
CommunitySupported: 'community_supported',
|
|
29
|
-
SpecialHandling: 'special_handling'
|
|
30
|
-
};
|
|
31
21
|
/**
|
|
32
22
|
* Check if a given object implements the OsInfo interface.
|
|
33
23
|
*/
|
|
@@ -48,7 +38,6 @@ function OsInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
38
|
return {
|
|
49
39
|
'count': json['count'],
|
|
50
40
|
'supported': json['supported'],
|
|
51
|
-
'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
|
|
52
41
|
'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
|
|
53
42
|
};
|
|
54
43
|
}
|
|
@@ -62,7 +51,6 @@ function OsInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
62
51
|
return {
|
|
63
52
|
'count': value['count'],
|
|
64
53
|
'supported': value['supported'],
|
|
65
|
-
'supportTier': value['supportTier'],
|
|
66
54
|
'upgradeRecommendation': value['upgradeRecommendation'],
|
|
67
55
|
};
|
|
68
56
|
}
|
package/docs/OsInfo.md
CHANGED
|
@@ -8,7 +8,6 @@ Name | Type
|
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`count` | number
|
|
10
10
|
`supported` | boolean
|
|
11
|
-
`supportTier` | string
|
|
12
11
|
`upgradeRecommendation` | string
|
|
13
12
|
|
|
14
13
|
## Example
|
|
@@ -20,7 +19,6 @@ import type { OsInfo } from '@openshift-migration-advisor/planner-sdk'
|
|
|
20
19
|
const example = {
|
|
21
20
|
"count": null,
|
|
22
21
|
"supported": null,
|
|
23
|
-
"supportTier": null,
|
|
24
22
|
"upgradeRecommendation": null,
|
|
25
23
|
} satisfies OsInfo
|
|
26
24
|
|
package/package.json
CHANGED
package/src/models/OsInfo.ts
CHANGED
|
@@ -31,12 +31,6 @@ export interface OsInfo {
|
|
|
31
31
|
* @memberof OsInfo
|
|
32
32
|
*/
|
|
33
33
|
supported: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* OS support tier per Red Hat KCS article 4234591
|
|
36
|
-
* @type {OsInfoSupportTierEnum}
|
|
37
|
-
* @memberof OsInfo
|
|
38
|
-
*/
|
|
39
|
-
supportTier?: OsInfoSupportTierEnum;
|
|
40
34
|
/**
|
|
41
35
|
* Recommended OS upgrade for MTV unsupported OS that can be upgraded to a supported OS
|
|
42
36
|
* @type {string}
|
|
@@ -45,19 +39,6 @@ export interface OsInfo {
|
|
|
45
39
|
upgradeRecommendation?: string;
|
|
46
40
|
}
|
|
47
41
|
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* @export
|
|
51
|
-
*/
|
|
52
|
-
export const OsInfoSupportTierEnum = {
|
|
53
|
-
Certified: 'certified',
|
|
54
|
-
VendorSupported: 'vendor_supported',
|
|
55
|
-
CommunitySupported: 'community_supported',
|
|
56
|
-
SpecialHandling: 'special_handling'
|
|
57
|
-
} as const;
|
|
58
|
-
export type OsInfoSupportTierEnum = typeof OsInfoSupportTierEnum[keyof typeof OsInfoSupportTierEnum];
|
|
59
|
-
|
|
60
|
-
|
|
61
42
|
/**
|
|
62
43
|
* Check if a given object implements the OsInfo interface.
|
|
63
44
|
*/
|
|
@@ -79,7 +60,6 @@ export function OsInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): Os
|
|
|
79
60
|
|
|
80
61
|
'count': json['count'],
|
|
81
62
|
'supported': json['supported'],
|
|
82
|
-
'supportTier': json['supportTier'] == null ? undefined : json['supportTier'],
|
|
83
63
|
'upgradeRecommendation': json['upgradeRecommendation'] == null ? undefined : json['upgradeRecommendation'],
|
|
84
64
|
};
|
|
85
65
|
}
|
|
@@ -97,7 +77,6 @@ export function OsInfoToJSONTyped(value?: OsInfo | null, ignoreDiscriminator: bo
|
|
|
97
77
|
|
|
98
78
|
'count': value['count'],
|
|
99
79
|
'supported': value['supported'],
|
|
100
|
-
'supportTier': value['supportTier'],
|
|
101
80
|
'upgradeRecommendation': value['upgradeRecommendation'],
|
|
102
81
|
};
|
|
103
82
|
}
|