@devtron-labs/devtron-fe-common-lib 0.0.41-beta-2 → 0.0.41-beta-3
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/Common/Types.d.ts +3 -0
- package/dist/index.js +4 -1
- package/package.json +1 -1
- package/src/Common/Common.service.ts +3 -0
- package/src/Common/Types.ts +3 -0
package/dist/Common/Types.d.ts
CHANGED
|
@@ -231,6 +231,9 @@ export interface CDMaterialType {
|
|
|
231
231
|
imageReleaseTags?: ReleaseTag[];
|
|
232
232
|
artifactStatus?: string;
|
|
233
233
|
filterState: FilterStates;
|
|
234
|
+
registryType?: string;
|
|
235
|
+
imagePath?: string;
|
|
236
|
+
registryName?: string;
|
|
234
237
|
scanToolId?: number;
|
|
235
238
|
appliedFiltersTimestamp?: string;
|
|
236
239
|
appliedFilters?: FilterConditionsListType[];
|
package/dist/index.js
CHANGED
|
@@ -22759,7 +22759,7 @@ var cdMaterialListModal = function (artifacts, offset, artifactId, artifactStatu
|
|
|
22759
22759
|
var startIndex = offset;
|
|
22760
22760
|
var isImageMarked = false;
|
|
22761
22761
|
var materials = artifacts.map(function (material, index) {
|
|
22762
|
-
var _a, _b, _c, _d, _e, _f;
|
|
22762
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
22763
22763
|
var artifactStatusValue = '';
|
|
22764
22764
|
var filterState = (_a = material.filterState) !== null && _a !== void 0 ? _a : exports.FilterStates.ALLOWED;
|
|
22765
22765
|
if (artifactId && artifactStatus && material.id === artifactId) {
|
|
@@ -22825,6 +22825,9 @@ var cdMaterialListModal = function (artifacts, offset, artifactId, artifactStatu
|
|
|
22825
22825
|
appliedFiltersState: (_d = material.appliedFiltersState) !== null && _d !== void 0 ? _d : exports.FilterStates.ALLOWED,
|
|
22826
22826
|
createdTime: (_e = material.createdTime) !== null && _e !== void 0 ? _e : '',
|
|
22827
22827
|
dataSource: (_f = material.data_source) !== null && _f !== void 0 ? _f : '',
|
|
22828
|
+
registryType: (_g = material.registryType) !== null && _g !== void 0 ? _g : '',
|
|
22829
|
+
imagePath: (_h = material.image) !== null && _h !== void 0 ? _h : '',
|
|
22830
|
+
registryName: (_j = material.registryName) !== null && _j !== void 0 ? _j : '',
|
|
22828
22831
|
};
|
|
22829
22832
|
});
|
|
22830
22833
|
return materials;
|
package/package.json
CHANGED
|
@@ -162,6 +162,9 @@ const cdMaterialListModal = (artifacts: any[], offset: number, artifactId?: numb
|
|
|
162
162
|
appliedFiltersState: material.appliedFiltersState ?? FilterStates.ALLOWED,
|
|
163
163
|
createdTime: material.createdTime ?? '',
|
|
164
164
|
dataSource: material.data_source ?? '',
|
|
165
|
+
registryType: material.registryType ?? '',
|
|
166
|
+
imagePath: material.image ?? '',
|
|
167
|
+
registryName: material.registryName ?? '',
|
|
165
168
|
}
|
|
166
169
|
})
|
|
167
170
|
return materials
|
package/src/Common/Types.ts
CHANGED
|
@@ -256,6 +256,9 @@ export interface CDMaterialType {
|
|
|
256
256
|
imageReleaseTags?: ReleaseTag[]
|
|
257
257
|
artifactStatus?: string
|
|
258
258
|
filterState: FilterStates
|
|
259
|
+
registryType?: string;
|
|
260
|
+
imagePath?: string
|
|
261
|
+
registryName?: string
|
|
259
262
|
// Not even coming from API but required in CDMaterials for Security which makes its own api call but stores data in CDMaterials
|
|
260
263
|
scanToolId?: number
|
|
261
264
|
appliedFiltersTimestamp?: string
|