Skip to content

Instantly share code, notes, and snippets.

@warpech warpech/no-threads.js
Last active Dec 21, 2015

Embed
What would you like to do?
current view model
//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
}
//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
You can’t perform that action at this time.