#Authorization and Graphql tools for snap clients
Publishing to NPM
To publish to npm for the @snap-mobile organization you will need to be added to the oranization.
Basic usage
const [client, forceAuth] = getClient({
// client config... see typescipt typings
})
Available to consumers:
extend type Query {
apiReady: Boolean // lets you know you are authenticated the api will still be ready to use, we need to fix this name
}
extend type UserWithPermissions {
isInternal: Boolean // lets you know the email is a snapraise email
}