import type { KVs } from "../core.js"; import Chart from "../core.js"; import { name, schema } from "./entities/test-intersection.js"; /** * For testing */ export default class TestIntersectionChart extends Chart { constructor() { super(name, schema); } protected async tickMajor(): Promise>> { return {}; } protected async tickMinor(): Promise>> { return {}; } public async addA(key: string): Promise { await this.commit({ a: [key], }); } public async addB(key: string): Promise { await this.commit({ b: [key], }); } }