UNPKG

novel-opds-now

Version:

按需生成 epub,此模組不使用排程任務來生成 epub

21 lines 681 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.checkGunData = void 0; function checkGunData(data) { if (data === null || data === void 0 ? void 0 : data.timestamp) { if (data.exists) { let { base64, filename, exists, timestamp, href } = data; if (href && filename && exists && timestamp) { return true; } if (!(base64 && filename && exists && timestamp)) { return false; } return true; } } return null; } exports.checkGunData = checkGunData; exports.default = checkGunData; //# sourceMappingURL=checkData.js.map