Remove client-side isLoggedIn value
[ProtonMail-WebClient.git] / packages / sieve / README.md
blob738c577865a6818153a43244a60c14975cb8e199
1 # Sieve.js
3 TypeScript library to wrap sieve configuration
5 ### Simple representation
7 ```js
9     Operator: {
10         label: '',
11         value: 'AllOf' // 'AnyOf'
12     },
13     Conditions: [
14         {
15             Comparator: {
16                 value: 'contains' // 'is', 'matches', 'starts', 'ends'
17             },
18             Values: ['thomas.anderson@protonmail.com']
19         }
20     ],
21     Actions: {
22         FileInto: ['trash'],
23         Mark: {
24             Read: false,
25             Starred: false
26         },
27         Vacation: 'Not here for few days'
28     }
30 ```