@sonatype/nexus-repo-api-client 3.81.33 → 3.81.34
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/dist/esm/models/YumHostedApiRepository.d.ts +18 -0
- package/dist/esm/models/YumHostedApiRepository.js +6 -0
- package/dist/models/YumHostedApiRepository.d.ts +18 -0
- package/dist/models/YumHostedApiRepository.js +6 -0
- package/package.json +1 -1
- package/src/models/YumHostedApiRepository.ts +24 -0
|
@@ -31,6 +31,12 @@ export interface YumHostedApiRepository {
|
|
|
31
31
|
* @memberof YumHostedApiRepository
|
|
32
32
|
*/
|
|
33
33
|
component?: ComponentAttributes;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof YumHostedApiRepository
|
|
38
|
+
*/
|
|
39
|
+
format?: string;
|
|
34
40
|
/**
|
|
35
41
|
* A unique identifier for this repository
|
|
36
42
|
* @type {string}
|
|
@@ -49,6 +55,18 @@ export interface YumHostedApiRepository {
|
|
|
49
55
|
* @memberof YumHostedApiRepository
|
|
50
56
|
*/
|
|
51
57
|
storage: HostedStorageAttributes;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof YumHostedApiRepository
|
|
62
|
+
*/
|
|
63
|
+
type?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof YumHostedApiRepository
|
|
68
|
+
*/
|
|
69
|
+
url?: string;
|
|
52
70
|
/**
|
|
53
71
|
*
|
|
54
72
|
* @type {YumAttributes}
|
|
@@ -37,9 +37,12 @@ export function YumHostedApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
return {
|
|
38
38
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
39
39
|
'component': json['component'] == null ? undefined : ComponentAttributesFromJSON(json['component']),
|
|
40
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
40
41
|
'name': json['name'] == null ? undefined : json['name'],
|
|
41
42
|
'online': json['online'],
|
|
42
43
|
'storage': HostedStorageAttributesFromJSON(json['storage']),
|
|
44
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
45
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
43
46
|
'yum': YumAttributesFromJSON(json['yum']),
|
|
44
47
|
};
|
|
45
48
|
}
|
|
@@ -53,9 +56,12 @@ export function YumHostedApiRepositoryToJSONTyped(value, ignoreDiscriminator = f
|
|
|
53
56
|
return {
|
|
54
57
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
55
58
|
'component': ComponentAttributesToJSON(value['component']),
|
|
59
|
+
'format': value['format'],
|
|
56
60
|
'name': value['name'],
|
|
57
61
|
'online': value['online'],
|
|
58
62
|
'storage': HostedStorageAttributesToJSON(value['storage']),
|
|
63
|
+
'type': value['type'],
|
|
64
|
+
'url': value['url'],
|
|
59
65
|
'yum': YumAttributesToJSON(value['yum']),
|
|
60
66
|
};
|
|
61
67
|
}
|
|
@@ -31,6 +31,12 @@ export interface YumHostedApiRepository {
|
|
|
31
31
|
* @memberof YumHostedApiRepository
|
|
32
32
|
*/
|
|
33
33
|
component?: ComponentAttributes;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof YumHostedApiRepository
|
|
38
|
+
*/
|
|
39
|
+
format?: string;
|
|
34
40
|
/**
|
|
35
41
|
* A unique identifier for this repository
|
|
36
42
|
* @type {string}
|
|
@@ -49,6 +55,18 @@ export interface YumHostedApiRepository {
|
|
|
49
55
|
* @memberof YumHostedApiRepository
|
|
50
56
|
*/
|
|
51
57
|
storage: HostedStorageAttributes;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof YumHostedApiRepository
|
|
62
|
+
*/
|
|
63
|
+
type?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof YumHostedApiRepository
|
|
68
|
+
*/
|
|
69
|
+
url?: string;
|
|
52
70
|
/**
|
|
53
71
|
*
|
|
54
72
|
* @type {YumAttributes}
|
|
@@ -44,9 +44,12 @@ function YumHostedApiRepositoryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
return {
|
|
45
45
|
'cleanup': json['cleanup'] == null ? undefined : (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesFromJSON)(json['cleanup']),
|
|
46
46
|
'component': json['component'] == null ? undefined : (0, ComponentAttributes_1.ComponentAttributesFromJSON)(json['component']),
|
|
47
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
47
48
|
'name': json['name'] == null ? undefined : json['name'],
|
|
48
49
|
'online': json['online'],
|
|
49
50
|
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesFromJSON)(json['storage']),
|
|
51
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
52
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
50
53
|
'yum': (0, YumAttributes_1.YumAttributesFromJSON)(json['yum']),
|
|
51
54
|
};
|
|
52
55
|
}
|
|
@@ -60,9 +63,12 @@ function YumHostedApiRepositoryToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
60
63
|
return {
|
|
61
64
|
'cleanup': (0, CleanupPolicyAttributes_1.CleanupPolicyAttributesToJSON)(value['cleanup']),
|
|
62
65
|
'component': (0, ComponentAttributes_1.ComponentAttributesToJSON)(value['component']),
|
|
66
|
+
'format': value['format'],
|
|
63
67
|
'name': value['name'],
|
|
64
68
|
'online': value['online'],
|
|
65
69
|
'storage': (0, HostedStorageAttributes_1.HostedStorageAttributesToJSON)(value['storage']),
|
|
70
|
+
'type': value['type'],
|
|
71
|
+
'url': value['url'],
|
|
66
72
|
'yum': (0, YumAttributes_1.YumAttributesToJSON)(value['yum']),
|
|
67
73
|
};
|
|
68
74
|
}
|
package/package.json
CHANGED
|
@@ -60,6 +60,12 @@ export interface YumHostedApiRepository {
|
|
|
60
60
|
* @memberof YumHostedApiRepository
|
|
61
61
|
*/
|
|
62
62
|
component?: ComponentAttributes;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof YumHostedApiRepository
|
|
67
|
+
*/
|
|
68
|
+
format?: string;
|
|
63
69
|
/**
|
|
64
70
|
* A unique identifier for this repository
|
|
65
71
|
* @type {string}
|
|
@@ -78,6 +84,18 @@ export interface YumHostedApiRepository {
|
|
|
78
84
|
* @memberof YumHostedApiRepository
|
|
79
85
|
*/
|
|
80
86
|
storage: HostedStorageAttributes;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof YumHostedApiRepository
|
|
91
|
+
*/
|
|
92
|
+
type?: string;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof YumHostedApiRepository
|
|
97
|
+
*/
|
|
98
|
+
url?: string;
|
|
81
99
|
/**
|
|
82
100
|
*
|
|
83
101
|
* @type {YumAttributes}
|
|
@@ -108,9 +126,12 @@ export function YumHostedApiRepositoryFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
108
126
|
|
|
109
127
|
'cleanup': json['cleanup'] == null ? undefined : CleanupPolicyAttributesFromJSON(json['cleanup']),
|
|
110
128
|
'component': json['component'] == null ? undefined : ComponentAttributesFromJSON(json['component']),
|
|
129
|
+
'format': json['format'] == null ? undefined : json['format'],
|
|
111
130
|
'name': json['name'] == null ? undefined : json['name'],
|
|
112
131
|
'online': json['online'],
|
|
113
132
|
'storage': HostedStorageAttributesFromJSON(json['storage']),
|
|
133
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
134
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
114
135
|
'yum': YumAttributesFromJSON(json['yum']),
|
|
115
136
|
};
|
|
116
137
|
}
|
|
@@ -128,9 +149,12 @@ export function YumHostedApiRepositoryToJSONTyped(value?: YumHostedApiRepository
|
|
|
128
149
|
|
|
129
150
|
'cleanup': CleanupPolicyAttributesToJSON(value['cleanup']),
|
|
130
151
|
'component': ComponentAttributesToJSON(value['component']),
|
|
152
|
+
'format': value['format'],
|
|
131
153
|
'name': value['name'],
|
|
132
154
|
'online': value['online'],
|
|
133
155
|
'storage': HostedStorageAttributesToJSON(value['storage']),
|
|
156
|
+
'type': value['type'],
|
|
157
|
+
'url': value['url'],
|
|
134
158
|
'yum': YumAttributesToJSON(value['yum']),
|
|
135
159
|
};
|
|
136
160
|
}
|