@devtron-labs/devtron-fe-common-lib 0.0.33-beta-6 → 0.0.33-beta-8

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.
@@ -226,6 +226,8 @@ export interface CDMaterialType {
226
226
  scanToolId?: number;
227
227
  appliedFiltersTimestamp?: string;
228
228
  appliedFilters?: FilterConditionsListType[];
229
+ appliedFiltersState?: FilterStates;
230
+ createdTime?: string;
229
231
  }
230
232
  export declare enum CDMaterialServiceEnum {
231
233
  ROLLBACK = "rollback",
package/dist/index.js CHANGED
@@ -22727,7 +22727,7 @@ var cdMaterialListModal = function (artifacts, offset, artifactId, artifactStatu
22727
22727
  var startIndex = offset;
22728
22728
  var isImageMarked = false;
22729
22729
  var materials = artifacts.map(function (material, index) {
22730
- var _a, _b, _c;
22730
+ var _a, _b, _c, _d, _e;
22731
22731
  var artifactStatusValue = '';
22732
22732
  var filterState = (_a = material.filterState) !== null && _a !== void 0 ? _a : exports.FilterStates.ALLOWED;
22733
22733
  if (artifactId && artifactStatus && material.id === artifactId) {
@@ -22789,7 +22789,9 @@ var cdMaterialListModal = function (artifacts, offset, artifactId, artifactStatu
22789
22789
  : [],
22790
22790
  filterState: filterState,
22791
22791
  appliedFiltersTimestamp: (_b = material.appliedFiltersTimestamp) !== null && _b !== void 0 ? _b : '',
22792
- appliedFilters: (_c = material.appliedFilters) !== null && _c !== void 0 ? _c : []
22792
+ appliedFilters: (_c = material.appliedFilters) !== null && _c !== void 0 ? _c : [],
22793
+ appliedFiltersState: (_d = material.appliedFiltersState) !== null && _d !== void 0 ? _d : exports.FilterStates.ALLOWED,
22794
+ createdTime: (_e = material.createdTime) !== null && _e !== void 0 ? _e : '',
22793
22795
  };
22794
22796
  });
22795
22797
  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.33-beta-6",
3
+ "version": "0.0.33-beta-8",
4
4
  "description": "Supporting common component library",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -159,7 +159,9 @@ const cdMaterialListModal = (artifacts: any[], offset: number, artifactId?: numb
159
159
  : [],
160
160
  filterState,
161
161
  appliedFiltersTimestamp: material.appliedFiltersTimestamp ?? '',
162
- appliedFilters: material.appliedFilters ?? []
162
+ appliedFilters: material.appliedFilters ?? [],
163
+ appliedFiltersState: material.appliedFiltersState ?? FilterStates.ALLOWED,
164
+ createdTime: material.createdTime ?? '',
163
165
  }
164
166
  })
165
167
  return materials
@@ -251,6 +251,8 @@ export interface CDMaterialType {
251
251
  scanToolId?: number
252
252
  appliedFiltersTimestamp?: string
253
253
  appliedFilters?: FilterConditionsListType[]
254
+ appliedFiltersState?: FilterStates
255
+ createdTime?: string
254
256
  }
255
257
 
256
258
  export enum CDMaterialServiceEnum {