@adoratorio/demetra
Version:
Internal use library for wordpress API request
15 lines • 626 B
JavaScript
import DemetraRequest from "./DemetraRequest";
import { WP_MODES } from "../declarations";
class DemetraRequestExtra extends DemetraRequest {
wpCache;
localCache;
constructor(id, options, lang, site, version) {
super(WP_MODES.EXTRA, id, lang, 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 DemetraRequestExtra;
//# sourceMappingURL=DemetraRequestExtra.js.map