Commit Graph

6 Commits

Author SHA1 Message Date
dan13ram
b0ab6f1e2d updated backend for brightId (#362)
* updated backend for brightId

* updated schema

* removed unwanted console logs

* made brightId context constant
2021-03-01 12:06:52 +05:30
Pacien Boisson
d094e1c4ba Quest create handlers (#340)
* create quest handler

* Updating action schema and removing backend-only insert permissions

* Better handle auth bearer token

* Basic tests for creating quests

* Check if player has > 100 pSEED to allow creating a quest

* move quests actions into its own router

* create quest completion

* updateCompletion handler

* update types

* Improving handler input types

* Improve types and logic

* Removing types file and using autogenerated ones

* Reject other submissions when accepting a unique quest completion

* Fix linting errors

* Fix CreateQuestCompletionInput maybe

* error messages

* Puttin pSEED contractnaddress in config file

Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
2021-02-22 12:58:31 +04:00
Pacien Boisson
ba4807f62c update schema.graphql 2021-02-18 21:00:43 -07:00
Pacien Boisson
c0cb56be0a change quest repetition to PERSONAL, RECURRING, UNIQUE 2021-02-18 21:00:43 -07:00
Pacien Boisson
2a87beb9a7 schema 2021-02-18 21:00:43 -07:00
Hammad Jutt
15a90e7b56 Move schema.graphql to root of project and delete codegen package
central codegen package no longer needed since its being generated in each package separately as needed
2021-01-29 13:06:51 -07:00