import { LambdaInvoker } from "./LambdaInvoker";

const subscription = new LambdaInvoker("notification", "sub", {
  properties: {
    user: {
      properties: {
        username: { type: "string", maxLength: 36, minLength: 36 },
      },
      required: ["username"],
      type: "object",
    },
  },
  required: ["user"],
  type: "object",
});

export { subscription };
