UNPKG

@adoratorio/demetra

Version:

Internal use library for wordpress API request

15 lines 645 B
import DemetraRequest from "./DemetraRequest"; import { WP_MODES } from "../declarations"; class DemetraRequestAttachments extends DemetraRequest { wpCache; localCache; constructor(site, options, version) { super(WP_MODES.ATTACHMENTS, -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 DemetraRequestAttachments; //# sourceMappingURL=DemetraRequestAttachments.js.map