Rocky_Mountain_Vending/.pnpm-store/v10/files/9b/558256169f8c5434844d571b0f4d728cd76cd74657e932f07747f3d573d44a03305ccc6a01d969d61b4095c1764d08a2aebc5cd8b04692f148e03663314b41
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

16 lines
628 B
Text

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/**
* Converts a string-based level into a `SeverityLevel`, normalizing it along the way.
*
* @param level String representation of desired `SeverityLevel`.
* @returns The `SeverityLevel` corresponding to the given string, or 'log' if the string isn't a valid level.
*/
function severityLevelFromString(level) {
return (
level === 'warn' ? 'warning' : ['fatal', 'error', 'warning', 'log', 'info', 'debug'].includes(level) ? level : 'log'
) ;
}
exports.severityLevelFromString = severityLevelFromString;
//# sourceMappingURL=severity.js.map