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>
28 lines
989 B
Text
28 lines
989 B
Text
import type { SchemaRef, SchemaTraits, TraitsSchema } from "@smithy/types";
|
|
import { Schema } from "./Schema";
|
|
/**
|
|
* Although numeric values exist for most simple schema, this class is used for cases where traits are
|
|
* attached to those schema, since a single number cannot easily represent both a schema and its traits.
|
|
*
|
|
* @internal
|
|
* @deprecated use StaticSchema
|
|
*/
|
|
export declare class SimpleSchema extends Schema implements TraitsSchema {
|
|
static readonly symbol: unique symbol;
|
|
name: string;
|
|
schemaRef: SchemaRef;
|
|
traits: SchemaTraits;
|
|
protected readonly symbol: symbol;
|
|
}
|
|
/**
|
|
* Factory for simple schema class objects.
|
|
*
|
|
* @internal
|
|
* @deprecated use StaticSchema
|
|
*/
|
|
export declare const sim: (namespace: string, name: string, schemaRef: SchemaRef, traits: SchemaTraits) => SimpleSchema;
|
|
/**
|
|
* @internal
|
|
* @deprecated
|
|
*/
|
|
export declare const simAdapter: (namespace: string, name: string, traits: SchemaTraits, schemaRef: SchemaRef) => SimpleSchema;
|