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
411 B
Text
16 lines
411 B
Text
import { Schema } from "./Schema";
|
|
export class StructureSchema extends Schema {
|
|
static symbol = Symbol.for("@smithy/str");
|
|
name;
|
|
traits;
|
|
memberNames;
|
|
memberList;
|
|
symbol = StructureSchema.symbol;
|
|
}
|
|
export const struct = (namespace, name, traits, memberNames, memberList) => Schema.assign(new StructureSchema(), {
|
|
name,
|
|
namespace,
|
|
traits,
|
|
memberNames,
|
|
memberList,
|
|
});
|