"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }// tmp-babel/profiles/web/profile-popover/AddProfileMenuItem/CreateProfileModal/constants.js
var _zod = require('zod'); var _zod2 = _interopRequireDefault(_zod);
var slugRegex = /^[a-z0-9]+(?:-[a-z0-9]+)*$/;
var schema = _zod2.default.object({
  name: _zod2.default.string().trim().min(3, {
    message: "Must have at least three character"
  }).max(255, {
    message: "Must have at most 255 characters"
  }),
  urlPath: _zod2.default.string().regex(slugRegex, "Must contain only lowercase letters, numbers, and hyphens").max(500, {
    message: "Must have at most 500 characters"
  })
});



exports.schema = schema;
//# sourceMappingURL=chunk-QBVSY6U2.js.map