diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index dd6c1c5..0000000 Binary files a/.DS_Store and /dev/null differ diff --git a/.gitignore b/.gitignore index 84b0e90..38ee8ff 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,8 @@ obj/ .vs/ .vscode/ Migrations/ +app.db* +.DS_Store app.db client/node_modules -Scripts/ \ No newline at end of file +Scripts/ diff --git a/Controllers/.DS_Store b/Controllers/.DS_Store deleted file mode 100644 index 5008ddf..0000000 Binary files a/Controllers/.DS_Store and /dev/null differ diff --git a/Controllers/AssignmentsController.cs b/Controllers/AssignmentsController.cs new file mode 100644 index 0000000..400f0a7 --- /dev/null +++ b/Controllers/AssignmentsController.cs @@ -0,0 +1,124 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.AspNetCore.Http; +using Microsoft.AspNetCore.Mvc; +using Microsoft.EntityFrameworkCore; +using TicketManager.Data; +using TicketManager.Models; + +namespace TicketManager.Controllers +{ + [Route("api/[controller]")] + [ApiController] + public class AssignmentsController : ControllerBase + { + private readonly AppDbContext _context; + + public AssignmentsController(AppDbContext context) + { + _context = context; + } + + // GET: api/Assignments + [HttpGet] + public async Task>> GetAssignments() + { + return await _context.Assignments.ToListAsync(); + } + + // GET: api/Assignments/5 + [HttpGet("{id}")] + public async Task> GetAssignment(int id) + { + var assignment = await _context.Assignments.FindAsync(id); + + if (assignment == null) + { + return NotFound(); + } + + return assignment; + } + + // PUT: api/Assignments/5 + // To protect from overposting attacks, please enable the specific properties you want to bind to, for + // more details see https://aka.ms/RazorPagesCRUD. + [HttpPut("{id}")] + public async Task PutAssignment(int id, Assignment assignment) + { + if (id != assignment.ProjectId) + { + return BadRequest(); + } + + _context.Entry(assignment).State = EntityState.Modified; + + try + { + await _context.SaveChangesAsync(); + } + catch (DbUpdateConcurrencyException) + { + if (!AssignmentExists(id)) + { + return NotFound(); + } + else + { + throw; + } + } + + return NoContent(); + } + + // POST: api/Assignments + // To protect from overposting attacks, please enable the specific properties you want to bind to, for + // more details see https://aka.ms/RazorPagesCRUD. + [HttpPost] + public async Task> PostAssignment(Assignment assignment) + { + _context.Assignments.Add(assignment); + try + { + await _context.SaveChangesAsync(); + } + catch (DbUpdateException) + { + if (AssignmentExists(assignment.ProjectId)) + { + return Conflict(); + } + else + { + throw; + } + } + + return CreatedAtAction("GetAssignment", new { id = assignment.ProjectId }, assignment); + } + + // DELETE: api/Assignments/5 + [HttpDelete("{id}")] + public async Task> DeleteAssignment(int id) + { + var assignment = await _context.Assignments.FindAsync(id); + if (assignment == null) + { + return NotFound(); + } + + _context.Assignments.Remove(assignment); + await _context.SaveChangesAsync(); + + return assignment; + } + + private bool AssignmentExists(int id) + { + return _context.Assignments.Any(e => e.ProjectId == id); + } + } +} diff --git a/Controllers/ProjectsController.cs b/Controllers/ProjectsController.cs index 611273e..d6d8ee6 100644 --- a/Controllers/ProjectsController.cs +++ b/Controllers/ProjectsController.cs @@ -17,11 +17,11 @@ namespace TicketManager.Controllers [ApiController] public class ProjectsController : ControllerBase { - private readonly AppDbContext _context; + private readonly IProjectRepository _projectRepo; - public ProjectsController(AppDbContext context) + public ProjectsController(IProjectRepository projectRepo) { - _context = context; + _projectRepo = projectRepo; } /// @@ -36,9 +36,9 @@ namespace TicketManager.Controllers /// Returns all existing projects [HttpGet] [ProducesResponseType(StatusCodes.Status200OK)] - public async Task>> GetProjects() + public async Task> GetProjects() { - return await GetAllProjectsAsync(); + return await _projectRepo.List(); } /// @@ -57,186 +57,260 @@ namespace TicketManager.Controllers [ProducesResponseType(StatusCodes.Status404NotFound)] public async Task> GetProject(int id) { - Project project = await GetProjectByIdAsync(id); - if (project == null) - { - return NotFound(); - } + Project project = await _projectRepo.Get(id); + if (project == null) { return NotFound(); } return project; } - /// - /// Updates a specific project. - /// - /// - /// Sample request: - /// - /// PUT: api/Projects/3 - /// { - /// "id": "357727fd-5262-4522-b8a3-38271d43de84", - /// "firstName": "Thomas", - /// "lastName": "Price", - /// "presentation": "New Team?!", - /// "email": "tp@mail.com", - /// "phone": "0198237645" - /// } - /// - /// - /// Returns the modified project - /// Request was succesful but no content is changed - /// If the required project is null - [HttpPut("{id}")] - [ProducesResponseType(StatusCodes.Status200OK)] - [ProducesResponseType(StatusCodes.Status204NoContent)] - [ProducesResponseType(StatusCodes.Status404NotFound)] - public async Task PutProject(int id, Project project) - { - if (id != project.Id) - { - return BadRequest(); - } + // /// + // /// Updates a specific project. + // /// + // /// + // /// Sample request: + // /// + // /// PUT: api/Projects/3 + // /// { + // /// "id": "357727fd-5262-4522-b8a3-38271d43de84", + // /// "firstName": "Thomas", + // /// "lastName": "Price", + // /// "presentation": "New Team?!", + // /// "email": "tp@mail.com", + // /// "phone": "0198237645" + // /// } + // /// + // /// + // /// Returns the modified project + // /// Request was succesful but no content is changed + // /// If the required project is null + // [HttpPut("{id}")] + // [ProducesResponseType(StatusCodes.Status200OK)] + // [ProducesResponseType(StatusCodes.Status204NoContent)] + // [ProducesResponseType(StatusCodes.Status404NotFound)] + // public async Task PutProject(int id, Project project) + // { + // if (id != project.Id) { return BadRequest(); } - _context.Entry(project).State = EntityState.Modified; + // try + // { + // await _projectRepo.Update(project); + // } + // catch (DbUpdateConcurrencyException) + // { + // if (!_projectRepo.Exists(id)) + // { + // return NotFound(); + // } + // else + // { + // throw; + // } + // } - try - { - await _context.SaveChangesAsync(); - } - catch (DbUpdateConcurrencyException) - { - if (!ProjectExists(id)) - { - return NotFound(); - } - else - { - throw; - } - } + // return NoContent(); + // } - return NoContent(); - } + // /// + // /// Creates a project. + // /// + // /// + // /// Sample request: + // /// + // /// POST: api/Projects/ + // /// { + // /// "firstName": "Thomas", + // /// "lastName": "Price", + // /// "presentation": "New Team?!", + // /// "email": "tp@mail.com", + // /// "phone": "0198237645" + // /// } + // /// + // /// + // /// Returns the created project + // [HttpPost] + // [ProducesResponseType(StatusCodes.Status201Created)] + // [ProducesResponseType(StatusCodes.Status404NotFound)] + // public async Task> PostProject(Project project) + // { + // if (!ModelState.IsValid) { return BadRequest(); } + // await _projectRepo.AddAsync(project); - // POST: api/Projects - // To protect from overposting attacks, please enable the specific properties you want to bind to, for - // more details see https://aka.ms/RazorPagesCRUD. - [HttpPost] - public async Task> PostProject(Project project) - { - _context.Projects.Add(project); - await _context.SaveChangesAsync(); + // return CreatedAtAction("GetProject", new { id = project.Id }, project); + // } - return CreatedAtAction("GetProject", new { id = project.Id }, project); - } - // DELETE: api/Projects/5 - [HttpDelete("{id}")] - public async Task> DeleteProject(int id) - { - var project = await _context.Projects.FindAsync(id); - if (project == null) - { - return NotFound(); - } - _context.Projects.Remove(project); - await _context.SaveChangesAsync(); - return project; - } + // /// + // /// Deletes a project. + // /// + // /// + // /// Sample request: + // /// + // /// DELETE: api/Projects/5 + // /// + // /// + // /// Returns the deleted project + // [ProducesResponseType(StatusCodes.Status200OK)] + // [ProducesResponseType(StatusCodes.Status404NotFound)] + // [HttpDelete("{id}")] + // public async Task> DeleteProject(int id) + // { + // var project = await _projectRepo.GetByIdAsync(id); + // if (project == null) + // { + // return NotFound(); + // } + // await _projectRepo.DeleteAsync(id); + // return project; + // } - [HttpGet("{id}/members")] - public async Task>> GetProjectMembers(int id) - { - Project project = await GetProjectByIdAsync(id); - return project.GetMembers(); - } + // /// + // /// Gets a project members. + // /// + // /// + // /// Sample request: + // /// + // /// GET: api/Projects/5/Members + // /// + // /// + // /// Returns the project members + // [ProducesResponseType(StatusCodes.Status200OK)] + // [ProducesResponseType(StatusCodes.Status404NotFound)] + // [HttpGet("{id}/members")] + // public async Task>> GetProjectMembers(int id) + // { + // Project project = await _projectRepo.GetByIdAsync(id); + // if (project == null) + // { return NotFound(); } + // return project.GetMembers(); + // } - [HttpPut("{id}/members")] - public async Task> SetProjectMembers(int id, List projectMembers) - { - Project project = await GetProjectByIdAsync(id); - project.SetMembers(projectMembers); - try - { - await _context.SaveChangesAsync(); - } - catch (DbUpdateException /* ex */) - { - //Log the error (uncomment ex variable name and write a log.) - ModelState.AddModelError("", "Unable to save changes. " + - "Try again, and if the problem persists, " + - "see your system administrator."); - } - return NoContent(); - } + // /// + // /// Updates a project members. + // /// + // /// + // /// Sample request: + // /// + // /// PUT: api/Projects/5/Members + // /// { + // /// "id": "357727fd-5262-4522-b8a3-38271d43de84", + // /// "firstName": "Thomas", + // /// "lastName": "Price", + // /// "presentation": "New Team?!", + // /// "email": "tp@mail.com", + // /// "phone": "0198237645" + // /// } + // /// + // /// No content + // [ProducesResponseType(StatusCodes.Status204NoContent)] + // [ProducesResponseType(StatusCodes.Status404NotFound)] + // [HttpPut("{id}/members")] + // public async Task> SetProjectMembers(int id, List projectMembers) + // { + // Project project = await _projectRepo.GetByIdAsync(id); + // if (project == null) + // { + // return NotFound(); + // } + // project.SetMembers(projectMembers); + // try + // { + // await _projectRepo.UpdateAsync(project); + // } + // catch (DbUpdateException /* ex */) + // { + // //Log the error (uncomment ex variable name and write a log.) + // ModelState.AddModelError("", "Unable to save changes. " + + // "Try again, and if the problem persists, " + + // "see your system administrator."); + // } + // return NoContent(); + // } - [HttpPut("{id}/addMembers")] - public async Task> AddMembersToProject(int id, List usersToAdd) - { - if (usersToAdd == null) - { - return BadRequest(); - } - Project project = await GetProjectByIdAsync(id); - project.AddMembers(usersToAdd); - try - { - await _context.SaveChangesAsync(); - } - catch (DbUpdateException /* ex */) - { - //Log the error (uncomment ex variable name and write a log.) - ModelState.AddModelError("", "Unable to save changes. " + - "Try again, and if the problem persists, " + - "see your system administrator."); - } - return NoContent(); - } + // // /// + // // /// Assign a user to a project. + // // /// + // // /// + // // /// Sample request: + // // /// + // // /// POST: api/Projects/addmembers + // // /// [{ + // // /// "id": "357727fd-5262-4522-b8a3-38271d43de84", + // // /// "firstName": "Thomas", + // // /// "lastName": "Price", + // // /// "presentation": "New Team?!", + // // /// "email": "tp@mail.com", + // // /// "phone": "0198237645" + // // /// }] + // // /// + // // /// + // // /// Returns the created project + // // [ProducesResponseType(StatusCodes.Status204NoContent)] + // // [ProducesResponseType(StatusCodes.Status404NotFound)] + // // [HttpPut("{id}/addMembers")] + // // public async Task> AddMembersToProject(int id, List usersToAdd) + // // { + // // if (usersToAdd == null) + // // { + // // return BadRequest(); + // // } + // // Project project = await GetProjectByIdAsync(id); + // // project.AddMembers(usersToAdd); + // // try + // // { + // // await _context.SaveChangesAsync(); + // // } + // // catch (DbUpdateException /* ex */) + // // { + // // //Log the error (uncomment ex variable name and write a log.) + // // ModelState.AddModelError("", "Unable to save changes. " + + // // "Try again, and if the problem persists, " + + // // "see your system administrator."); + // // } + // // return NoContent(); + // // } + + // // /// + // // /// Remove a user to a project. + // // /// + // // /// + // // /// Sample request: + // // /// + // // /// PUT: api/Projects/removemembers + // // /// [{ + // // /// "id": "357727fd-5262-4522-b8a3-38271d43de84", + // // /// "firstName": "Thomas", + // // /// "lastName": "Price", + // // /// "presentation": "New Team?!", + // // /// "email": "tp@mail.com", + // // /// "phone": "0198237645" + // // /// }] + // // /// + // // /// + // // /// Returns the created project + // // [ProducesResponseType(StatusCodes.Status204NoContent)] + // // [ProducesResponseType(StatusCodes.Status404NotFound)] + // // [HttpPut("{id}/removeMembers")] + // // public async Task> RemoveMembersFromProject(int id, List usersToRemove) + // // { + // // Project project = await GetProjectByIdAsync(id); + // // project.RemoveMembers(usersToRemove); + // // try + // // { + // // await _context.SaveChangesAsync(); + // // } + // // catch (DbUpdateException /* ex */) + // // { + // // //Log the error (uncomment ex variable name and write a log.) + // // ModelState.AddModelError("", "Unable to save changes. " + + // // "Try again, and if the problem persists, " + + // // "see your system administrator."); + // // } + // // return NoContent(); + // // } - [HttpPut("{id}/removeMembers")] - public async Task> RemoveMembersFromProject(int id, List usersToRemove) - { - Project project = await GetProjectByIdAsync(id); - project.RemoveMembers(usersToRemove); - try - { - await _context.SaveChangesAsync(); - } - catch (DbUpdateException /* ex */) - { - //Log the error (uncomment ex variable name and write a log.) - ModelState.AddModelError("", "Unable to save changes. " + - "Try again, and if the problem persists, " + - "see your system administrator."); - } - return NoContent(); - } - private bool ProjectExists(int id) - { - return _context.Projects.Any(e => e.Id == id); - } - private async Task>> GetAllProjectsAsync() - { - return await makeProjectsQueryAsync() - .ToListAsync(); - } - private async Task GetProjectByIdAsync(int id) - { - return await makeProjectsQueryAsync() - .FirstOrDefaultAsync(p => p.Id == id); - } - private IQueryable makeProjectsQueryAsync() - { - return _context.Projects - .Include(p => p.Assignments) - .ThenInclude(a => a.User) - .Include(p => p.Tickets) - .Include(p => p.Manager) - .Include(p => p.Files); - } } } diff --git a/Controllers/ProjectsController_working.cs b/Controllers/ProjectsController_working.cs new file mode 100644 index 0000000..3936677 --- /dev/null +++ b/Controllers/ProjectsController_working.cs @@ -0,0 +1,317 @@ +// using System; +// using System.Collections.Generic; +// using System.Linq; +// using System.Net.Mime; +// using System.Threading.Tasks; +// using Microsoft.AspNetCore.Http; +// using Microsoft.AspNetCore.Mvc; +// using Microsoft.EntityFrameworkCore; +// using TicketManager.Data; +// using TicketManager.Models; + + +// namespace TicketManager.Controllers +// { +// [Produces("application/json")] +// [Route("api/v1/[controller]")] +// [ApiController] +// public class ProjectsController : ControllerBase +// { +// private readonly IProjectRepository _projectRepo; + +// public ProjectsController(IProjectRepository projectRepo) +// { +// _projectRepo = projectRepo; +// } + +// /// +// /// Returns all existing projects. +// /// +// /// +// /// Sample request: +// /// +// /// GET: api/Projects +// /// +// /// +// /// Returns all existing projects +// [HttpGet] +// [ProducesResponseType(StatusCodes.Status200OK)] +// public async Task> GetProjects() +// { +// return await _projectRepo.ListAsync(); +// // GetAllProjectsAsync(); +// } + +// /// +// /// Returns a specific project. +// /// +// /// +// /// Sample request: +// /// +// /// GET: api/Projects/2 +// /// +// /// +// /// Returns a specific project +// /// If the required project is null +// [HttpGet("{id}")] +// [ProducesResponseType(StatusCodes.Status200OK)] +// [ProducesResponseType(StatusCodes.Status404NotFound)] +// public async Task> GetProject(int id) +// { +// Project project = await _projectRepo.GetByIdAsync(id); +// if (project == null) { return NotFound(); } +// return project; +// } + +// /// +// /// Updates a specific project. +// /// +// /// +// /// Sample request: +// /// +// /// PUT: api/Projects/3 +// /// { +// /// "id": "357727fd-5262-4522-b8a3-38271d43de84", +// /// "firstName": "Thomas", +// /// "lastName": "Price", +// /// "presentation": "New Team?!", +// /// "email": "tp@mail.com", +// /// "phone": "0198237645" +// /// } +// /// +// /// +// /// Returns the modified project +// /// Request was succesful but no content is changed +// /// If the required project is null +// [HttpPut("{id}")] +// [ProducesResponseType(StatusCodes.Status200OK)] +// [ProducesResponseType(StatusCodes.Status204NoContent)] +// [ProducesResponseType(StatusCodes.Status404NotFound)] +// public async Task PutProject(int id, Project project) +// { +// if (id != project.Id) { return BadRequest(); } + +// try +// { +// await _projectRepo.UpdateAsync(project); +// } +// catch (DbUpdateConcurrencyException) +// { +// if (!_projectRepo.Exists(id)) +// { +// return NotFound(); +// } +// else +// { +// throw; +// } +// } + +// return NoContent(); +// } + +// /// +// /// Creates a project. +// /// +// /// +// /// Sample request: +// /// +// /// POST: api/Projects/ +// /// { +// /// "firstName": "Thomas", +// /// "lastName": "Price", +// /// "presentation": "New Team?!", +// /// "email": "tp@mail.com", +// /// "phone": "0198237645" +// /// } +// /// +// /// +// /// Returns the created project +// [HttpPost] +// [ProducesResponseType(StatusCodes.Status201Created)] +// [ProducesResponseType(StatusCodes.Status404NotFound)] +// public async Task> PostProject(Project project) +// { +// if (!ModelState.IsValid) { return BadRequest(); } +// await _projectRepo.AddAsync(project); + +// return CreatedAtAction("GetProject", new { id = project.Id }, project); +// } + + + + +// /// +// /// Deletes a project. +// /// +// /// +// /// Sample request: +// /// +// /// DELETE: api/Projects/5 +// /// +// /// +// /// Returns the deleted project +// [ProducesResponseType(StatusCodes.Status200OK)] +// [ProducesResponseType(StatusCodes.Status404NotFound)] +// [HttpDelete("{id}")] +// public async Task> DeleteProject(int id) +// { +// var project = await _projectRepo.GetByIdAsync(id); +// if (project == null) +// { +// return NotFound(); +// } +// await _projectRepo.DeleteAsync(id); +// return project; +// } + +// /// +// /// Gets a project members. +// /// +// /// +// /// Sample request: +// /// +// /// GET: api/Projects/5/Members +// /// +// /// +// /// Returns the project members +// [ProducesResponseType(StatusCodes.Status200OK)] +// [ProducesResponseType(StatusCodes.Status404NotFound)] +// [HttpGet("{id}/members")] +// public async Task>> GetProjectMembers(int id) +// { +// Project project = await _projectRepo.GetByIdAsync(id); +// if (project == null) +// { return NotFound(); } +// return project.GetMembers(); +// } + +// /// +// /// Updates a project members. +// /// +// /// +// /// Sample request: +// /// +// /// PUT: api/Projects/5/Members +// /// { +// /// "id": "357727fd-5262-4522-b8a3-38271d43de84", +// /// "firstName": "Thomas", +// /// "lastName": "Price", +// /// "presentation": "New Team?!", +// /// "email": "tp@mail.com", +// /// "phone": "0198237645" +// /// } +// /// +// /// No content +// [ProducesResponseType(StatusCodes.Status204NoContent)] +// [ProducesResponseType(StatusCodes.Status404NotFound)] +// [HttpPut("{id}/members")] +// public async Task> SetProjectMembers(int id, List projectMembers) +// { +// Project project = await _projectRepo.GetByIdAsync(id); +// if (project == null) +// { +// return NotFound(); +// } +// project.SetMembers(projectMembers); +// try +// { +// await _projectRepo.UpdateAsync(project); +// } +// catch (DbUpdateException /* ex */) +// { +// //Log the error (uncomment ex variable name and write a log.) +// ModelState.AddModelError("", "Unable to save changes. " + +// "Try again, and if the problem persists, " + +// "see your system administrator."); +// } +// return NoContent(); +// } + +// // /// +// // /// Assign a user to a project. +// // /// +// // /// +// // /// Sample request: +// // /// +// // /// POST: api/Projects/addmembers +// // /// [{ +// // /// "id": "357727fd-5262-4522-b8a3-38271d43de84", +// // /// "firstName": "Thomas", +// // /// "lastName": "Price", +// // /// "presentation": "New Team?!", +// // /// "email": "tp@mail.com", +// // /// "phone": "0198237645" +// // /// }] +// // /// +// // /// +// // /// Returns the created project +// // [ProducesResponseType(StatusCodes.Status204NoContent)] +// // [ProducesResponseType(StatusCodes.Status404NotFound)] +// // [HttpPut("{id}/addMembers")] +// // public async Task> AddMembersToProject(int id, List usersToAdd) +// // { +// // if (usersToAdd == null) +// // { +// // return BadRequest(); +// // } +// // Project project = await GetProjectByIdAsync(id); +// // project.AddMembers(usersToAdd); +// // try +// // { +// // await _context.SaveChangesAsync(); +// // } +// // catch (DbUpdateException /* ex */) +// // { +// // //Log the error (uncomment ex variable name and write a log.) +// // ModelState.AddModelError("", "Unable to save changes. " + +// // "Try again, and if the problem persists, " + +// // "see your system administrator."); +// // } +// // return NoContent(); +// // } + +// // /// +// // /// Remove a user to a project. +// // /// +// // /// +// // /// Sample request: +// // /// +// // /// PUT: api/Projects/removemembers +// // /// [{ +// // /// "id": "357727fd-5262-4522-b8a3-38271d43de84", +// // /// "firstName": "Thomas", +// // /// "lastName": "Price", +// // /// "presentation": "New Team?!", +// // /// "email": "tp@mail.com", +// // /// "phone": "0198237645" +// // /// }] +// // /// +// // /// +// // /// Returns the created project +// // [ProducesResponseType(StatusCodes.Status204NoContent)] +// // [ProducesResponseType(StatusCodes.Status404NotFound)] +// // [HttpPut("{id}/removeMembers")] +// // public async Task> RemoveMembersFromProject(int id, List usersToRemove) +// // { +// // Project project = await GetProjectByIdAsync(id); +// // project.RemoveMembers(usersToRemove); +// // try +// // { +// // await _context.SaveChangesAsync(); +// // } +// // catch (DbUpdateException /* ex */) +// // { +// // //Log the error (uncomment ex variable name and write a log.) +// // ModelState.AddModelError("", "Unable to save changes. " + +// // "Try again, and if the problem persists, " + +// // "see your system administrator."); +// // } +// // return NoContent(); +// // } + + + + +// } +// } diff --git a/Controllers/TicketsController.cs b/Controllers/TicketsController.cs index c61ce5b..17dac2c 100644 --- a/Controllers/TicketsController.cs +++ b/Controllers/TicketsController.cs @@ -131,7 +131,7 @@ namespace TicketManager.Controllers // .Include(p => p.Edits) // .Include(p => p.Notes) // .Include(p => p.Files) - .Include(p => p.Creator) + // .Include(p => p.Creator) ; } diff --git a/Data/GenericRepository.cs b/Data/GenericRepository.cs new file mode 100644 index 0000000..ac7d4e8 --- /dev/null +++ b/Data/GenericRepository.cs @@ -0,0 +1,52 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Linq.Expressions; +using System.Threading.Tasks; +using Microsoft.EntityFrameworkCore; + +namespace TicketManager.Data +{ + public class GenericRepository : IGenericRepository where T : class + { + protected readonly AppDbContext _context; + protected readonly DbSet _dbSet; + public GenericRepository(AppDbContext context) + { + _context = context; + _dbSet = _context.Set(); + } + + public void Add(T entity) + { + _dbSet.Add(entity); + } + + public void Delete(T entity) + { + if (_context.Entry(entity).State == EntityState.Detached) + { _dbSet.Attach(entity); } + _dbSet.Remove(entity); + } + + public async Task> Find(int id, Expression> expr) + { + return await _dbSet.Where(expr).AsNoTracking().ToListAsync(); + } + + public virtual async Task Get(int id) + { + return await _dbSet.FindAsync(id); + } + public virtual async Task> List() + { + return await _dbSet.AsNoTracking().ToListAsync(); + } + + public void Update(T entity) + { + _dbSet.Attach(entity); + _context.Entry(entity).State = EntityState.Modified; + } + } +} \ No newline at end of file diff --git a/Data/Interfaces/IGenericRepository.cs b/Data/Interfaces/IGenericRepository.cs new file mode 100644 index 0000000..e8594d8 --- /dev/null +++ b/Data/Interfaces/IGenericRepository.cs @@ -0,0 +1,20 @@ +using System; +using System.Linq.Expressions; +using System.Collections.Generic; +using System.Threading.Tasks; + +namespace TicketManager.Data +{ + public interface IGenericRepository where T : class + { + Task> List(); + Task Get(int id); + Task> Find(int id, Expression> expr); + + void Add(T entity); + + void Update(T entity); + + void Delete(T entity); + } +} \ No newline at end of file diff --git a/Data/Interfaces/IProjectRepository.cs b/Data/Interfaces/IProjectRepository.cs new file mode 100644 index 0000000..ea8c756 --- /dev/null +++ b/Data/Interfaces/IProjectRepository.cs @@ -0,0 +1,13 @@ +using System.Collections.Generic; +using System.Threading.Tasks; +using TicketManager.Models; + +namespace TicketManager.Data +{ + public interface IProjectRepository : IGenericRepository + { + bool Exists(int id); + Task> GetMembers(int id); + Task SetMembers(int id, List usersToAdd); + } +} \ No newline at end of file diff --git a/Data/Interfaces/IUnitOfWork.cs b/Data/Interfaces/IUnitOfWork.cs new file mode 100644 index 0000000..6a614f3 --- /dev/null +++ b/Data/Interfaces/IUnitOfWork.cs @@ -0,0 +1,11 @@ +using System; +using System.Threading.Tasks; + +namespace TicketManager.Data +{ + public interface IUnitOfWork : IDisposable + { + IProjectRepository Projects { get; } + Task Complete(); + } +} \ No newline at end of file diff --git a/Data/ProjectRepository working.cs b/Data/ProjectRepository working.cs new file mode 100644 index 0000000..c63560c --- /dev/null +++ b/Data/ProjectRepository working.cs @@ -0,0 +1,57 @@ +// using System.Threading.Tasks; +// using TicketManager.Models; +// using System.Linq; +// using Microsoft.EntityFrameworkCore; +// using System.Collections.Generic; +// using Microsoft.AspNetCore.Mvc; + +// namespace TicketManager.Data +// { +// public class ProjectRepository : IProjectRepository +// { +// private readonly AppDbContext _context; +// private readonly IQueryable _query; +// public ProjectRepository(AppDbContext context) +// { +// _context = context; +// _query = _context.Projects +// .Include(p => p.Assignments) +// .ThenInclude(a => a.User) +// .Include(p => p.Tickets) +// .Include(p => p.Manager) +// .Include(p => p.Files); +// } + +// public Task AddAsync(Project project) +// { +// _context.Projects.Add(project); +// return _context.SaveChangesAsync(); +// } + +// public async Task DeleteAsync(int id) +// { +// Project project = await GetByIdAsync(id); +// _context.Projects.Remove(project); +// return await _context.SaveChangesAsync(); +// } + +// public async Task GetByIdAsync(int id) +// { +// return await _query.FirstOrDefaultAsync(p => p.Id == id); +// } + +// public async Task> ListAsync() +// { +// return await _query.ToListAsync(); +// } + +// public Task UpdateAsync(Project project) +// { +// _context.Entry(project).State = EntityState.Modified; +// return _context.SaveChangesAsync(); +// } +// public bool Exists(int id) +// { return _context.Projects.Any(e => e.Id == id); } + +// } +// } \ No newline at end of file diff --git a/Data/ProjectRepository.cs b/Data/ProjectRepository.cs new file mode 100644 index 0000000..7349bfd --- /dev/null +++ b/Data/ProjectRepository.cs @@ -0,0 +1,46 @@ +using System.Threading.Tasks; +using TicketManager.Models; +using System.Linq; +using Microsoft.EntityFrameworkCore; +using System.Collections.Generic; + +namespace TicketManager.Data +{ + public class ProjectRepository : GenericRepository, IProjectRepository + { + private readonly IQueryable _query; + public ProjectRepository(AppDbContext context) : base(context) + { + _query = _dbSet + .Include(p => p.Assignments).ThenInclude(a => a.User) + .Include(p => p.Tickets) + .Include(p => p.Manager) + .Include(p => p.Files) + .AsNoTracking(); + } + + public override async Task Get(int id) + { + return await _query.FirstOrDefaultAsync(p => p.Id == id); + } + + public override async Task> List() + { + return await _query.ToListAsync(); + } + + public bool Exists(int id) + { return _dbSet.Any(e => e.Id == id); } + + public async Task> GetMembers(int id) + { + Project project = await Get(id); + return project.GetMembers(); + } + public async Task SetMembers(int id, List usersToAdd) + { + Project project = await Get(id); + project.SetMembers(usersToAdd); + } + } +} \ No newline at end of file diff --git a/Data/UnitOfWork.cs b/Data/UnitOfWork.cs new file mode 100644 index 0000000..ad82b8b --- /dev/null +++ b/Data/UnitOfWork.cs @@ -0,0 +1,27 @@ +using System; +using System.Threading.Tasks; + +namespace TicketManager.Data +{ + public class UnitOfWork : IUnitOfWork + { + private readonly AppDbContext _context; + public UnitOfWork(AppDbContext context) + { + _context = context; + Projects = new ProjectRepository(_context); + } + + public IProjectRepository Projects { get; private set; } + + public async Task Complete() + { + return await _context.SaveChangesAsync(); + } + + public void Dispose() + { + _context.DisposeAsync(); + } + } +} \ No newline at end of file diff --git a/Models/AppUser.cs b/Models/AppUser.cs index fb53b1a..8d81141 100644 --- a/Models/AppUser.cs +++ b/Models/AppUser.cs @@ -51,15 +51,6 @@ namespace TicketManager.Models return Assignments.Select(a => a.Project).ToList(); } - // public Project GetProject(int id) - // { - // return Assignments.Single(a => a.Project.Id == id).Project; - // } - - // public List GetProjectMembers(int id) - // { - // return GetProject(id).GetMembers(); - // } public List GetTickets() { List tickets = new List(); diff --git a/Models/Assignment.cs b/Models/Assignment.cs index 4d3c496..d31396e 100644 --- a/Models/Assignment.cs +++ b/Models/Assignment.cs @@ -4,7 +4,6 @@ namespace TicketManager.Models { public class Assignment { - // public int Id { get; set; } public AppUser User { get; set; } public Guid UserId { get; set; } public Project Project { get; set; } diff --git a/Models/Project.cs b/Models/Project.cs index 2048ccf..acebe5f 100644 --- a/Models/Project.cs +++ b/Models/Project.cs @@ -26,22 +26,36 @@ namespace TicketManager.Models [DisplayFormat(DataFormatString = "{0:yyyy-MM-dd}", ApplyFormatInEditMode = true)] public DateTime PlannedEnding { get; set; } - private decimal _progression; + // private decimal _progression; [Display(Name = "Progress")] public decimal Progression { get { - return _progression; - } - private set - { - _progression = Tickets.Count() == 0 ? 0 : + return Tickets.Count() == 0 ? 0 : (decimal)this.Tickets. Where(t => t.Status == Status.Done).Count() / this.Tickets.Count() * 100; } + // private set + // { + // _progression = + // } } + // public decimal Progression + // { + // get + // { + // return _progression; + // } + // private set + // { + // _progression = Tickets.Count() == 0 ? 0 : + // (decimal)this.Tickets. + // Where(t => t.Status == Status.Done).Count() + // / this.Tickets.Count() * 100; + // } + // } [Display(Name = "Project Status")] public Status Status { get; set; } = Status.ToDo; @@ -62,11 +76,12 @@ namespace TicketManager.Models { return this.Assignments.Select(a => a.User).ToList(); } + public void AddMembers(List usersToAdd) { foreach (var user in usersToAdd) { - Assignment newAssign = new Assignment() + Assignment newAssign = new Assignment { Project = this, ProjectId = this.Id, @@ -74,9 +89,10 @@ namespace TicketManager.Models UserId = user.Id }; this.Assignments.Add(newAssign); - // AddLogEntry(this, " joined the project."); + user.Assignments.Add(newAssign); } } + public void RemoveMembers(List membersToRemove) { this.Assignments.RemoveAll(a => membersToRemove.Contains(a.User)); @@ -102,27 +118,15 @@ namespace TicketManager.Models { this.AddMembers(projectMembers); } - } - public int GetMembersCount() => this.GetMembers().Count(); - public void GetTicketsCount() => this.Tickets.Count(); + // public int GetMembersCount() => this.GetMembers().Count(); + // public void GetTicketsCount() => this.Tickets.Count(); public void GetTicketsUpdates() { throw new NotImplementedException("Not Implemented"); } + public void Close() { this.Status = Status.Done; } - - // private void AddLogEntry(string description)//, User user) - // { - // History Edit = new History() - // { - // Description = description, - // ActivityType = ActivityType.Undefined, - // // User = user, - // UpdateDate = DateTime.Now - // }; - // this.Edits.Add(Edit); - // } } } \ No newline at end of file diff --git a/Models/Ticket.cs b/Models/Ticket.cs index 29c5e01..abd1ede 100644 --- a/Models/Ticket.cs +++ b/Models/Ticket.cs @@ -30,12 +30,12 @@ namespace TicketManager.Models public Category Category { get; set; } = Category.Undefined; [Display(Name = "Created By")] - public AppUser Creator { get; set; } + // public AppUser Creator { get; set; } public Guid CreatorId { get; set; } [Display(Name = "Project")] public Project Project { get; set; } - public int ProjectId { get; set; } + // public int ProjectId { get; set; } public List Notes = new List(); public List Edits = new List(); diff --git a/README.md b/README.md index 0b0c2eb..d37ede2 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,11 @@ - Annotate API request in controllers - Annotate Properties in Models - Write backend tests +- Have a Look at typeahead component - Ensure Tickets Edits belong to Project Edits - Ensure Tickets Files belong to Project Files -- Write a query class to refactor code and optimize perf on get queries (AsNoTracking) - Async model methods ? - setMembers & removeMembers from project api not working +- Write a query class to refactor code and optimize perf on get queries (AsNoTracking) +- repository + strategy to decouple controllers from DbContext. Easier testing +- update assignments automatically from context diff --git a/Scripts/cleanDevDb.sh b/Scripts/cleanDevDb.sh new file mode 100755 index 0000000..f470323 --- /dev/null +++ b/Scripts/cleanDevDb.sh @@ -0,0 +1,5 @@ +rm -r Migrations +rm app.db +dotnet ef migrations add Migration1 +dotnet ef database update +dotnet run \ No newline at end of file diff --git a/Scripts/scaffoldControllers.sh b/Scripts/scaffoldControllers.sh new file mode 100755 index 0000000..e68e6a7 --- /dev/null +++ b/Scripts/scaffoldControllers.sh @@ -0,0 +1,6 @@ +rm Controllers/AppUsersController.cs +rm Controllers/TicketsController.cs +rm Controllers/ProjectsController.cs +dotnet aspnet-codegenerator controller -name AppUsersController -async -api -m AppUser -dc AppDbContext -outDir Controllers +dotnet aspnet-codegenerator controller -name TicketsController -async -api -m Ticket -dc AppDbContext -outDir Controllers +dotnet aspnet-codegenerator controller -name ProjectsController -async -api -m Project -dc AppDbContext -outDir Controllers \ No newline at end of file diff --git a/Startup.cs b/Startup.cs index b169da0..9c41d9c 100644 --- a/Startup.cs +++ b/Startup.cs @@ -37,6 +37,7 @@ namespace TicketManager { services.AddDbContext(options => options.UseSqlite(Configuration.GetConnectionString("Sqlite"))); + services.AddScoped(); services.AddControllers() .AddNewtonsoftJson(options => { @@ -72,11 +73,14 @@ namespace TicketManager // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IWebHostEnvironment env) + public void Configure(IApplicationBuilder app, IWebHostEnvironment env, IServiceProvider serviceProvider) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); + var repository = serviceProvider.GetRequiredService(); + + // InitializeDatabaseAsync(repository).Wait() } else { diff --git a/Tests/TicketManager.Tests/TicketManager.Tests.csproj b/Tests/TicketManager.Tests/TicketManager.Tests.csproj new file mode 100644 index 0000000..ae43c8f --- /dev/null +++ b/Tests/TicketManager.Tests/TicketManager.Tests.csproj @@ -0,0 +1,16 @@ + + + netcoreapp3.1 + false + + + + + + + + + + + + \ No newline at end of file diff --git a/Tests/TicketManager.Tests/UnitTests/AppUserModelTests.cs b/Tests/TicketManager.Tests/UnitTests/AppUserModelTests.cs new file mode 100644 index 0000000..8243ef1 --- /dev/null +++ b/Tests/TicketManager.Tests/UnitTests/AppUserModelTests.cs @@ -0,0 +1,83 @@ +using Xunit; +using TicketManager.Models; + +namespace TicketManager.Tests +{ + public class AppUserModelTests + { + [Fact] + public void GetProjects_Returns3Projects() + { + AppUser user = new AppUser(); + Project p1 = new Project(); + Project p2 = new Project(); + Project p3 = new Project(); + + Assignment a1 = new Assignment() + { + User = user, + Project = p1 + }; + user.Assignments.Add(a1); + Assignment a2 = new Assignment() + { + User = user, + Project = p2 + }; + user.Assignments.Add(a2); + Assignment a3 = new Assignment() + { + User = user, + Project = p3 + }; + user.Assignments.Add(a3); + + var res = user.GetProjects().Count; + Assert.Equal(3, res); + } + + [Fact] + public void GetTickets_Returns6Tickets() + { + AppUser user = new AppUser(); + Project p1 = new Project(); + Project p2 = new Project(); + Project p3 = new Project(); + Ticket t1 = new Ticket(); + Ticket t2 = new Ticket(); + Ticket t3 = new Ticket(); + Ticket t4 = new Ticket(); + Ticket t5 = new Ticket(); + Ticket t6 = new Ticket(); + + Assignment a1 = new Assignment() + { + User = user, + Project = p1 + }; + user.Assignments.Add(a1); + Assignment a2 = new Assignment() + { + User = user, + Project = p2 + }; + user.Assignments.Add(a2); + Assignment a3 = new Assignment() + { + User = user, + Project = p3 + }; + user.Assignments.Add(a3); + + p1.Tickets.Add(t1); + p2.Tickets.Add(t2); + p2.Tickets.Add(t3); + p3.Tickets.Add(t4); + p3.Tickets.Add(t5); + p3.Tickets.Add(t6); + + var res = user.GetTickets().Count; + Assert.Equal(6, res); + } + } +} diff --git a/Tests/TicketManager.Tests/UnitTests/ProjectControllerTests.cs b/Tests/TicketManager.Tests/UnitTests/ProjectControllerTests.cs new file mode 100644 index 0000000..6e1d788 --- /dev/null +++ b/Tests/TicketManager.Tests/UnitTests/ProjectControllerTests.cs @@ -0,0 +1,32 @@ +using System; +using Xunit; +using System.Collections.Generic; +using TicketManager.Controllers; +using TicketManager.Data; +using TicketManager.Models; + +namespace TicketManager.Tests +{ + public class ProjectsControllerTests + { + + + public ProjectsControllerTests() + { + // _context = context; + } + + // [Fact] + // public void Get_ReturnsProjectList() + // { + // // Arange + // // var controller = new ProjectsController(); + + // // Act + // // var result = controller.GetProjects(); + + // // Assert + // // Assert.IsType>(result); + // } + } +} diff --git a/Tests/TicketManager.Tests/UnitTests/ProjectModelTests.cs b/Tests/TicketManager.Tests/UnitTests/ProjectModelTests.cs new file mode 100644 index 0000000..d258e2c --- /dev/null +++ b/Tests/TicketManager.Tests/UnitTests/ProjectModelTests.cs @@ -0,0 +1,115 @@ +using System.Linq; +using Xunit; +using System.Collections.Generic; +using TicketManager.Models; + +namespace TicketManager.Tests +{ + public class ProjectModelTests + { + [Fact] + public void InitProgressIsSetTo0() + { + Project project = new Project(); + Assert.Equal(0, project.Progression); + } + + [Fact] + public void Progress_Returns50() + { + Project project = new Project(); + Ticket t1 = new Ticket() { Status = Status.Done }; + Ticket t2 = new Ticket(); + + project.Tickets.Add(t1); + project.Tickets.Add(t2); + + Assert.Equal(50, project.Progression); + } + + [Fact] + public void GetMembers_Returns2Assignments() + { + Project project = new Project(); + AppUser u1 = new AppUser(); + AppUser u2 = new AppUser(); + + Assignment a1 = new Assignment() + { + User = u1, + Project = project + }; + Assignment a2 = new Assignment() + { + User = u2, + Project = project + }; + project.Assignments.Add(a1); + project.Assignments.Add(a2); + var res = project.GetMembers().Count(); + Assert.Equal(2, res); + } + + [Fact] + public void AddMembers_Add3Assignments() + { + Project project = new Project(); + AppUser u1 = new AppUser(); + AppUser u2 = new AppUser(); + AppUser u3 = new AppUser(); + + project.AddMembers(new List { u1, u2, u3 }); + var res = project.GetMembers().Count(); + Assert.Equal(3, res); + } + + [Fact] + public void RemoveMembers_Delete1Assignment() + { + Project project = new Project(); + AppUser u1 = new AppUser(); + AppUser u2 = new AppUser(); + AppUser u3 = new AppUser(); + + project.AddMembers(new List { u1, u2, u3 }); + project.RemoveMembers(new List { u2 }); + var res = project.GetMembers().Count(); + Assert.Equal(2, res); + } + + [Fact] + public void SetMembers_Add3Assignments() + { + Project project = new Project(); + AppUser u1 = new AppUser(); + AppUser u2 = new AppUser(); + AppUser u3 = new AppUser(); + + project.SetMembers(new List { u1, u2, u3 }); + var res = project.GetMembers().Count(); + Assert.Equal(3, res); + } + + [Fact] + public void SetMembers_Delete2Assignment() + { + Project project = new Project(); + AppUser u1 = new AppUser(); + AppUser u2 = new AppUser(); + AppUser u3 = new AppUser(); + + project.SetMembers(new List { u1, u2, u3 }); + project.SetMembers(new List { u2 }); + var res = project.GetMembers().Count(); + Assert.Equal(1, res); + } + + [Fact] + public void CloseProject_IsClosed() + { + Project project = new Project() { Status = Status.InProgress }; + project.Close(); + Assert.Equal(Status.Done, project.Status); + } + } +} diff --git a/Tests/TicketManager.Tests/UnitTests/TicketModelTests.cs b/Tests/TicketManager.Tests/UnitTests/TicketModelTests.cs new file mode 100644 index 0000000..5aee016 --- /dev/null +++ b/Tests/TicketManager.Tests/UnitTests/TicketModelTests.cs @@ -0,0 +1,36 @@ +using Xunit; +using TicketManager.Models; + +namespace TicketManager.Tests +{ + public class TicketModelTests + { + [Fact] + public void GetAssignees_Returns2() + { + Project project = new Project(); + Ticket ticket = new Ticket() { Project = project }; + AppUser user = new AppUser(); + AppUser user1 = new AppUser(); + Assignment assignment = new Assignment() + { + User = user, + Project = project + }; + project.Assignments.Add(assignment); + user.Assignments.Add(assignment); + + Assignment assignment1 = new Assignment() + { + User = user1, + Project = project + }; + project.Assignments.Add(assignment); + user.Assignments.Add(assignment); + + Assert.Equal(2, ticket.GetAssignees().Count); + } + + + } +} diff --git a/TicketManager.csproj b/TicketManager.csproj index a122478..397adb0 100644 --- a/TicketManager.csproj +++ b/TicketManager.csproj @@ -30,6 +30,7 @@ + diff --git a/TicketManager.sln b/TicketManager.sln new file mode 100644 index 0000000..87194a4 --- /dev/null +++ b/TicketManager.sln @@ -0,0 +1,17 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TicketManager", "TicketManager.csproj", "{45950CBF-5519-440D-AD30-35816EA6E48F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {45950CBF-5519-440D-AD30-35816EA6E48F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {45950CBF-5519-440D-AD30-35816EA6E48F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {45950CBF-5519-440D-AD30-35816EA6E48F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {45950CBF-5519-440D-AD30-35816EA6E48F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/client/.gitignore b/client/.gitignore index 4d29575..46e52b7 100644 --- a/client/.gitignore +++ b/client/.gitignore @@ -1,5 +1,7 @@ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. +react-app-env.d.ts + # dependencies /node_modules /.pnp diff --git a/client/README.md b/client/README.md deleted file mode 100644 index 859d27a..0000000 --- a/client/README.md +++ /dev/null @@ -1,68 +0,0 @@ -This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). - -## Available Scripts - -In the project directory, you can run: - -### `npm start` - -Runs the app in the development mode.
-Open [http://localhost:3000](http://localhost:3000) to view it in the browser. - -The page will reload if you make edits.
-You will also see any lint errors in the console. - -### `npm test` - -Launches the test runner in the interactive watch mode.
-See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. - -### `npm run build` - -Builds the app for production to the `build` folder.
-It correctly bundles React in production mode and optimizes the build for the best performance. - -The build is minified and the filenames include the hashes.
-Your app is ready to be deployed! - -See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. - -### `npm run eject` - -**Note: this is a one-way operation. Once you `eject`, you can’t go back!** - -If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. - -Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. - -You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. - -## Learn More - -You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). - -To learn React, check out the [React documentation](https://reactjs.org/). - -### Code Splitting - -This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting - -### Analyzing the Bundle Size - -This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size - -### Making a Progressive Web App - -This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app - -### Advanced Configuration - -This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration - -### Deployment - -This section has moved here: https://facebook.github.io/create-react-app/docs/deployment - -### `npm run build` fails to minify - -This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify diff --git a/client/package-lock.json b/client/package-lock.json index 4af8897..a28c305 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1503,6 +1503,11 @@ "@types/node": "*" } }, + "@types/history": { + "version": "4.7.5", + "resolved": "https://registry.npmjs.org/@types/history/-/history-4.7.5.tgz", + "integrity": "sha512-wLD/Aq2VggCJXSjxEwrMafIP51Z+13H78nXIX0ABEuIGhmB5sNGbR113MOKo+yfw+RDo1ZU3DM6yfnnRF/+ouw==" + }, "@types/istanbul-lib-coverage": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz", @@ -1525,6 +1530,14 @@ "@types/istanbul-lib-report": "*" } }, + "@types/jest": { + "version": "24.9.1", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-24.9.1.tgz", + "integrity": "sha512-Fb38HkXSVA4L8fGKEZ6le5bB8r6MRWlOCZbVuWZcmOMSCd2wCYOwN1ibj8daIoV9naq7aaOZjrLCoCMptKU/4Q==", + "requires": { + "jest-diff": "^24.3.0" + } + }, "@types/json-schema": { "version": "7.0.4", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.4.tgz", @@ -1536,9 +1549,9 @@ "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==" }, "@types/node": { - "version": "13.7.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-13.7.0.tgz", - "integrity": "sha512-GnZbirvmqZUzMgkFn70c74OQpTTUcCzlhQliTzYjQMqg+hVKcDnxdL19Ne3UdYzdMA/+W3eb646FWn/ZaT1NfQ==" + "version": "12.12.26", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.26.tgz", + "integrity": "sha512-UmUm94/QZvU5xLcUlNR8hA7Ac+fGpO1EG/a8bcWVz0P0LqtxFmun9Y2bbtuckwGboWJIT70DoWq1r3hb56n3DA==" }, "@types/parse-json": { "version": "4.0.0", @@ -1572,6 +1585,25 @@ "@types/react": "*" } }, + "@types/react-router": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/@types/react-router/-/react-router-5.1.4.tgz", + "integrity": "sha512-PZtnBuyfL07sqCJvGg3z+0+kt6fobc/xmle08jBiezLS8FrmGeiGkJnuxL/8Zgy9L83ypUhniV5atZn/L8n9MQ==", + "requires": { + "@types/history": "*", + "@types/react": "*" + } + }, + "@types/react-router-dom": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/@types/react-router-dom/-/react-router-dom-5.1.3.tgz", + "integrity": "sha512-pCq7AkOvjE65jkGS5fQwQhvUp4+4PVD9g39gXLZViP2UqFiFzsEpB3PKf0O6mdbKsewSK8N14/eegisa/0CwnA==", + "requires": { + "@types/history": "*", + "@types/react": "*", + "@types/react-router": "*" + } + }, "@types/stack-utils": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-1.0.1.tgz", @@ -4328,9 +4360,9 @@ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "escodegen": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.13.0.tgz", - "integrity": "sha512-eYk2dCkxR07DsHA/X2hRBj0CFAZeri/LyDMc0C8JT1Hqi6JnVpMhJ7XFITbb0+yZS3lVkaPL2oCkZ3AVmeVbMw==", + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.1.tgz", + "integrity": "sha512-Bmt7NcRySdIfNPfU2ZoXDrrXsG9ZjvDxcAlMfDUgRBjLOWTuIACXPBFJH7Z+cLb40JeQco5toikyc9t9P8E9SQ==", "requires": { "esprima": "^4.0.1", "estraverse": "^4.2.0", @@ -5633,6 +5665,11 @@ "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=" }, + "gud": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gud/-/gud-1.0.0.tgz", + "integrity": "sha512-zGEOVKFM5sVPPrYs7J5/hYEw2Pof8KCyOwyhG8sAF26mCAeUFAcYPu1mwB7hhpIP29zOIBaDqwuHdLp0jvZXjw==" + }, "gzip-size": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-5.1.1.tgz", @@ -5763,6 +5800,19 @@ "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz", "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==" }, + "history": { + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/history/-/history-4.10.1.tgz", + "integrity": "sha512-36nwAD620w12kuzPAsyINPWJqlNbij+hpK1k9XRloDtym8mxzGYl2c17LnV6IAGB2Dmg4tEa7G7DlawS0+qjew==", + "requires": { + "@babel/runtime": "^7.1.2", + "loose-envify": "^1.2.0", + "resolve-pathname": "^3.0.0", + "tiny-invariant": "^1.0.2", + "tiny-warning": "^1.0.0", + "value-equal": "^1.0.1" + } + }, "hmac-drbg": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", @@ -5773,6 +5823,14 @@ "minimalistic-crypto-utils": "^1.0.1" } }, + "hoist-non-react-statics": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", + "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", + "requires": { + "react-is": "^16.7.0" + } + }, "hosted-git-info": { "version": "2.8.5", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz", @@ -6711,22 +6769,26 @@ "dependencies": { "abbrev": { "version": "1.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "optional": true }, "ansi-regex": { "version": "2.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "optional": true }, "aproba": { "version": "1.2.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", "optional": true }, "are-we-there-yet": { "version": "1.1.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", "optional": true, "requires": { "delegates": "^1.0.0", @@ -6735,12 +6797,14 @@ }, "balanced-match": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "optional": true }, "brace-expansion": { "version": "1.1.11", - "bundled": true, + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "optional": true, "requires": { "balanced-match": "^1.0.0", @@ -6749,32 +6813,38 @@ }, "chownr": { "version": "1.1.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz", + "integrity": "sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw==", "optional": true }, "code-point-at": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "optional": true }, "concat-map": { "version": "0.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "optional": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", "optional": true }, "core-util-is": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "optional": true }, "debug": { "version": "3.2.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", "optional": true, "requires": { "ms": "^2.1.1" @@ -6782,22 +6852,26 @@ }, "deep-extend": { "version": "0.6.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "optional": true }, "delegates": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", "optional": true }, "detect-libc": { "version": "1.0.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", "optional": true }, "fs-minipass": { "version": "1.2.7", - "bundled": true, + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", "optional": true, "requires": { "minipass": "^2.6.0" @@ -6805,12 +6879,14 @@ }, "fs.realpath": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "optional": true }, "gauge": { "version": "2.7.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", "optional": true, "requires": { "aproba": "^1.0.3", @@ -6825,7 +6901,8 @@ }, "glob": { "version": "7.1.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", "optional": true, "requires": { "fs.realpath": "^1.0.0", @@ -6838,12 +6915,14 @@ }, "has-unicode": { "version": "2.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", "optional": true }, "iconv-lite": { "version": "0.4.24", - "bundled": true, + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "optional": true, "requires": { "safer-buffer": ">= 2.1.2 < 3" @@ -6851,7 +6930,8 @@ }, "ignore-walk": { "version": "3.0.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz", + "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==", "optional": true, "requires": { "minimatch": "^3.0.4" @@ -6859,7 +6939,8 @@ }, "inflight": { "version": "1.0.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "optional": true, "requires": { "once": "^1.3.0", @@ -6868,17 +6949,20 @@ }, "inherits": { "version": "2.0.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "optional": true }, "ini": { "version": "1.3.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", "optional": true }, "is-fullwidth-code-point": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "optional": true, "requires": { "number-is-nan": "^1.0.0" @@ -6886,12 +6970,14 @@ }, "isarray": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "optional": true }, "minimatch": { "version": "3.0.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "optional": true, "requires": { "brace-expansion": "^1.1.7" @@ -6899,12 +6985,14 @@ }, "minimist": { "version": "0.0.8", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "optional": true }, "minipass": { "version": "2.9.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", "optional": true, "requires": { "safe-buffer": "^5.1.2", @@ -6913,7 +7001,8 @@ }, "minizlib": { "version": "1.3.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", "optional": true, "requires": { "minipass": "^2.9.0" @@ -6921,7 +7010,8 @@ }, "mkdirp": { "version": "0.5.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "optional": true, "requires": { "minimist": "0.0.8" @@ -6929,12 +7019,14 @@ }, "ms": { "version": "2.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "optional": true }, "needle": { "version": "2.4.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/needle/-/needle-2.4.0.tgz", + "integrity": "sha512-4Hnwzr3mi5L97hMYeNl8wRW/Onhy4nUKR/lVemJ8gJedxxUyBLm9kkrDColJvoSfwi0jCNhD+xCdOtiGDQiRZg==", "optional": true, "requires": { "debug": "^3.2.6", @@ -6944,7 +7036,8 @@ }, "node-pre-gyp": { "version": "0.14.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz", + "integrity": "sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA==", "optional": true, "requires": { "detect-libc": "^1.0.2", @@ -6961,7 +7054,8 @@ }, "nopt": { "version": "4.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", + "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", "optional": true, "requires": { "abbrev": "1", @@ -6970,7 +7064,8 @@ }, "npm-bundled": { "version": "1.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.1.tgz", + "integrity": "sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA==", "optional": true, "requires": { "npm-normalize-package-bin": "^1.0.1" @@ -6978,12 +7073,14 @@ }, "npm-normalize-package-bin": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", + "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", "optional": true }, "npm-packlist": { "version": "1.4.7", - "bundled": true, + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.7.tgz", + "integrity": "sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ==", "optional": true, "requires": { "ignore-walk": "^3.0.1", @@ -6992,7 +7089,8 @@ }, "npmlog": { "version": "4.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "optional": true, "requires": { "are-we-there-yet": "~1.1.2", @@ -7003,17 +7101,20 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", "optional": true }, "object-assign": { "version": "4.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "optional": true }, "once": { "version": "1.4.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "optional": true, "requires": { "wrappy": "1" @@ -7021,17 +7122,20 @@ }, "os-homedir": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "optional": true }, "os-tmpdir": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "optional": true }, "osenv": { "version": "0.1.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "optional": true, "requires": { "os-homedir": "^1.0.0", @@ -7040,17 +7144,20 @@ }, "path-is-absolute": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "optional": true }, "process-nextick-args": { "version": "2.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", "optional": true }, "rc": { "version": "1.2.8", - "bundled": true, + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "optional": true, "requires": { "deep-extend": "^0.6.0", @@ -7061,14 +7168,16 @@ "dependencies": { "minimist": { "version": "1.2.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "optional": true } } }, "readable-stream": { "version": "2.3.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "optional": true, "requires": { "core-util-is": "~1.0.0", @@ -7082,7 +7191,8 @@ }, "rimraf": { "version": "2.7.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", "optional": true, "requires": { "glob": "^7.1.3" @@ -7090,37 +7200,44 @@ }, "safe-buffer": { "version": "5.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "optional": true }, "safer-buffer": { "version": "2.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "optional": true }, "sax": { "version": "1.2.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "optional": true }, "semver": { "version": "5.7.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "optional": true }, "set-blocking": { "version": "2.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "optional": true }, "signal-exit": { "version": "3.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "optional": true }, "string-width": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "optional": true, "requires": { "code-point-at": "^1.0.0", @@ -7130,7 +7247,8 @@ }, "string_decoder": { "version": "1.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "optional": true, "requires": { "safe-buffer": "~5.1.0" @@ -7138,7 +7256,8 @@ }, "strip-ansi": { "version": "3.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "optional": true, "requires": { "ansi-regex": "^2.0.0" @@ -7146,12 +7265,14 @@ }, "strip-json-comments": { "version": "2.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", "optional": true }, "tar": { "version": "4.4.13", - "bundled": true, + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz", + "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==", "optional": true, "requires": { "chownr": "^1.1.1", @@ -7165,12 +7286,14 @@ }, "util-deprecate": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "optional": true }, "wide-align": { "version": "1.1.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", "optional": true, "requires": { "string-width": "^1.0.2 || 2" @@ -7178,12 +7301,14 @@ }, "wrappy": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "optional": true }, "yallist": { "version": "3.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "optional": true } } @@ -8081,6 +8206,16 @@ "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.0.tgz", "integrity": "sha1-z8RcN+nsDY8KDsPdTvf3w6vjklY=" }, + "mini-create-react-context": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/mini-create-react-context/-/mini-create-react-context-0.3.2.tgz", + "integrity": "sha512-2v+OeetEyliMt5VHMXsBhABoJ0/M4RCe7fatd/fBy6SMiKazUSEt3gxxypfnk2SHMkdBYvorHRoQxuGoiwbzAw==", + "requires": { + "@babel/runtime": "^7.4.0", + "gud": "^1.0.0", + "tiny-warning": "^1.0.2" + } + }, "mini-css-extract-plugin": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-0.9.0.tgz", @@ -8438,9 +8573,9 @@ } }, "node-releases": { - "version": "1.1.47", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.47.tgz", - "integrity": "sha512-k4xjVPx5FpwBUj0Gw7uvFOTF4Ep8Hok1I6qjwL3pLfwe7Y0REQSAqOwwv9TWBCUtMHxcXfY4PgRLRozcChvTcA==", + "version": "1.1.48", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.48.tgz", + "integrity": "sha512-Hr8BbmUl1ujAST0K0snItzEA5zkJTQup8VNTKNfT6Zw8vTJkIiagUPNfxHmgDOyfFYNfKAul40sD0UEYTvwebw==", "requires": { "semver": "^6.3.0" } @@ -10447,6 +10582,52 @@ "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.12.0.tgz", "integrity": "sha512-rPCkf/mWBtKc97aLL9/txD8DZdemK0vkA3JMLShjlJB3Pj3s+lpf1KaBzMfQrAmhMQB0n1cU/SUGgKKBCe837Q==" }, + "react-router": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.1.2.tgz", + "integrity": "sha512-yjEuMFy1ONK246B+rsa0cUam5OeAQ8pyclRDgpxuSCrAlJ1qN9uZ5IgyKC7gQg0w8OM50NXHEegPh/ks9YuR2A==", + "requires": { + "@babel/runtime": "^7.1.2", + "history": "^4.9.0", + "hoist-non-react-statics": "^3.1.0", + "loose-envify": "^1.3.1", + "mini-create-react-context": "^0.3.0", + "path-to-regexp": "^1.7.0", + "prop-types": "^15.6.2", + "react-is": "^16.6.0", + "tiny-invariant": "^1.0.2", + "tiny-warning": "^1.0.0" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + }, + "path-to-regexp": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", + "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", + "requires": { + "isarray": "0.0.1" + } + } + } + }, + "react-router-dom": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-5.1.2.tgz", + "integrity": "sha512-7BPHAaIwWpZS074UKaw1FjVdZBSVWEk8IuDXdB+OkLb8vd/WRQIpA4ag9WQk61aEfQs47wHyjWUoUGGZxpQXew==", + "requires": { + "@babel/runtime": "^7.1.2", + "history": "^4.9.0", + "loose-envify": "^1.3.1", + "prop-types": "^15.6.2", + "react-router": "5.1.2", + "tiny-invariant": "^1.0.2", + "tiny-warning": "^1.0.0" + } + }, "react-scripts": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/react-scripts/-/react-scripts-3.3.1.tgz", @@ -10825,6 +11006,11 @@ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=" }, + "resolve-pathname": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-pathname/-/resolve-pathname-3.0.0.tgz", + "integrity": "sha512-C7rARubxI8bXFNB/hqcp/4iUeIXJhJZvFPFPiSPRnhU5UPxzMFIl+2E6yY6c4k9giDJAhtV+enfA+G89N6Csng==" + }, "resolve-url": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", @@ -12197,6 +12383,16 @@ "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz", "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=" }, + "tiny-invariant": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.1.0.tgz", + "integrity": "sha512-ytxQvrb1cPc9WBEI/HSeYYoGD0kWnGEOR8RY6KomWLBVhqz0RgTwVO9dLrGz7dC+nN9llyI7OKAgRq8Vq4ZBSw==" + }, + "tiny-warning": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", + "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==" + }, "tmp": { "version": "0.0.33", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", @@ -12338,6 +12534,11 @@ "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" }, + "typescript": { + "version": "3.7.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz", + "integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==" + }, "unicode-canonical-property-names-ecmascript": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", @@ -12573,6 +12774,11 @@ "spdx-expression-parse": "^3.0.0" } }, + "value-equal": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/value-equal/-/value-equal-1.0.1.tgz", + "integrity": "sha512-NOJ6JZCAWr0zlxZt+xqCHNTEKOsrks2HQd4MqhP1qy4z1SkbEP467eNx6TgDKXMvUOb+OENfJCZwM+16n7fRfw==" + }, "vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", @@ -12617,9 +12823,9 @@ } }, "wait-for-expect": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/wait-for-expect/-/wait-for-expect-3.0.1.tgz", - "integrity": "sha512-3Ha7lu+zshEG/CeHdcpmQsZnnZpPj/UsG3DuKO8FskjuDbkx3jE3845H+CuwZjA2YWYDfKMU2KhnCaXMLd3wVw==" + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/wait-for-expect/-/wait-for-expect-3.0.2.tgz", + "integrity": "sha512-cfS1+DZxuav1aBYbaO/kE06EOS8yRw7qOFoD3XtjTkYvCvh3zUvNST8DXK/nPaeqIzIv3P3kL3lRJn8iwOiSag==" }, "walker": { "version": "1.0.7", @@ -12676,22 +12882,26 @@ "dependencies": { "abbrev": { "version": "1.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "optional": true }, "ansi-regex": { "version": "2.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "optional": true }, "aproba": { "version": "1.2.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", "optional": true }, "are-we-there-yet": { "version": "1.1.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", "optional": true, "requires": { "delegates": "^1.0.0", @@ -12700,12 +12910,14 @@ }, "balanced-match": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "optional": true }, "brace-expansion": { "version": "1.1.11", - "bundled": true, + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "optional": true, "requires": { "balanced-match": "^1.0.0", @@ -12714,32 +12926,38 @@ }, "chownr": { "version": "1.1.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz", + "integrity": "sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw==", "optional": true }, "code-point-at": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "optional": true }, "concat-map": { "version": "0.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "optional": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", "optional": true }, "core-util-is": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "optional": true }, "debug": { "version": "3.2.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", "optional": true, "requires": { "ms": "^2.1.1" @@ -12747,22 +12965,26 @@ }, "deep-extend": { "version": "0.6.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "optional": true }, "delegates": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", "optional": true }, "detect-libc": { "version": "1.0.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", "optional": true }, "fs-minipass": { "version": "1.2.7", - "bundled": true, + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", "optional": true, "requires": { "minipass": "^2.6.0" @@ -12770,12 +12992,14 @@ }, "fs.realpath": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "optional": true }, "gauge": { "version": "2.7.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", "optional": true, "requires": { "aproba": "^1.0.3", @@ -12790,7 +13014,8 @@ }, "glob": { "version": "7.1.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", "optional": true, "requires": { "fs.realpath": "^1.0.0", @@ -12803,12 +13028,14 @@ }, "has-unicode": { "version": "2.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", "optional": true }, "iconv-lite": { "version": "0.4.24", - "bundled": true, + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "optional": true, "requires": { "safer-buffer": ">= 2.1.2 < 3" @@ -12816,7 +13043,8 @@ }, "ignore-walk": { "version": "3.0.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz", + "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==", "optional": true, "requires": { "minimatch": "^3.0.4" @@ -12824,7 +13052,8 @@ }, "inflight": { "version": "1.0.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "optional": true, "requires": { "once": "^1.3.0", @@ -12833,17 +13062,20 @@ }, "inherits": { "version": "2.0.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "optional": true }, "ini": { "version": "1.3.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", "optional": true }, "is-fullwidth-code-point": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "optional": true, "requires": { "number-is-nan": "^1.0.0" @@ -12851,12 +13083,14 @@ }, "isarray": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "optional": true }, "minimatch": { "version": "3.0.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "optional": true, "requires": { "brace-expansion": "^1.1.7" @@ -12864,12 +13098,14 @@ }, "minimist": { "version": "0.0.8", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "optional": true }, "minipass": { "version": "2.9.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", "optional": true, "requires": { "safe-buffer": "^5.1.2", @@ -12878,7 +13114,8 @@ }, "minizlib": { "version": "1.3.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", "optional": true, "requires": { "minipass": "^2.9.0" @@ -12886,7 +13123,8 @@ }, "mkdirp": { "version": "0.5.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "optional": true, "requires": { "minimist": "0.0.8" @@ -12894,12 +13132,14 @@ }, "ms": { "version": "2.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "optional": true }, "needle": { "version": "2.4.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/needle/-/needle-2.4.0.tgz", + "integrity": "sha512-4Hnwzr3mi5L97hMYeNl8wRW/Onhy4nUKR/lVemJ8gJedxxUyBLm9kkrDColJvoSfwi0jCNhD+xCdOtiGDQiRZg==", "optional": true, "requires": { "debug": "^3.2.6", @@ -12909,7 +13149,8 @@ }, "node-pre-gyp": { "version": "0.14.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz", + "integrity": "sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA==", "optional": true, "requires": { "detect-libc": "^1.0.2", @@ -12926,7 +13167,8 @@ }, "nopt": { "version": "4.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", + "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", "optional": true, "requires": { "abbrev": "1", @@ -12935,7 +13177,8 @@ }, "npm-bundled": { "version": "1.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.1.tgz", + "integrity": "sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA==", "optional": true, "requires": { "npm-normalize-package-bin": "^1.0.1" @@ -12943,12 +13186,14 @@ }, "npm-normalize-package-bin": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", + "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", "optional": true }, "npm-packlist": { "version": "1.4.7", - "bundled": true, + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.7.tgz", + "integrity": "sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ==", "optional": true, "requires": { "ignore-walk": "^3.0.1", @@ -12957,7 +13202,8 @@ }, "npmlog": { "version": "4.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "optional": true, "requires": { "are-we-there-yet": "~1.1.2", @@ -12968,17 +13214,20 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", "optional": true }, "object-assign": { "version": "4.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "optional": true }, "once": { "version": "1.4.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "optional": true, "requires": { "wrappy": "1" @@ -12986,17 +13235,20 @@ }, "os-homedir": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "optional": true }, "os-tmpdir": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "optional": true }, "osenv": { "version": "0.1.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "optional": true, "requires": { "os-homedir": "^1.0.0", @@ -13005,17 +13257,20 @@ }, "path-is-absolute": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "optional": true }, "process-nextick-args": { "version": "2.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", "optional": true }, "rc": { "version": "1.2.8", - "bundled": true, + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "optional": true, "requires": { "deep-extend": "^0.6.0", @@ -13026,14 +13281,16 @@ "dependencies": { "minimist": { "version": "1.2.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "optional": true } } }, "readable-stream": { "version": "2.3.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "optional": true, "requires": { "core-util-is": "~1.0.0", @@ -13047,7 +13304,8 @@ }, "rimraf": { "version": "2.7.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", "optional": true, "requires": { "glob": "^7.1.3" @@ -13055,37 +13313,44 @@ }, "safe-buffer": { "version": "5.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "optional": true }, "safer-buffer": { "version": "2.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "optional": true }, "sax": { "version": "1.2.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "optional": true }, "semver": { "version": "5.7.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "optional": true }, "set-blocking": { "version": "2.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "optional": true }, "signal-exit": { "version": "3.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "optional": true }, "string-width": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "optional": true, "requires": { "code-point-at": "^1.0.0", @@ -13095,7 +13360,8 @@ }, "string_decoder": { "version": "1.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "optional": true, "requires": { "safe-buffer": "~5.1.0" @@ -13103,7 +13369,8 @@ }, "strip-ansi": { "version": "3.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "optional": true, "requires": { "ansi-regex": "^2.0.0" @@ -13111,12 +13378,14 @@ }, "strip-json-comments": { "version": "2.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", "optional": true }, "tar": { "version": "4.4.13", - "bundled": true, + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz", + "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==", "optional": true, "requires": { "chownr": "^1.1.1", @@ -13130,12 +13399,14 @@ }, "util-deprecate": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "optional": true }, "wide-align": { "version": "1.1.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", "optional": true, "requires": { "string-width": "^1.0.2 || 2" @@ -13143,12 +13414,14 @@ }, "wrappy": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "optional": true }, "yallist": { "version": "3.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "optional": true } } @@ -13458,22 +13731,26 @@ "dependencies": { "abbrev": { "version": "1.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "optional": true }, "ansi-regex": { "version": "2.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", "optional": true }, "aproba": { "version": "1.2.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", "optional": true }, "are-we-there-yet": { "version": "1.1.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", "optional": true, "requires": { "delegates": "^1.0.0", @@ -13482,12 +13759,14 @@ }, "balanced-match": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", "optional": true }, "brace-expansion": { "version": "1.1.11", - "bundled": true, + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "optional": true, "requires": { "balanced-match": "^1.0.0", @@ -13496,32 +13775,38 @@ }, "chownr": { "version": "1.1.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.3.tgz", + "integrity": "sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw==", "optional": true }, "code-point-at": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", "optional": true }, "concat-map": { "version": "0.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", "optional": true }, "console-control-strings": { "version": "1.1.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", "optional": true }, "core-util-is": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "optional": true }, "debug": { "version": "3.2.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", "optional": true, "requires": { "ms": "^2.1.1" @@ -13529,22 +13814,26 @@ }, "deep-extend": { "version": "0.6.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", "optional": true }, "delegates": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", "optional": true }, "detect-libc": { "version": "1.0.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", "optional": true }, "fs-minipass": { "version": "1.2.7", - "bundled": true, + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", "optional": true, "requires": { "minipass": "^2.6.0" @@ -13552,12 +13841,14 @@ }, "fs.realpath": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", "optional": true }, "gauge": { "version": "2.7.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", "optional": true, "requires": { "aproba": "^1.0.3", @@ -13572,7 +13863,8 @@ }, "glob": { "version": "7.1.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", "optional": true, "requires": { "fs.realpath": "^1.0.0", @@ -13585,12 +13877,14 @@ }, "has-unicode": { "version": "2.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", "optional": true }, "iconv-lite": { "version": "0.4.24", - "bundled": true, + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "optional": true, "requires": { "safer-buffer": ">= 2.1.2 < 3" @@ -13598,7 +13892,8 @@ }, "ignore-walk": { "version": "3.0.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz", + "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==", "optional": true, "requires": { "minimatch": "^3.0.4" @@ -13606,7 +13901,8 @@ }, "inflight": { "version": "1.0.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", "optional": true, "requires": { "once": "^1.3.0", @@ -13615,17 +13911,20 @@ }, "inherits": { "version": "2.0.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", "optional": true }, "ini": { "version": "1.3.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==", "optional": true }, "is-fullwidth-code-point": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", "optional": true, "requires": { "number-is-nan": "^1.0.0" @@ -13633,12 +13932,14 @@ }, "isarray": { "version": "1.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", "optional": true }, "minimatch": { "version": "3.0.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", "optional": true, "requires": { "brace-expansion": "^1.1.7" @@ -13646,12 +13947,14 @@ }, "minimist": { "version": "0.0.8", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", + "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=", "optional": true }, "minipass": { "version": "2.9.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", "optional": true, "requires": { "safe-buffer": "^5.1.2", @@ -13660,7 +13963,8 @@ }, "minizlib": { "version": "1.3.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", "optional": true, "requires": { "minipass": "^2.9.0" @@ -13668,7 +13972,8 @@ }, "mkdirp": { "version": "0.5.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", + "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", "optional": true, "requires": { "minimist": "0.0.8" @@ -13676,12 +13981,14 @@ }, "ms": { "version": "2.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "optional": true }, "needle": { "version": "2.4.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/needle/-/needle-2.4.0.tgz", + "integrity": "sha512-4Hnwzr3mi5L97hMYeNl8wRW/Onhy4nUKR/lVemJ8gJedxxUyBLm9kkrDColJvoSfwi0jCNhD+xCdOtiGDQiRZg==", "optional": true, "requires": { "debug": "^3.2.6", @@ -13691,7 +13998,8 @@ }, "node-pre-gyp": { "version": "0.14.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz", + "integrity": "sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA==", "optional": true, "requires": { "detect-libc": "^1.0.2", @@ -13708,7 +14016,8 @@ }, "nopt": { "version": "4.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.1.tgz", + "integrity": "sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=", "optional": true, "requires": { "abbrev": "1", @@ -13717,7 +14026,8 @@ }, "npm-bundled": { "version": "1.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.1.tgz", + "integrity": "sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA==", "optional": true, "requires": { "npm-normalize-package-bin": "^1.0.1" @@ -13725,12 +14035,14 @@ }, "npm-normalize-package-bin": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", + "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", "optional": true }, "npm-packlist": { "version": "1.4.7", - "bundled": true, + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.7.tgz", + "integrity": "sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ==", "optional": true, "requires": { "ignore-walk": "^3.0.1", @@ -13739,7 +14051,8 @@ }, "npmlog": { "version": "4.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "optional": true, "requires": { "are-we-there-yet": "~1.1.2", @@ -13750,17 +14063,20 @@ }, "number-is-nan": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", "optional": true }, "object-assign": { "version": "4.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", "optional": true }, "once": { "version": "1.4.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", "optional": true, "requires": { "wrappy": "1" @@ -13768,17 +14084,20 @@ }, "os-homedir": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", "optional": true }, "os-tmpdir": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "optional": true }, "osenv": { "version": "0.1.5", - "bundled": true, + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", "optional": true, "requires": { "os-homedir": "^1.0.0", @@ -13787,17 +14106,20 @@ }, "path-is-absolute": { "version": "1.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", "optional": true }, "process-nextick-args": { "version": "2.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", "optional": true }, "rc": { "version": "1.2.8", - "bundled": true, + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", "optional": true, "requires": { "deep-extend": "^0.6.0", @@ -13808,14 +14130,16 @@ "dependencies": { "minimist": { "version": "1.2.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz", + "integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=", "optional": true } } }, "readable-stream": { "version": "2.3.6", - "bundled": true, + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "optional": true, "requires": { "core-util-is": "~1.0.0", @@ -13829,7 +14153,8 @@ }, "rimraf": { "version": "2.7.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", "optional": true, "requires": { "glob": "^7.1.3" @@ -13837,37 +14162,44 @@ }, "safe-buffer": { "version": "5.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "optional": true }, "safer-buffer": { "version": "2.1.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "optional": true }, "sax": { "version": "1.2.4", - "bundled": true, + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==", "optional": true }, "semver": { "version": "5.7.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", "optional": true }, "set-blocking": { "version": "2.0.0", - "bundled": true, + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", "optional": true }, "signal-exit": { "version": "3.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", + "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "optional": true }, "string-width": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", "optional": true, "requires": { "code-point-at": "^1.0.0", @@ -13877,7 +14209,8 @@ }, "string_decoder": { "version": "1.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", "optional": true, "requires": { "safe-buffer": "~5.1.0" @@ -13885,7 +14218,8 @@ }, "strip-ansi": { "version": "3.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", "optional": true, "requires": { "ansi-regex": "^2.0.0" @@ -13893,12 +14227,14 @@ }, "strip-json-comments": { "version": "2.0.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", "optional": true }, "tar": { "version": "4.4.13", - "bundled": true, + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz", + "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==", "optional": true, "requires": { "chownr": "^1.1.1", @@ -13912,12 +14248,14 @@ }, "util-deprecate": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", "optional": true }, "wide-align": { "version": "1.1.3", - "bundled": true, + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", "optional": true, "requires": { "string-width": "^1.0.2 || 2" @@ -13925,12 +14263,14 @@ }, "wrappy": { "version": "1.0.2", - "bundled": true, + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", "optional": true }, "yallist": { "version": "3.1.1", - "bundled": true, + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", "optional": true } } diff --git a/client/package.json b/client/package.json index fa05f3b..92714bf 100644 --- a/client/package.json +++ b/client/package.json @@ -6,9 +6,17 @@ "@testing-library/jest-dom": "^4.2.4", "@testing-library/react": "^9.4.0", "@testing-library/user-event": "^7.2.1", + "@types/jest": "^24.9.1", + "@types/node": "^12.12.26", + "@types/react": "^16.9.19", + "@types/react-dom": "^16.9.5", + "@types/react-router-dom": "^5.1.3", + "history": "^4.10.1", "react": "^16.12.0", "react-dom": "^16.12.0", - "react-scripts": "3.3.1" + "react-router-dom": "^5.1.2", + "react-scripts": "3.3.1", + "typescript": "^3.7.5" }, "scripts": { "start": "react-scripts start", diff --git a/client/public/index.html b/client/public/index.html index aa069f2..aec8e99 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -6,38 +6,30 @@ - - - React App + + + + + + Ticket Manager App
- diff --git a/client/public/robots.txt b/client/public/robots.txt index e9e57dc..01b0f9a 100644 --- a/client/public/robots.txt +++ b/client/public/robots.txt @@ -1,3 +1,2 @@ # https://www.robotstxt.org/robotstxt.html User-agent: * -Disallow: diff --git a/client/src/App.css b/client/src/App.css index 74b5e05..90edddb 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -1,38 +1,42 @@ -.App { - text-align: center; +.panel { + padding-left: 0px; + padding-top: 10px; } - -.App-logo { - height: 40vmin; - pointer-events: none; +.field { + padding-left: 10px; + padding-right: 10px; } - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; +.city { display: flex; + background: linear-gradient( + 90deg, + rgba(2, 0, 36, 1) 0%, + rgba(25, 112, 245, 0.6399510487788865) 0%, + rgba(0, 212, 255, 1) 100% + ); flex-direction: column; - align-items: center; + height: 40vh; justify-content: center; - font-size: calc(10px + 2vmin); - color: white; + align-items: center; + padding: 0px 20px 20px 20px; + margin: 0px 0px 50px 0px; + border: 1px solid; + border-radius: 5px; + box-shadow: 2px 2px #888888; + font-family: "Merriweather", serif; } - -.App-link { - color: #61dafb; +.city h1 { + line-height: 1.2; } - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } +.city span { + padding-left: 20px; +} +.city .row { + padding-top: 20px; +} +.weatherError { + color: #f16051; + font-size: 20px; + letter-spacing: 1px; + font-weight: 200; } diff --git a/client/src/App.js b/client/src/App.js deleted file mode 100644 index ce9cbd2..0000000 --- a/client/src/App.js +++ /dev/null @@ -1,26 +0,0 @@ -import React from 'react'; -import logo from './logo.svg'; -import './App.css'; - -function App() { - return ( -
-
- logo -

- Edit src/App.js and save to reload. -

- - Learn React - -
-
- ); -} - -export default App; diff --git a/client/src/App.test.js b/client/src/App.test.tsx similarity index 100% rename from client/src/App.test.js rename to client/src/App.test.tsx diff --git a/client/src/App.tsx b/client/src/App.tsx new file mode 100644 index 0000000..2400e59 --- /dev/null +++ b/client/src/App.tsx @@ -0,0 +1,10 @@ +import React, { FC } from "react"; +import { AppRouter } from "./utils/router"; +import "./App.css"; +import Layout from "./pages/Layout"; + +const App: FC = () => { + return ; +}; + +export default App; diff --git a/client/src/components/AvatarList.tsx b/client/src/components/AvatarList.tsx new file mode 100644 index 0000000..7075728 --- /dev/null +++ b/client/src/components/AvatarList.tsx @@ -0,0 +1,16 @@ +import React, { FC } from "react"; +import { FloatingButton } from "./FloatingButton"; + +interface AvatarListProps { + avatars: string[]; +} + +export const AvatarList: FC = ({ avatars }) => { + return ( + <> + {avatars.map((avatar: string) => ( + + ))} + + ); +}; diff --git a/client/src/components/Button.tsx b/client/src/components/Button.tsx new file mode 100644 index 0000000..0a42e10 --- /dev/null +++ b/client/src/components/Button.tsx @@ -0,0 +1,25 @@ +import React, { FC, Children } from "react"; + +interface IProps { + icon?: string; + size?: string; + shape?: string; + color?: string; + text?: string; +} + +export const Button: FC = ({ + size = "small", + shape = "", + color, + text, + children +}) => { + return ( + + ); +}; diff --git a/client/src/components/FloatingButton.tsx b/client/src/components/FloatingButton.tsx new file mode 100644 index 0000000..eb9dfd1 --- /dev/null +++ b/client/src/components/FloatingButton.tsx @@ -0,0 +1,21 @@ +import React, { FC } from "react"; +import { Button } from "./Button"; + +interface IProps { + icon?: string; + size?: string; + color?: string; +} + +export const FloatingButton: FC = ({ + icon = "add", + size = "small", + color = "red" +}) => { + const iconComponent = {icon}; + return ( + + ); +}; diff --git a/client/src/components/Header.tsx b/client/src/components/Header.tsx new file mode 100644 index 0000000..863906a --- /dev/null +++ b/client/src/components/Header.tsx @@ -0,0 +1,15 @@ +import React, { FC } from "react"; + +type HeaderProps = { + title: string; + description: string; +}; + +export const Header: FC = ({ title, description }) => { + return ( + <> +

{title}

+

{description}

+ + ); +}; diff --git a/client/src/components/HorizontalCard.tsx b/client/src/components/HorizontalCard.tsx new file mode 100644 index 0000000..a0d20dd --- /dev/null +++ b/client/src/components/HorizontalCard.tsx @@ -0,0 +1,58 @@ +import React, { FC, MouseEvent } from "react"; +import { AvatarList } from "./AvatarList"; + +interface IProps { + title: string; + tasksTotalCount?: number; + tasksDone?: number; + remainingDays?: number; + avatars: string[]; + validateTicket: (event: MouseEvent) => void; + archiveTicket: (event: MouseEvent) => void; +} + +export const HorizontalCard: FC = ({ + title, + tasksDone, + tasksTotalCount, + remainingDays, + avatars, + archiveTicket, + validateTicket +}) => { + return ( +
+
+
+
+
+
+
{title}
+
+ Due {remainingDays} days + {/* */} +
+ {/* playlist_add_check + + {" "} + {tasksDone}/{tasksTotalCount} + */} + + + + check + + + + + archive + + +
+
+
+
+
+
+ ); +}; diff --git a/client/src/components/ProgressBar.tsx b/client/src/components/ProgressBar.tsx new file mode 100644 index 0000000..a9324bb --- /dev/null +++ b/client/src/components/ProgressBar.tsx @@ -0,0 +1,37 @@ +import React, { FC, HTMLAttributes, CSSProperties } from "react"; + +type ProgressBarProps = { + value: number; + max?: number; + tasksTotalCount?: number; + tasksDone?: number; + remainingDays?: number; +}; + +export const ProgressBar: FC = ({ + value, + max = 100, + tasksDone, + tasksTotalCount, + remainingDays +}) => { + const styleString: CSSProperties = { width: `${value}%` }; + return ( + <> +
+
+
+
+
+ playlist_add_check + + {tasksDone}/{tasksTotalCount} + +
+ Due {remainingDays} days +
+
+
+ + ); +}; diff --git a/client/src/components/TabRouter.tsx b/client/src/components/TabRouter.tsx new file mode 100644 index 0000000..7a5c217 --- /dev/null +++ b/client/src/components/TabRouter.tsx @@ -0,0 +1,52 @@ +import React, { FC } from "react"; +import { TabRouterHeader } from "./TabRouterHeader"; +import { TicketList } from "./TicketList"; +import { Ticket } from "../types/Ticket"; +import { Switch, Route, useRouteMatch, Redirect } from "react-router-dom"; + +interface IProps { + tickets: Ticket[]; + tasksTotalCount?: number; + tasksDone?: number; + remainingDays?: number; + avatars: string[]; +} + +export const TabRouter: FC = ({ + tickets, + tasksDone, + tasksTotalCount, + remainingDays, + avatars +}) => { + const { url } = useRouteMatch(); + return ( + <> + +
+ + + + + + + + + + {/* */} + + + + {/* */} + +
+
+ + ); +}; diff --git a/client/src/components/TabRouterHeader.tsx b/client/src/components/TabRouterHeader.tsx new file mode 100644 index 0000000..b21eb11 --- /dev/null +++ b/client/src/components/TabRouterHeader.tsx @@ -0,0 +1,79 @@ +import React, { FC, useState } from "react"; +import { Link, useRouteMatch } from "react-router-dom"; + +interface TabUnitProps { + tabClass: string; + isActive: number; + setIsActive: React.Dispatch>; + text: string; + value: string; +} + +const TabUnit: FC = ({ + tabClass, + isActive, + setIsActive, + text, + value +}) => { + const { url } = useRouteMatch(); + return ( +
  • + setIsActive(parseInt(value))} + > + {text} + +
  • + ); +}; + +interface IProps { + tabClass?: string; +} + +export const TabRouterHeader: FC = ({ + tabClass = "tab col s3", + + children +}) => { + const [isActive, setIsActive] = useState(1); + + // const switchTab = (e: React.MouseEvent): void => { + // e.preventDefault(); + // setIsActive(e.target.id); + // }; + + return ( + <> +
    +
      + + + +
    +
    + + ); +}; diff --git a/client/src/components/TicketList.tsx b/client/src/components/TicketList.tsx new file mode 100644 index 0000000..b7835a0 --- /dev/null +++ b/client/src/components/TicketList.tsx @@ -0,0 +1,52 @@ +import React, { FC } from "react"; +import { Ticket } from "../types/Ticket"; +import { FloatingButton } from "./FloatingButton"; +import { HorizontalCard } from "./HorizontalCard"; + +type TicketListProps = { + tickets: Ticket[]; + tasksTotalCount?: number; + tasksDone?: number; + remainingDays?: number; + avatars: string[]; +}; + +export const TicketList: FC = ({ + tickets, + tasksDone, + tasksTotalCount, + remainingDays, + avatars +}) => { + const archiveTicket = () => {}; + const validateTicket = () => {}; + + return ( +
    +
    +
    +

    Tickets

    +
    +
    + +
    +
    + +
      + {tickets.map((t: Ticket) => ( +
    • + +
    • + ))} +
    +
    + ); +}; diff --git a/client/src/controllers/HomeController.tsx b/client/src/controllers/HomeController.tsx new file mode 100644 index 0000000..cf821ae --- /dev/null +++ b/client/src/controllers/HomeController.tsx @@ -0,0 +1,6 @@ +import React, { FC } from "react"; +import { HomePage } from "../pages/HomePage"; + +export const HomeController: FC = () => { + return ; +}; diff --git a/client/src/controllers/ProjectController.tsx b/client/src/controllers/ProjectController.tsx new file mode 100644 index 0000000..bc97254 --- /dev/null +++ b/client/src/controllers/ProjectController.tsx @@ -0,0 +1,80 @@ +import React, { FC, useState, useEffect } from "react"; +import { useParams } from "react-router-dom"; +import { ProjectPage } from "../pages/ProjectPage"; +import ProjectVM from "../viewModels/ProjectVM"; +import { Constants } from "../utils/Constants"; +import { Project } from "../types/Project"; +import { Ticket } from "../types/Ticket"; +import { User } from "../types/User"; + +export const ProjectController: FC = () => { + // const [project, setProject] = useState({} as Project); + const [isLoading, setIsLoading] = useState(false); + + // const { id } = useParams(); + + // const getProject: Function = (id: number) => { + // fetch(`${Constants.getProjectURI}/${id}`) + // .then(res => res.json()) + // .catch(err => console.log(err)) + // .then(data => setProject(data)) + // .finally(() => setIsLoading(false)); + // }; + + // useEffect(() => { + // getProject(id); + // }, []); + + // const viewModel = new ProjectVM(project); + // console.log(viewModel.getMembers()); + + const tickets: Ticket[] = [ + { + id: 1, + title: "Ticket #1", + status: "Done" + }, + { + id: 2, + title: "Ticket #2", + status: "To Do" + } + ]; + + const users: User[] = [ + { + id: "1", + picture: + "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxIQEBUQERAVFQ8VFhUVFRcVFRUYFRUVFRUXGBUVFxYYHSggGBolHRUVITMhJS0rLi4uFx8zPTMtNygtLisBCgoKDg0OGhAQGi0dHyUtLS0tLS8tLS8tLS0tLS0rLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLf/AABEIAK8ArwMBEQACEQEDEQH/xAAcAAABBAMBAAAAAAAAAAAAAAAAAQIDBAUGBwj/xABJEAACAgEBBAUGCQcLBQEAAAABAgADEQQFEiExBkFRYXEHEyIyQpEUI1JicoGCksEzQ1Njc6KxCBU0RIOTobLC0vBUo7TD0ST/xAAbAQACAwEBAQAAAAAAAAAAAAAAAQIDBAYFB//EADMRAAICAQMCBAQFBAIDAAAAAAABAgMRBAUhEjEGQVFhE3GRsRQigaHRJDJC4UNSFSPw/9oADAMBAAIRAxEAPwDuMACABAAgAQAIAQanUpWpexlRBzLEAe8yMnGKywwY6zbRb8jQ79jN8WnjvMN7HgpmO7cKa1yySgyu9uqfibUrHya694gftLODeO4J5lu8v/jX1LFAhbRsfW1F7f2hUfuATBZu2pbznHyJdCIzs1O20+N9/wDvmWW6ar/sS6EMbZidTW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+ const project: Project = { + id: 1, + title: "Project Title", + description: "What is it about", + progression: 25, + tickets: tickets, + users: users, + plannedEnding: "2020-02-17 15:51:02.787373" + }; + + const viewModel = new ProjectVM(project); + + return isLoading ?

    Loading ...

    : ; +}; diff --git a/client/src/controllers/TicketController.tsx b/client/src/controllers/TicketController.tsx new file mode 100644 index 0000000..afc218e --- /dev/null +++ b/client/src/controllers/TicketController.tsx @@ -0,0 +1,6 @@ +import React, { FC } from "react"; +import { TicketPage } from "../pages/TicketPage"; + +export const TicketController: FC = () => { + return ; +}; diff --git a/client/src/controllers/UserController.tsx b/client/src/controllers/UserController.tsx new file mode 100644 index 0000000..a023b5e --- /dev/null +++ b/client/src/controllers/UserController.tsx @@ -0,0 +1,6 @@ +import React, { FC } from "react"; +import { UserPage } from "../pages/UserPage"; + +export const UserController: FC = () => { + return ; +}; diff --git a/client/src/images/user_1.jpg b/client/src/images/user_1.jpg new file mode 100644 index 0000000..88052c5 Binary files /dev/null and b/client/src/images/user_1.jpg differ diff --git a/client/src/images/user_2.jpg b/client/src/images/user_2.jpg new file mode 100644 index 0000000..e0e8d51 Binary files /dev/null and b/client/src/images/user_2.jpg differ diff --git a/client/src/index.js b/client/src/index.js deleted file mode 100644 index 87d1be5..0000000 --- a/client/src/index.js +++ /dev/null @@ -1,12 +0,0 @@ -import React from 'react'; -import ReactDOM from 'react-dom'; -import './index.css'; -import App from './App'; -import * as serviceWorker from './serviceWorker'; - -ReactDOM.render(, document.getElementById('root')); - -// If you want your app to work offline and load faster, you can change -// unregister() to register() below. Note this comes with some pitfalls. -// Learn more about service workers: https://bit.ly/CRA-PWA -serviceWorker.unregister(); diff --git a/client/src/index.tsx b/client/src/index.tsx new file mode 100644 index 0000000..90fb3f6 --- /dev/null +++ b/client/src/index.tsx @@ -0,0 +1,9 @@ +import React from "react"; +import ReactDOM from "react-dom"; +import "./index.css"; +import App from "./App"; +import * as serviceWorker from "./serviceWorker"; + +ReactDOM.render(, document.getElementById("root")); + +serviceWorker.unregister(); diff --git a/client/src/logo.svg b/client/src/logo.svg deleted file mode 100644 index 6b60c10..0000000 --- a/client/src/logo.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/client/src/pages/HomePage.tsx b/client/src/pages/HomePage.tsx new file mode 100644 index 0000000..cc4a722 --- /dev/null +++ b/client/src/pages/HomePage.tsx @@ -0,0 +1,9 @@ +import React from "react"; + +export const HomePage: React.FC = () => { + return ( +
    +

    HomePage

    +
    + ); +}; diff --git a/client/src/pages/Layout.tsx b/client/src/pages/Layout.tsx new file mode 100644 index 0000000..7cc1b3f --- /dev/null +++ b/client/src/pages/Layout.tsx @@ -0,0 +1,15 @@ +import React, { FC } from "react"; +import { AppRouter } from "../utils/router"; + +const Layout: FC = () => { + return ( + <> + {/* + */} + + {/*