Last active
December 21, 2015 01:38
-
-
Save warpech/6228795 to your computer and use it in GitHub Desktop.
current view model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Master.json | |
//----------- | |
{ | |
LoggedInUser: "", | |
ApplicationPage: { | |
} | |
} | |
//PMail.json (ApplicationPage) | |
//---------------------------- | |
{ | |
Mailboxes: [{ | |
Name: "" | |
}], | |
FocusedMailbox: { | |
Name: "" | |
}, | |
Mails: [{ | |
From: { | |
Address: "" | |
}, | |
Subject: "", | |
Uri: "" | |
}], | |
FocusedMail: {} | |
} | |
//MailPage.json (FocusedMail) | |
//--------------------------- | |
{ | |
Date: "", | |
From: { | |
Address$: "" | |
}, | |
To: { | |
Address$: "", | |
Options: [{ | |
Address: "" | |
}] | |
}, | |
Subject$: "", | |
Content$: "", | |
Send$: null, | |
Discard$: null | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Master.json | |
//----------- | |
{ | |
LoggedInUser: "", | |
ApplicationPage: { | |
} | |
} | |
//PMail.json (ApplicationPage) | |
//---------------------------- | |
{ | |
Mailboxes: [{ | |
Name: "" | |
}], | |
FocusedMailbox: { | |
Name: "" | |
}, | |
Threads: [{ | |
Date: "", | |
From: { | |
Address: "" | |
}, | |
Subject: "", | |
Uri: "", | |
CountMails: "" | |
}], | |
FocusedThread: [{}] //array of MailPage | |
} | |
//MailPage.json (FocusedMail) | |
//--------------------------- | |
{ | |
Date: "", | |
From: { | |
Address$: "" | |
}, | |
To: { | |
Address$: "", | |
Options: [{ | |
Address: "" | |
}] | |
}, | |
Subject$: "", | |
Content$: "", | |
Send$: null, | |
Discard$: null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment