async fetchJsonApiSchema () {
    const { typeName, baseUrl, apiBase, requestConfig } = this.options

    if (!baseUrl || !typeName) throw new Error('Missing required fields in gridsome.config.js')

    const fullBaseUrl = baseUrl.endsWith('/')
      ? `${baseUrl}${apiBase}`
      : `${baseUrl}/${apiBase}`

    try {
      const response = await axios.get(fullBaseUrl, requestConfig)

      /**
       * response from /jsonapi with axios wrapper is shaped:
       * data: {
       *  data: {},
       *  links: {}
       * }
       */
      const {
        data: {
          links
        } = {}
      } = response

      return links
    } catch (error) {
      const { message } = error
      throw new Error(message)
    }
  }
fetches /${baseUrl}/${apiBase}

this response should be the jsonapi schema
this function pulls the "links" property out of the response