"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Append = void 0;
const namespace = "Lists";
exports.Append = {
    id: "Append",
    namespace,
    description: "Appends an item to a list",
    inputs: {
        list: { description: "The list" },
        item: { description: "The item to append" },
    },
    outputs: { list: { description: "The resulting list" } },
    run: ({ list, item }, { list: outputList }) => {
        outputList.next([...list, item]);
    },
    defaultStyle: {
        icon: "fa-plus",
    },
};
