"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.frontend = void 0;
const extensions_core_1 = require("@awell-health/extensions-core");
const extensions_core_2 = require("@awell-health/extensions-core");
const fields = {
    hello: {
        id: 'hello',
        label: 'Hello',
        description: 'A string field configured at design time',
        type: extensions_core_1.FieldType.STRING,
    },
};
const dataPoints = {
    world: {
        key: 'world',
        valueType: 'string',
    },
};
exports.frontend = {
    key: 'frontend',
    category: extensions_core_2.Category.FORMS,
    title: 'Frontend',
    description: 'This is a dummy Custom Action for extension developers.',
    fields,
    previewable: true,
    options: {
        stakeholders: {
            label: 'Stakeholder',
            mode: 'single',
        },
    },
    dataPoints,
    onEvent: async ({ payload, helpers: { log } }) => {
        log({ payload }, 'Frontend payload');
    },
};
//# sourceMappingURL=frontend.js.map