Rocky_Mountain_Vending/.pnpm-store/v10/files/b8/7a4fe469ce9ed4b834e5488cac21fe1a3e57e76af0851c9b5714f084ba9d2e442b974592e1e2ae0080abae0db41767a06d3a49c88250d1a91422fbc6d274f3
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

10 lines
299 B
Text

import { objectKeys } from '../typings/common-types.js';
export function objFilter(original = {}, filter = () => true) {
const obj = {};
objectKeys(original).forEach(key => {
if (filter(key, original[key])) {
obj[key] = original[key];
}
});
return obj;
}