@devtron-labs/devtron-fe-common-lib 0.0.40-beta-15 → 0.0.41-beta-1
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
|
@@ -22752,7 +22752,7 @@ var cdMaterialListModal = function (artifacts, offset, artifactId, artifactStatu
|
|
|
22752
22752
|
var startIndex = offset;
|
|
22753
22753
|
var isImageMarked = false;
|
|
22754
22754
|
var materials = artifacts.map(function (material, index) {
|
|
22755
|
-
var _a, _b, _c, _d, _e, _f;
|
|
22755
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
22756
22756
|
var artifactStatusValue = '';
|
|
22757
22757
|
var filterState = (_a = material.filterState) !== null && _a !== void 0 ? _a : exports.FilterStates.ALLOWED;
|
|
22758
22758
|
if (artifactId && artifactStatus && material.id === artifactId) {
|
|
@@ -22818,6 +22818,9 @@ var cdMaterialListModal = function (artifacts, offset, artifactId, artifactStatu
|
|
|
22818
22818
|
appliedFiltersState: (_d = material.appliedFiltersState) !== null && _d !== void 0 ? _d : exports.FilterStates.ALLOWED,
|
|
22819
22819
|
createdTime: (_e = material.createdTime) !== null && _e !== void 0 ? _e : '',
|
|
22820
22820
|
dataSource: (_f = material.data_source) !== null && _f !== void 0 ? _f : '',
|
|
22821
|
+
registryType: (_g = material.registryType) !== null && _g !== void 0 ? _g : '',
|
|
22822
|
+
imagePath: (_h = material.image) !== null && _h !== void 0 ? _h : '',
|
|
22823
|
+
registryName: (_j = material.registryName) !== null && _j !== void 0 ? _j : '',
|
|
22821
22824
|
};
|
|
22822
22825
|
});
|
|
22823
22826
|
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
|