"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.logTwo = 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.logTwo = {
    key: 'log-two',
    category: extensions_core_2.Category.DEMO,
    title: 'Log a second time',
    description: 'This is a dummy Custom Action for extension developers.',
    fields,
    previewable: false,
    dataPoints,
    onActivityCreated: async (payload, onComplete) => {
        const { fields } = payload;
        await onComplete({
            data_points: {
                world: fields.hello,
            },
        });
    },
};
//# sourceMappingURL=log_two.js.map