Closed jhachtel closed 5 years ago
Working on branch api-models-review
ApplicationUser is as presented in the lab. No changes made. No changes detected.
Gear model has attributes ID, Name, Brand, Type, Description.
Adding Link attribute. (FYI - @Demerti @AlexTetzloff)
People model has attributes Id, Name, Contactinfo, and Bio.
(FYI - @Demerti @AlexTetzloff ) Renaming: People model to Person, People can now be a list of Persons elsewhere. string Contactinfo to string Email.
Adding:
List<Person> Friends
,
List<Gear> Gear
,
List<Place> Places
,
List<Trail> Trails
,
List<Trip> Trips
.
The above will allow you to populate the Person's page with something interesting.
Edited because it didn't format like I wanted.
@Demerti - What do you think of changing gear to item - because of the plurality issue? Could still be displayed as "gear" on the site if you want.
(FYI - @Demerti @AlexTetzloff ) Associate and Disassociate methods added to Person model to add and remove from the various lists.
GearTest updated to reflect new link field.
Person test added, but list tests still need to be built. Holding off for now, opening issue to remind myself.
(FYI - @Demerti @AlexTetzloff ) Added link attribute to place.
(FYI - @Demerti @AlexTetzloff ) Added link attribute to trail.
@Demerti @AlexTetzloff
Models refactored. Look at them so you know what's there. If you need something added, let me know.
Kane, you will need to match the fields in the .ts files. (Gear.ts, Person.ts, etc...)