UNPKG

redis-smq

Version:

A high-performance, reliable, and scalable message queue for Node.js.

42 lines 3.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.operationRegistry = void 0; const index_js_1 = require("../queue-manager/index.js"); const index_js_2 = require("./types/index.js"); exports.operationRegistry = { [index_js_1.EQueueOperationalState.ACTIVE]: index_js_2.OperationBitmask[index_js_2.EQueueOperation.CONSUME] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.PRODUCE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.PURGE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.DELETE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.DELETE_MESSAGE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.REQUEUE_MESSAGE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.SET_RATE_LIMIT] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.CLEAR_RATE_LIMIT] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.CREATE_CONSUMER_GROUP] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.DELETE_CONSUMER_GROUP] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.BIND_EXCHANGE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.UNBIND_EXCHANGE], [index_js_1.EQueueOperationalState.PAUSED]: index_js_2.OperationBitmask[index_js_2.EQueueOperation.PRODUCE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.PURGE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.DELETE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.DELETE_MESSAGE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.REQUEUE_MESSAGE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.SET_RATE_LIMIT] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.CLEAR_RATE_LIMIT] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.CREATE_CONSUMER_GROUP] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.DELETE_CONSUMER_GROUP] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.BIND_EXCHANGE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.UNBIND_EXCHANGE], [index_js_1.EQueueOperationalState.STOPPED]: index_js_2.OperationBitmask[index_js_2.EQueueOperation.PURGE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.DELETE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.DELETE_MESSAGE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.REQUEUE_MESSAGE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.SET_RATE_LIMIT] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.CLEAR_RATE_LIMIT] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.CREATE_CONSUMER_GROUP] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.DELETE_CONSUMER_GROUP] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.BIND_EXCHANGE] | index_js_2.OperationBitmask[index_js_2.EQueueOperation.UNBIND_EXCHANGE], [index_js_1.EQueueOperationalState.LOCKED]: 0, }; //# sourceMappingURL=operation-registery.js.map