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

refactor: use gql for integrations #695

Draft
wants to merge 17 commits into
base: main
Choose a base branch
from
Draft

Conversation

Satont
Copy link
Member

@Satont Satont commented Apr 13, 2024

uuh

query getAllIntegrations {
  lfmLoginLink: integrationsGetServiceAuthLink(service:LASTFM)
  lfm: integrationsGetData(service: LASTFM) {
    ...on IntegrationDataLastfm {
      username
      avatar
    }
  }
  vk: integrationsGetData(service: VK) {
  	...on IntegrationDataVk {
      username
      avatar
    }
  }
  valorant: integrationsGetData(service: VALORANT) {
  	...on IntegrationDataValorant {
      username
      avatar
    }
  }
  spotify: integrationsGetData(service: SPOTIFY) {
  	...on IntegrationDataSpotify {
      username
      avatar
    }
  }
  donationAlerts: integrationsGetData(service: DONATIONALERTS) {
  	...on IntegrationDataDonationAlerts {
      username
      avatar
    }
  }
  discord: integrationsGetData(service: DISCORD) {
  	...on IntegrationDataDiscord {
      guilds {
        id
        name
      }
    }
  }
  streamlabs: integrationsGetData(service: STREAMLABS) {
  	...on IntegrationDataStreamLabs {
      username
      avatar
    }
  }
}

@Satont Satont mentioned this pull request May 2, 2024
27 tasks
@crashmax-dev
Copy link
Member

@Satont can you resolve merge conflict?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants