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
Use same lock values as mobile clients
[ProtonMail-WebClient.git]
/
packages
/
shared
/
lib
/
api
/
events.ts
blob
9bf8da627c2044dde86b0b97b9f20641568fa669
1
export const getLatestID = () => ({
2
url: 'core/v4/events/latest',
3
method: 'get',
4
});
5
6
export const getEvents = (eventID: string, params?: { ConversationCounts: 1 | 0; MessageCounts: 1 | 0 }) => ({
7
url: `core/v5/events/${eventID}`,
8
method: 'get',
9
params,
10
});