@mojaloop/inter-scheme-proxy-cache-lib
Version:
Common component, that provides scheme proxy caching mapping (ISPC)
19 lines (18 loc) • 484 B
JavaScript
// src/constants.ts
var STORAGE_TYPES = {
redis: "redis",
redisCluster: "redis-cluster",
mysql: "mysql"
};
var storageTypeValues = Object.values(STORAGE_TYPES);
var ERROR_MESSAGES = {
unsupportedProxyCacheType: `Unsupported proxyCache type [possible values: ${storageTypeValues.join(", ")}]`,
invalidFormat: "Invalid format"
// add all needed error messages
};
export {
STORAGE_TYPES,
storageTypeValues,
ERROR_MESSAGES
};
//# sourceMappingURL=chunk-7FWCQSX5.mjs.map