Skip to content

Commit

Permalink
Improved Event Management: Relevant backend changes (PalisadoesFounda…
Browse files Browse the repository at this point in the history
…tion#1349)

* Make changes for attendees in the Event model

* Migrate tests and resolvers (init)

* Migrate all tests (final)

* Add field level resolver to get all registered users for an event

* Add volunteers table and field level resolver for volunteers on a task

* Introduce the Event Project schema

* Update package-lock.json for clean installs

* Add additonal field level resolvers

* Change resolvers according to frontend requirements

* Allow superadmin access in all event related resolvers and update their deletion resolvers

* Add auth check in createTask resolver

* Make changes according to the UI requirements

* Add field level resolver for organization on event model

* Add setTaskVolunteers mutation with tests

* Add setVolunteers mutation

* Add attendee resolvers

* Add CheckIn detail

* Init CheckIn related changes

* Add checkIn schema and basic resolvers

* Add testing for all checkin resolvers

* Fix installation error

* Fix usage of any in resolvers

* Pull from dev
  • Loading branch information
EshaanAgg authored Jun 29, 2023
1 parent 0017abe commit f480ceb
Show file tree
Hide file tree
Showing 88 changed files with 2,921 additions and 1,963 deletions.
6 changes: 5 additions & 1 deletion codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ const config: CodegenConfig = {
// functionality is useful because what we retrieve from the database and what we choose to return from a graphql server
// could be completely different fields. Address to models here is relative to the location of generated types.
mappers: {
CheckIn: "../models/CheckIn#InterfaceCheckIn",

MessageChat: "../models/MessageChat#InterfaceMessageChat",

Comment: "../models/Comment#InterfaceComment",
Expand All @@ -38,7 +40,9 @@ const config: CodegenConfig = {

Event: "../models/Event#InterfaceEvent",

// EventProject: '../models/EventProject#InterfaceEventProject'
EventAttendee: "../models/EventAttendee#InterfaceEventAttendee",

EventProject: "../models/EventProject#InterfaceEventProject",

// File: '../models/File#InterfaceFile',

Expand Down
96 changes: 74 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f480ceb

Please sign in to comment.