Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
383 B
Text
9 lines
383 B
Text
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.formatAvailableValues = void 0;
|
|
/**
|
|
* Formats an array of values into a string that can be used error messages.
|
|
* ["a", "b", "c"] => "`a`, `b`, `c`"
|
|
*/
|
|
const formatAvailableValues = (values) => values.map((val) => `\`${val}\``).join(', ');
|
|
exports.formatAvailableValues = formatAvailableValues;
|