Skip to content

SampleState

Brian Crawford Scott edited this page Jul 3, 2019 · 2 revisions
{
  entities: {
    accounts: {
      109287457: {
        _id: 109287457,
        name: 'Account1',
        admin: ['b@b.com', 'c@c.com'],
        holders: ['d@d.com'],
        photoUrl: 's3.accountPhoto.url'
      },
      287491283: {
        _id: 287491283,
        name: 'Account2',
        admin: ['b@b.com'],
        holders: ['d@d.com', 'c@c.com'],
        photoUrl: 's3.accountPhoto2.url'
      },
    },
    teams: {
      347834: {
        name: 'Team1',
        accountId: 109287457.
        photoUrl: 's3.coolPhoto.url',
        profile: {
          startDate: '01-01-2000`,
          emotionalRange: '...',
          performanceRange: '...'
        },
      },
      ...
    },
    teamMembers: {
      12327: {
        _id: 12327,
        name: 'bobbyB',
        teamId: 347834,
        photoUrl: 's3.teamMemberPhoto.url',
        profile: {
          startDate: '01-01-2000`,
          emotionalRange: '...',
          performanceRange: '...'
        },
        communicationSamples: [...],
        performanceSamples: [...]
      },
    },
    ...
  },
  errors: {},
  ui: {
    user: {
      email: 'b@b.com',
      photoUrl: 's3.photo.url',
      adminAccounts: [109287457, 287491283],
      accounts: [384672934, 1289731, 39182731]
    },
    modal: 'sweetModal',
    loading: false
  }
}

Clone this wiki locally