UNPKG

gatsby-source-wordpress

Version:

Source data from WordPress in an efficient and scalable way.

12 lines (11 loc) 552 B
"use strict"; exports.__esModule = true; exports.getPluginOptions = exports.getHelpers = exports.getGatsbyApi = void 0; var _store = require("../store"); const getPluginOptions = () => (0, _store.getStore)().getState().gatsbyApi.pluginOptions; exports.getPluginOptions = getPluginOptions; const getHelpers = () => (0, _store.getStore)().getState().gatsbyApi.helpers; exports.getHelpers = getHelpers; const getGatsbyApi = () => (0, _store.getStore)().getState().gatsbyApi; exports.getGatsbyApi = getGatsbyApi; //# sourceMappingURL=get-gatsby-api.js.map