(20250118) Ready to test Mail Sync (Cron) on the server.
This commit is contained in:
@@ -85,6 +85,16 @@ class MailSyncOneResult(BaseModel):
|
||||
default = False
|
||||
)
|
||||
|
||||
attempted: bool = Field(
|
||||
description = "whether, or not, sync'ing was tried for this mail",
|
||||
default = False
|
||||
)
|
||||
|
||||
isNew: bool = Field(
|
||||
description = "whether, or not, this mail is new",
|
||||
default = True
|
||||
)
|
||||
|
||||
message: str | None = Field(
|
||||
description = "a brief message to summarize the result of the process",
|
||||
default = None
|
||||
@@ -114,6 +124,16 @@ class MailSyncManyResults(BaseModel):
|
||||
default = 0
|
||||
)
|
||||
|
||||
newCount: int = Field(
|
||||
description = "how many of the total mails were new",
|
||||
default = 0
|
||||
)
|
||||
|
||||
attemptedCount: int = Field(
|
||||
description = "how many mails were attempted to sync.",
|
||||
default = 0
|
||||
)
|
||||
|
||||
successCount: int = Field(
|
||||
description = "the no. of mails that were successfully sync'd",
|
||||
default = 0
|
||||
|
||||
Reference in New Issue
Block a user