66 lines
976 B
JavaScript
66 lines
976 B
JavaScript
const users = [
|
|
{
|
|
id: 1,
|
|
username: "wattsc",
|
|
firstName: "Chris",
|
|
lastName: "Watts",
|
|
hoursPerWeek: 37,
|
|
state: "In"
|
|
},
|
|
{
|
|
id: 2,
|
|
username: "lawrenb",
|
|
firstName: "Brett",
|
|
lastName: "Lawrence",
|
|
hoursPerWeek: 37,
|
|
state: "Remote"
|
|
},
|
|
{
|
|
id: 3,
|
|
username: "bustamae",
|
|
firstName: "Eugene",
|
|
lastName: "Bustamante",
|
|
hoursPerWeek: 37,
|
|
state: "Out"
|
|
}
|
|
];
|
|
|
|
const authors = [
|
|
{ id: 1, name: "Cory House" },
|
|
{ id: 2, name: "Scott Allen" },
|
|
{ id: 3, name: "Dan Wahlin" }
|
|
];
|
|
|
|
const newUser = {
|
|
id: null,
|
|
title: "",
|
|
authorId: null,
|
|
category: ""
|
|
};
|
|
|
|
const groups = [
|
|
{
|
|
id: 1,
|
|
name: "RTPS",
|
|
userCount: 4
|
|
},
|
|
{
|
|
id: 2,
|
|
name: "Embedded Rating",
|
|
userCount: 14
|
|
},
|
|
{
|
|
id: 3,
|
|
name: "Rules Engine",
|
|
userCount: 2
|
|
}
|
|
];
|
|
|
|
// Using CommonJS style export so we can consume via Node (without using Babel-node)
|
|
module.exports = {
|
|
newUser,
|
|
users,
|
|
authors,
|
|
groups
|
|
};
|