feat(dashboard): Native filters - add type to native filter configuration (#16549)

* iSort fixes

* Add type key to the new filters

* Fix wrong attribute

* PR comments

* PR comments

* Fix failing tests
This commit is contained in:
Ajay M
2021-09-09 12:46:44 -04:00
committed by GitHub
parent dad55a78f4
commit 4b70d46355
9 changed files with 153 additions and 6 deletions

View File

@@ -16,8 +16,9 @@
* specific language governing permissions and limitations
* under the License.
*/
import { DataMaskStateWithId } from 'src/dataMask/types';
import { NativeFilterType } from 'src/dashboard/components/nativeFilters/types';
import { NativeFiltersState } from 'src/dashboard/reducers/types';
import { DataMaskStateWithId } from 'src/dataMask/types';
export const mockDataMaskInfo: DataMaskStateWithId = {
DefaultsID: {
@@ -66,6 +67,7 @@ export const nativeFiltersInfo: NativeFiltersState = {
allowsMultipleValues: true,
isRequired: false,
},
type: NativeFilterType.NATIVE_FILTER,
},
},
};