UNPKG

lambda-live-debugger

Version:

Debug Lambda functions locally like it is running in the cloud

17 lines (16 loc) 387 B
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, });