17 lines
532 B
JavaScript
17 lines
532 B
JavaScript
|
"use strict";
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
exports.CollectionPostRemoved = void 0;
|
||
|
class CollectionPostRemoved {
|
||
|
data;
|
||
|
timestamp;
|
||
|
type = 'CollectionPostRemoved';
|
||
|
constructor(data, timestamp) {
|
||
|
this.data = data;
|
||
|
this.timestamp = timestamp;
|
||
|
}
|
||
|
static create(data, timestamp = new Date()) {
|
||
|
return new CollectionPostRemoved(data, timestamp);
|
||
|
}
|
||
|
}
|
||
|
exports.CollectionPostRemoved = CollectionPostRemoved;
|
||
|
//# sourceMappingURL=CollectionPostRemoved.js.map
|