Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BonFire does not contain Activity #123

Open
oksanasalohubova opened this issue Oct 12, 2021 · 0 comments
Open

BonFire does not contain Activity #123

oksanasalohubova opened this issue Oct 12, 2021 · 0 comments
Labels
bonfire-migration Issues linked to ZenPub to Bonfire migration

Comments

@oksanasalohubova
Copy link
Collaborator

oksanasalohubova commented Oct 12, 2021

Linked with Asses ZenPub replacement with BonFire #121

### Activity We have no way to get Activity in these requests and mutations

query activityPreview($activityId: String!) {
  activity(activityId:$activityId){
    id
  ...ActivityPreview
  }
}
fragment ActivityPreview on Activity {
  id
  verb
  createdAt
  user {
    icon {
      id
      url
    }
    image {
      id
      url
    }
    userId: id
    userName: name
    canonicalUrl
  }
  context {
    ... on Community {
      ...CommunityPreview
    }
    ... on Collection {
      ...CollectionPreview
    }
    ... on Resource {
      ...ResourcePreview
    }
    ... on User {
      ...UserPreview
    }
    ... on Comment {
      ...CommentPreview
    }
    ... on Flag {
      ...FlagPreview
    }
    ... on Like {
      ...LikePreview
    }
    ... on Follow {
      ...FollowPreview
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bonfire-migration Issues linked to ZenPub to Bonfire migration
Projects
None yet
Development

No branches or pull requests

2 participants