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>
16 lines
387 B
Text
16 lines
387 B
Text
import { Schema } from "./Schema";
|
|
export class MapSchema extends Schema {
|
|
static symbol = Symbol.for("@smithy/map");
|
|
name;
|
|
traits;
|
|
keySchema;
|
|
valueSchema;
|
|
symbol = MapSchema.symbol;
|
|
}
|
|
export const map = (namespace, name, traits, keySchema, valueSchema) => Schema.assign(new MapSchema(), {
|
|
name,
|
|
namespace,
|
|
traits,
|
|
keySchema,
|
|
valueSchema,
|
|
});
|