repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove client-side isLoggedIn value
[ProtonMail-WebClient.git]
/
packages
/
sieve
/
README.md
blob
738c577865a6818153a43244a60c14975cb8e199
1
# Sieve.js
2
3
TypeScript library to wrap sieve configuration
4
5
### Simple representation
6
7
```js
8
{
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
}
29
}
30
```