Every query, mutation and type of the API, generated from the schema the API runs. The same schema can be read by any GraphQL tool from https://nipto.app/graphql.
Queries
| Name | Description |
|---|
activities | π Get all the validated Activities of the team for the current week. |
purchases | ποΈ Get the purchases of the shop, newest first unless sort says otherwise |
reminders | π Get all the Reminders of the team (the Planning of the app) |
rewards | π Get the rewards of the tribe, with their price in gems |
tasks | β
Get all the Tasks of the team |
users | π§βπ€βπ§ Get all Users of the team |
wallets | π Get the gems of each member |
weeks | ποΈ Get the ended Weeks with associated results for each member, oldest first unless sort says otherwise |
Mutations
| Name | Description |
|---|
createActivity | π Add a new activity for the team (possible only with a date within the current week). |
createReminder | π Create a reminder on a date, once or repeating |
deleteActivity | β Delete an activity (possible only for activities within the current week), with the app's rules: members under parental control cannot delete, and only an admin can refuse an activity waiting for approval |
Objects
| Name | Description |
|---|
Activity | π An Activity is a Task done by a User at a specific date |
Feedback | β€οΈ Hearts a User gave to an Activity |
Purchase | ποΈ A reward bought with gems. |
Reminder | π A Reminder (in the Planning of the app) on a date, optionally at a time, once or repeating |
Repeat | π Repetition of a Reminder |
Reward | π A reward the tribe can get |
Score | ποΈ A Score is the result of a User for a Week |
Streak | π₯ Streak of a member: consecutive days with at least one activity |
Task | β
A Task is something to do is the household with an associated value in points |
User | π§βπ€βπ§ A User is a member of the team |
Wallet | π Gems of a member: eggs turn into gems at the end of each week, and gems buy rewards in the shop |
Week | ποΈ A Week of the tribe: 7 days from the first day chosen in the app settings, in the tribe's time zone |
| Name | Description |
|---|
RepeatInput | π Repetition of a new Reminder, with the same limits as the app |
Enums
| Name | Description |
|---|
Balance | βοΈ Balance is the state of the week in terms of results for all members of the team. |
Level | π¦ Level is the dino a member reaches for the week, as shown in the app |
PurchaseStatus | ποΈ Where a Purchase stands |
RepeatMode | π How a Reminder repeats |
Result | π― Result is the level a team member reached for the week, the dino shown in the app. |
Sort | βοΈ Order of a list |
Scalars
| Name | Description |
|---|
Boolean | The Boolean scalar type represents true or false. |
Date | ποΈ A date with time in UTC (ISO 8601, e.g. |
Group | π§½ An emoji to group some Tasks in the same category |
Int | The Int scalar type represents non-fractional signed whole numeric values. |
String | The String scalar type represents textual data, represented as UTF-8 character sequences. |
Time | π A time of day in HH:mm format (e.g. |