UNPKG

@adoratorio/demetra

Version:

Internal use library for wordpress API request

15 lines 630 B
import DemetraRequest from "./DemetraRequest"; import { WP_MODES } from '../declarations'; class DemetraRequestSiteMap extends DemetraRequest { wpCache; localCache; constructor(site, options, version) { super(WP_MODES.SITE_MAP, -1, undefined, site, version); if (typeof options === 'undefined') options = {}; this.wpCache = typeof options.wpCache === 'undefined' ? true : options.wpCache; this.localCache = typeof options.localCache === 'undefined' ? false : options.localCache; } } export default DemetraRequestSiteMap; //# sourceMappingURL=DemetraRequestSiteMap.js.map