[ACS-4448] Adding selectable options of mime types in folder rules add conditions (#3098)

* [ACS-4448] Adding selectable options of mime types in folder rules conditions.

* [ACS-4448] Restructuring

* PR comments

* added unit tests

* PR comments

* unit tests

* unit tests
This commit is contained in:
Aayush Rohila
2023-04-11 14:34:48 +05:30
committed by GitHub
parent 494c2f753c
commit 2787ed97fb
7 changed files with 936 additions and 7 deletions

View File

@@ -32,6 +32,18 @@ const simpleConditionMock: RuleSimpleCondition = {
parameter: ''
};
export const mimeTypeMock: RuleSimpleCondition = {
field: 'mimetype',
comparator: 'equals',
parameter: ''
};
export const categoryMock: RuleSimpleCondition = {
field: 'category',
comparator: 'equals',
parameter: ''
};
export const simpleConditionUnknownFieldMock: RuleSimpleCondition = {
field: 'unknown-field',
comparator: 'equals',