Skip to content

Commit

Permalink
style: 🎨 schema & helpers refactor
Browse files Browse the repository at this point in the history
feat: ✨ resolver for in app notification
  • Loading branch information
Ignazio Bovo committed Sep 19, 2023
1 parent 31e0c37 commit a24dfba
Show file tree
Hide file tree
Showing 19 changed files with 941 additions and 977 deletions.

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

3 changes: 3 additions & 0 deletions schema/channels.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ type Channel @entity {

"Channel Ypp Status: either unverified , verified or suspended"
yppStatus: ChannelYppStatus!

"reference to the notifications for this channel"
creatorRecipient: [CreatorRecipient!]! @derivedFrom(field: "channel")
}

union ChannelYppStatus = YppUnverified | YppVerified | YppSuspended
Expand Down
3 changes: 3 additions & 0 deletions schema/membership.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,7 @@ type Membership @entity {

"Number of channels ever created by this member"
totalChannelsCreated: Int!

"reference to the notifications for this membership"
creatorRecipient: [MemberRecipient!]! @derivedFrom(field: "membership")
}
Loading

0 comments on commit a24dfba

Please sign in to comment.