Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 64 additions & 4 deletions src/app/data/nested-employee-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,31 +67,91 @@ export const EMPLOYEE_DATA = [
},
{
Age: 49,
Employees: [],
Employees: [
{
Age: 33,
HireDate: new Date(2016, 2, 14),
ID: 20,
Name: "Patricia Hill",
Title: "Accountant"
},
{
Age: 27,
HireDate: new Date(2019, 5, 1),
ID: 21,
Name: "Samuel Green",
Title: "Junior Accountant"
}
],
HireDate: new Date(2014, 1, 22),
ID: 18,
Name: "Victoria Lincoln",
Title: "Senior Accountant"
},
{
Age: 61,
Employees: [],
Employees: [
{
Age: 38,
HireDate: new Date(2013, 7, 22),
ID: 22,
Name: "Kevin Zhang",
Title: "Localization Specialist"
},
{
Age: 30,
HireDate: new Date(2018, 3, 10),
ID: 23,
Name: "Linda Park",
Title: "Translator"
}
],
HireDate: new Date(2010, 1, 1),
ID: 10,
Name: "Yang Wang",
Title: "Localization Developer"
},
{
Age: 35,
Employees: [],
Employees: [
{
Age: 26,
HireDate: new Date(2020, 8, 5),
ID: 24,
Name: "Rachel Adams",
Title: "HR Specialist"
},
{
Age: 31,
HireDate: new Date(2017, 0, 17),
ID: 25,
Name: "Carlos Rivera",
Title: "Recruiter"
}
],
HireDate: new Date(2014, 1, 22),
ID: 35,
Name: "Janine Munoz",
Title: "HR"
},
{
Age: 49,
Employees: [],
Employees: [
{
Age: 34,
HireDate: new Date(2015, 10, 11),
ID: 26,
Name: "Diana Foster",
Title: "Sales Representative"
},
{
Age: 29,
HireDate: new Date(2018, 6, 23),
ID: 27,
Name: "Brian Scott",
Title: "Account Executive"
}
],
HireDate: new Date(2010, 1, 1),
ID: 10,
Name: "Yang Wang",
Expand Down
Loading