UNPKG

ddl-manager

Version:

store postgres procedures and triggers in files

25 lines 683 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FSEvent = void 0; class FSEvent { constructor(changes = {}) { this.created = changes.created || []; this.removed = changes.removed || []; } create(file) { const newEvent = new FSEvent({ created: this.created.concat([file]), removed: this.removed }); return newEvent; } remove(file) { const newEvent = new FSEvent({ created: this.created, removed: this.removed.concat([file]) }); return newEvent; } } exports.FSEvent = FSEvent; //# sourceMappingURL=FSEvent.js.map