2020-08-13 18:13:16 +00:00
|
|
|
/**
|
|
|
|
* This module was automatically generated by `ts-interface-builder`
|
|
|
|
*/
|
2020-07-21 13:20:51 +00:00
|
|
|
import * as t from "ts-interface-checker";
|
|
|
|
// tslint:disable:object-literal-key-quotes
|
|
|
|
|
|
|
|
export const GristTable = t.iface([], {
|
|
|
|
"table_name": t.union("string", "null"),
|
|
|
|
"column_metadata": t.array("GristColumn"),
|
|
|
|
"table_data": t.array(t.array("any")),
|
|
|
|
});
|
|
|
|
|
|
|
|
export const GristTables = t.iface([], {
|
|
|
|
"tables": t.array("GristTable"),
|
|
|
|
});
|
|
|
|
|
|
|
|
export const GristColumn = t.iface([], {
|
|
|
|
"id": "string",
|
|
|
|
"type": "string",
|
|
|
|
});
|
|
|
|
|
2020-08-13 18:13:16 +00:00
|
|
|
export const APIType = t.enumtype({
|
|
|
|
"ImportSourceAPI": 0,
|
|
|
|
"ImportProcessorAPI": 1,
|
|
|
|
"ParseOptionsAPI": 2,
|
|
|
|
"ParseFileAPI": 3,
|
|
|
|
});
|
|
|
|
|
2020-07-21 13:20:51 +00:00
|
|
|
const exportedTypeSuite: t.ITypeSuite = {
|
|
|
|
GristTable,
|
|
|
|
GristTables,
|
|
|
|
GristColumn,
|
2020-08-13 18:13:16 +00:00
|
|
|
APIType,
|
2020-07-21 13:20:51 +00:00
|
|
|
};
|
|
|
|
export default exportedTypeSuite;
|