rittenhop-dev/versions/5.94.2/node_modules/@tryghost/collections/build/events/CollectionPostAdded.js

17 lines
518 B
JavaScript
Raw Normal View History

2024-09-23 19:40:12 -04:00
"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