export class AddFieldToDataStructure {
    constructor(field, path) {
        this.field = field;
        this.path = path;
    }
    getMessage() {
        const pieces = this.path.split('.');
        const path = pieces.length > 1 ? pieces.join(' -> ') : 'root';
        return `New Field ${this.field.name} to ${path}`;
    }
    apply(def) {
        console.log(def.fields, this.field, this.path);
    }
}
//# sourceMappingURL=AddFieldToDataStructure.js.map