17 lines
No EOL
463 B
JavaScript
17 lines
No EOL
463 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.unique = void 0;
|
|
/**
|
|
* Data to ensure is unique for job to be created
|
|
* @name Job#unique
|
|
* @function
|
|
* @param unique mongo data query for unique
|
|
* @param options unique options
|
|
*/
|
|
const unique = function (unique, options) {
|
|
this.attrs.unique = unique;
|
|
this.attrs.uniqueOpts = options;
|
|
return this;
|
|
};
|
|
exports.unique = unique;
|
|
//# sourceMappingURL=unique.js.map
|