1 import type { SimpleObject } from '@proton/components/containers/filters/interfaces';
2 import { ConditionComparator, ConditionType, FilterStatement } from '@proton/components/containers/filters/interfaces';
6 List: ['include', 'environment', 'variables', 'relational', 'comparator-i;ascii-numeric', 'spamtest'],
10 List: ['fileinto', 'imap4flags', 'vacation'],
14 Text: '# Generated: Do not run this script on spam messages',
21 Name: 'vnd.proton.spam-threshold',
32 Type: 'VariableString',
40 Type: 'GreaterEqualsValue',
55 Text: '/**\r\n * @type and\r\n * @comparator default\r\n */',
62 Headers: ['X-Attached'],
70 Message: '<div>Vacation test<br></div>',
72 MIMEType: 'text/html',
80 const simple: SimpleObject = {
83 value: FilterStatement.ALL,
90 value: ConditionType.ATTACHMENTS,
94 value: ConditionComparator.CONTAINS,
104 Vacation: '<div>Vacation test<br></div>',
108 export default { tree, simple };