Fixed 267U.pre2
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
import Chart from "../core.js";
|
||||
import { name, schema } from "./entities/ap-request.js";
|
||||
/**
|
||||
* Chart about ActivityPub requests
|
||||
*/ export default class ApRequestChart extends Chart {
|
||||
constructor(){
|
||||
super(name, schema);
|
||||
}
|
||||
async tickMajor() {
|
||||
return {};
|
||||
}
|
||||
async tickMinor() {
|
||||
return {};
|
||||
}
|
||||
async deliverSucc() {
|
||||
await this.commit({
|
||||
deliverSucceeded: 1
|
||||
});
|
||||
}
|
||||
async deliverFail() {
|
||||
await this.commit({
|
||||
deliverFailed: 1
|
||||
});
|
||||
}
|
||||
async inbox() {
|
||||
await this.commit({
|
||||
inboxReceived: 1
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user