lambda-live-debugger
Version:
Debug Lambda functions locally like it is running in the cloud
17 lines (16 loc) • 411 B
JavaScript
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,
});