UNPKG

zellige.js

Version:

A Moroccan utility library for working with CIN, phone numbers, currency, addresses, dates, and more.

19 lines (18 loc) 770 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PassportErrorCode = void 0; /** * Error codes for passport validation * @enum {string} * @readonly * @description Standardized error codes used throughout the validation process */ var PassportErrorCode; (function (PassportErrorCode) { PassportErrorCode["REQUIRED"] = "PASSPORT_REQUIRED"; PassportErrorCode["INVALID_FORMAT"] = "INVALID_FORMAT"; PassportErrorCode["INVALID_LENGTH"] = "INVALID_LENGTH"; PassportErrorCode["INVALID_PREFIX"] = "INVALID_PREFIX"; PassportErrorCode["INVALID_DIGITS"] = "INVALID_DIGITS"; PassportErrorCode["INVALID_CHARACTERS"] = "INVALID_CHARACTERS"; })(PassportErrorCode || (exports.PassportErrorCode = PassportErrorCode = {}));