"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RopidGTFSOisMappingTransformation = void 0;
const ropid_gtfs_1 = require("../../../schema-definitions/ropid-gtfs");
const AbstractTransformation_1 = require("@golemio/core/dist/helpers/transformation/AbstractTransformation");
class RopidGTFSOisMappingTransformation extends AbstractTransformation_1.AbstractTransformation {
    constructor() {
        super();
        this.transformInternal = (input) => {
            return input.data.map((element) => ({
                ois: element.ois,
                node: element.node,
                name: element.name,
            }));
        };
        this.name = ropid_gtfs_1.RopidGTFS.ois.name;
    }
}
exports.RopidGTFSOisMappingTransformation = RopidGTFSOisMappingTransformation;
//# sourceMappingURL=RopidGTFSOisTransformation.js.map