15 lines
264 B
TypeScript
15 lines
264 B
TypeScript
|
import { gql } from 'graphql-request'
|
||
|
|
||
|
export const login = gql`
|
||
|
query Login($auth: Auth!) {
|
||
|
login(auth: $auth) {jwt}
|
||
|
}`
|
||
|
|
||
|
export const get_offers = gql`
|
||
|
query GetOffers($auth: Auth!) {
|
||
|
get_offers(auth: $auth) {
|
||
|
accessible
|
||
|
note
|
||
|
}
|
||
|
}`
|