Fixed 267U.pre2
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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
|
||||
]
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user