import HackTheValleyGraphQLAdaptor from '@hackthevalley/sdk/app/adaptors/HackTheValleyGraphQLAdaptor.js'HackTheValleyGraphQLAdaptor
Extends:
Adaptor → HackTheValleyGraphQLAdaptor
Constructor Summary
| Public Constructor | ||
| public | constructor(config: EndpointsConfiguration) | |
Member Summary
| Public Members | ||
| public |  | |
Method Summary
| Public Methods | ||
| public |  | |
| public |  | |
| public | setAuthenticationToken(token: string) | |
| public | setGraphQLEndpoint(url: string) | |
Inherited Summary
| From class Adaptor | ||
| public | config: any | |
| public | run(config: any): any Run an adaptor request | |
Public Constructors
public constructor(config: EndpointsConfiguration) source
Construct the adaptor
Override:
Adaptor#constructorParams:
| Name | Type | Attribute | Description | 
| config | EndpointsConfiguration | 
Public Members
public link: GraphQLLink source
Public Methods
public mutate(query: string, variables: any): * source
Params:
| Name | Type | Attribute | Description | 
| query | string | ||
| variables | any | 
 | 
Return:
| * | 
public query(query: string, variables: any): * source
Params:
| Name | Type | Attribute | Description | 
| query | string | ||
| variables | any | 
 | 
Return:
| * | 
 
    
  