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