Documentation
¶
Overview ¶
nolint
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct { // Basic connector *components.Connector // Require authenticated client common.RequireAuthenticatedClient // Supported operations components.SchemaProvider components.Reader components.Writer components.Deleter }
func NewConnector ¶
func NewConnector(params common.ConnectorParams) (*Connector, error)
type ErrorDetails ¶
type MetadataResponse ¶
type MetadataResponse struct { Data struct { Type TypeMetadata `json:"__type"` } `json:"data"` }
MetadataResponse represents the response structure for metadata queries. nolint
type OfTypeInfo ¶
type Response ¶
type Response struct { Errors any `json:"errors"` Data ResponseData `json:"data"` }
type ResponseData ¶
type ResponseError ¶
type ResponseError struct {
Errors []ErrorDetails `json:"errors"`
}
ResponseError represents an error response from the Jobber API.
func (ResponseError) CombineErr ¶
func (r ResponseError) CombineErr(base error) error
type TypeInfo ¶
type TypeInfo struct { Name string `json:"name"` Kind TypeKind `json:"kind"` OfType OfTypeInfo `json:"ofType"` }
TypeInfo represents the type information in the GraphQL schema.
type TypeMetadata ¶
TypeMetadata represents the type metadata in the GraphQL schema.
Click to show internal directories.
Click to hide internal directories.