1 | import { __extends } from "tslib";
|
2 | import { FederatedEvent } from './FederatedEvent';
|
3 |
|
4 | var MutationEvent =
|
5 |
|
6 | function (_super) {
|
7 | __extends(MutationEvent, _super);
|
8 |
|
9 | function MutationEvent(typeArg, relatedNode, prevValue, newValue, attrName, attrChange, prevParsedValue, newParsedValue) {
|
10 | var _this = _super.call(this, null) || this;
|
11 |
|
12 | _this.relatedNode = relatedNode;
|
13 | _this.prevValue = prevValue;
|
14 | _this.newValue = newValue;
|
15 | _this.attrName = attrName;
|
16 | _this.attrChange = attrChange;
|
17 | _this.prevParsedValue = prevParsedValue;
|
18 | _this.newParsedValue = newParsedValue;
|
19 | _this.type = typeArg;
|
20 | return _this;
|
21 | }
|
22 |
|
23 | MutationEvent.ADDITION = 2;
|
24 | MutationEvent.MODIFICATION = 1;
|
25 | MutationEvent.REMOVAL = 3;
|
26 | return MutationEvent;
|
27 | }(FederatedEvent);
|
28 |
|
29 | export { MutationEvent }; |
\ | No newline at end of file |