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>
22 lines
341 B
Text
Executable file
22 lines
341 B
Text
Executable file
'use strict';
|
|
|
|
const Keys = require('./keys');
|
|
|
|
|
|
const internals = {};
|
|
|
|
|
|
module.exports = Keys.extend({
|
|
|
|
type: 'object',
|
|
|
|
cast: {
|
|
map: {
|
|
from: (value) => value && typeof value === 'object',
|
|
to(value, helpers) {
|
|
|
|
return new Map(Object.entries(value));
|
|
}
|
|
}
|
|
}
|
|
});
|