1/** 2 * @class EventSnapshotService 3 * 4 * @classdesc Encapsulates POST requests to the Event Snapshots Router. 5 * Creating a snapshot is async at the AWS API Gateway level â the server fires a cURL to Lambda and returns OK immediately. 6 */ 7class EventSnapshotService { 8 9 static createEventSnapshot(formData, successFunc, errorFunc, errorServerFunc) { 10 baseFuncsContentUpdate('admin/event-snapshots/EventSnapshotsRoute.php', formData, successFunc, errorFunc, errorServerFunc, false, 0); 11 } 12 13 static createBootstrapSnapshot(formData, successFunc, errorFunc, errorServerFunc) { 14 baseFuncsContentUpdate('admin/event-snapshots/EventSnapshotsRoute.php', formData, successFunc, errorFunc, errorServerFunc, false, 0); 15 } 16 17 static createEmailEventsSnapshot(formData, successFunc, errorFunc, errorServerFunc) { 18 baseFuncsContentUpdate('admin/event-snapshots/EventSnapshotsRoute.php', formData, successFunc, errorFunc, errorServerFunc, false, 0); 19 } 20 21} 22 23export default EventSnapshotService;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.