Files
workavia-mail-front/ios/TwakeCore/Jmap/Utils/JmapConstants.swift
T
dab246 eb8c27d38e TF-2464 Sort list new emails push notification by receivedAt
Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit 44a1f4a44c9bc5612cef610334ce01dbaff9e051)
2024-02-19 15:55:10 +07:00

22 lines
544 B
Swift

import Foundation
class JmapConstants {
static let EMAIL_GET_METHOD_NAME = "Email/get"
static let EMAIL_CHANGES_METHOD_NAME = "Email/changes"
static let CREATED_REFERENCE_PATH = "/created/*"
static let JMAP_CORE_CAPABILITY = "urn:ietf:params:jmap:core"
static let JMAP_MAIL_CAPABILITY = "urn:ietf:params:jmap:mail"
static let EMAIL_PUSH_NOTIFICATION_PROPERTIES = [
"id",
"subject",
"preview",
"from",
"receivedAt"
]
static let EMAIL_ID = "email_id"
}