@devtron-labs/devtron-fe-common-lib 0.0.40 → 0.0.41

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.
@@ -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
@@ -22740,7 +22740,7 @@ var cdMaterialListModal = function (artifacts, offset, artifactId, artifactStatu
22740
22740
  var startIndex = offset;
22741
22741
  var isImageMarked = false;
22742
22742
  var materials = artifacts.map(function (material, index) {
22743
- var _a, _b, _c, _d, _e, _f;
22743
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
22744
22744
  var artifactStatusValue = '';
22745
22745
  var filterState = (_a = material.filterState) !== null && _a !== void 0 ? _a : exports.FilterStates.ALLOWED;
22746
22746
  if (artifactId && artifactStatus && material.id === artifactId) {
@@ -22806,6 +22806,9 @@ var cdMaterialListModal = function (artifacts, offset, artifactId, artifactStatu
22806
22806
  appliedFiltersState: (_d = material.appliedFiltersState) !== null && _d !== void 0 ? _d : exports.FilterStates.ALLOWED,
22807
22807
  createdTime: (_e = material.createdTime) !== null && _e !== void 0 ? _e : '',
22808
22808
  dataSource: (_f = material.data_source) !== null && _f !== void 0 ? _f : '',
22809
+ registryType: (_g = material.registryType) !== null && _g !== void 0 ? _g : '',
22810
+ imagePath: (_h = material.image) !== null && _h !== void 0 ? _h : '',
22811
+ registryName: (_j = material.registryName) !== null && _j !== void 0 ? _j : '',
22809
22812
  };
22810
22813
  });
22811
22814
  return materials;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "description": "Supporting common component library",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -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
@@ -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