Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

977 B
Raw Blame
// SPDX-License-Identifier: AGPL-3.0-only
// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
// including ports, remain AGPLv3; serving them over a network requires releasing their source.

import redis from "./client";

export { redisFlagsStore } from "./flags-store";
export type { LeaseAcquisition } from "./lease";
export { acquireLease, releaseLease, renewLease, withLease } from "./lease";
export type {
  AccountLockoutOptions,
  LockDurationOptions,
  LockoutStatus
} from "./lockout";
export {
  AccountLockout,
  DEFAULT_BASE_LOCK_SECONDS,
  DEFAULT_LEVEL_TTL_SECONDS,
  DEFAULT_MAX_ATTEMPTS,
  DEFAULT_MAX_LOCK_SECONDS,
  DEFAULT_WINDOW,
  evaluateLockFromPttl,
  lockDurationSeconds,
  maxAttemptsForRateLimit,
  normalizeLoginIdentifier,
  SIGN_IN_CODE_LOCKOUT_PREFIX
} from "./lockout";
export type {
  Duration,
  RatelimitConfig,
  RatelimitResponse
} from "./ratelimit";
export { Ratelimit } from "./ratelimit";
export { redis };