"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: all[name]
    });
}
_export(exports, {
    batchPrinterRules: function() {
        return batchPrinterRules;
    },
    batchPrintersEnabledRules: function() {
        return batchPrintersEnabledRules;
    },
    executeBatchRePrinterRule: function() {
        return executeBatchRePrinterRule;
    }
});
const _genericvalidation = require("./generic.validation");
const batchPrinterRules = (isSqlite)=>({
        printerIds: "required|array",
        "printerIds.*": (0, _genericvalidation.idRuleV2)(isSqlite)
    });
const executeBatchRePrinterRule = (isSqlite)=>({
        prints: "required|array",
        "prints.*": "required",
        "prints.*.printerId": (0, _genericvalidation.idRuleV2)(isSqlite),
        "prints.*.path": "required|string"
    });
const batchPrintersEnabledRules = (isSqlite)=>({
        printerIds: "required|array",
        "printerIds.*": (0, _genericvalidation.idRuleV2)(isSqlite),
        enabled: "required|boolean"
    });

//# sourceMappingURL=batch-controller.validation.js.map