Files
2026-07-26 18:25:37 +09:00

23 lines
454 B
JavaScript

import Chart from "../core.js";
import { name, schema } from "./entities/test-unique.js";
/**
* For testing
*/ export default class TestUniqueChart extends Chart {
constructor(){
super(name, schema);
}
async tickMajor() {
return {};
}
async tickMinor() {
return {};
}
async uniqueIncrement(key) {
await this.commit({
foo: [
key
]
});
}
}