chore: extract schema types (#2375)

* chore: extract schema types

* address comments
This commit is contained in:
Timmy Huang
2021-08-12 03:12:21 +00:00
committed by GitHub
parent fc60b2acef
commit 59c475b821
7 changed files with 68 additions and 67 deletions
@@ -34,7 +34,7 @@ function makeMockColumn(s: any, length: any) {
return new Array(length).fill(s.categories[0]);
default:
throw new Error("unkonwn type");
throw new Error("unknown type");
}
}
@@ -1,4 +1,4 @@
import { RawSchema } from "../../../../src/common/types/entities";
import { RawSchema } from "../../../../src/common/types/schema";
export const schema: { schema: RawSchema } = {
schema: {