Sha256: e68dc22b46a63755227b9e801a7cdde97cf39768192f34dba328e03a1f6991d1

Contents?: true

Size: 1.38 KB

Versions: 10

Compression:

Stored size: 1.38 KB

Contents

import Fetcher from "src/decidim/decidim_awesome/awesome_map/api/fetcher";

export default class MeetingsFetcher extends Fetcher {
  constructor(controller) {
    super(controller);
    this.query = `query ($id: ID!, $after: String!) {
    component(id: $id) {
        id
        __typename
        ... on Meetings {
          meetings(first: 50, after: $after) {
            pageInfo {
              hasNextPage
              endCursor
            }
            edges {
              node {
                id
                title {
                  translations {
                    text
                    locale
                  }
                }
                body: description {
                  translations {
                    text
                    locale
                  }
                }
                startTime
                location {
                  translations {
                    text
                    locale
                  }
                }
                address
                locationHints {
                  translations {
                    text
                    locale
                  }
                }
                coordinates {
                  latitude
                  longitude
                }
                category {
                  id
                }
              }
            }
          }
        }
      }
    }`;
  }
}

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-decidim_awesome-0.10.3 app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js
decidim-decidim_awesome-0.10.2 app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js
decidim-decidim_awesome-0.10.1 app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js
decidim-decidim_awesome-0.10.0 app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js
decidim-decidim_awesome-0.9.3 app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js
decidim-decidim_awesome-0.9.1 app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js
decidim-decidim_awesome-0.8.3 app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js
decidim-decidim_awesome-0.8.2 app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js
decidim-decidim_awesome-0.8.1 app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js
decidim-decidim_awesome-0.8.0 app/packs/src/decidim/decidim_awesome/awesome_map/api/meetings_fetcher.js