-
Notifications
You must be signed in to change notification settings - Fork 1
Sample State
Dillon Rice edited this page Apr 30, 2020
·
3 revisions
{
entities : {
users: {
4: {
id: 4,
displayName: "Dillon Rice",
title: "Developer",
userDescription: "A blurb about myself",
userAvatarUrl: assetPath(something),
userStatus: "emoji: out to lunch"
}
}
messages: {
1: {
id: 1,
body: body,
authorId: authorId,
recipientId: recipientId
}
}
conversations: {
5: {
id: 5,
name : "FunChannel",
playlistUrl: playlistUrl,
restrictedPlaylist: false,
members: [2,4,5,6],
type: "channel",
ownerId: 5,
description: "This channel is for something",
isPrivate: "true"
}
}
}
session: {
currentUser: 1,
memberships: []
}
ui: {
unreadMessage: boolean,
}
errors: {
userErrors: [],
sessionErrors: [],
messageErrors:[]
}
}