import { Command } from '../types';
const action = {
    title: 'Track Event',
    description: 'Track events',
    platform: 'web',
    defaultSubscription: 'type = "track"',
    fields: {
        name: {
            description: 'The name of the event.',
            label: 'Name',
            required: true,
            type: 'string',
            default: {
                '@path': '$.event'
            }
        }
    },
    perform: (Iterate, event) => {
        Iterate(Command.Event, event.payload.name);
    }
};
export default action;
//# sourceMappingURL=index.js.map