fracturedjsonjs
Version:
JSON formatter that produces highly readable but fairly compact output
34 lines (33 loc) • 1.22 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TableColumnType = void 0;
/**
* The data type represented by a TableTemplate, or "Mixed".
*/
var TableColumnType;
(function (TableColumnType) {
/**
* Initial value. Not useful by itself.
*/
TableColumnType[TableColumnType["Unknown"] = 0] = "Unknown";
/**
* Non-container and non-number. Could be a mix of strings, booleans, nulls, and/or numbers (but not all numbers).
*/
TableColumnType[TableColumnType["Simple"] = 1] = "Simple";
/**
* All values in the column are numbers or nulls.
*/
TableColumnType[TableColumnType["Number"] = 2] = "Number";
/**
* All values in the column are arrays or nulls.
*/
TableColumnType[TableColumnType["Array"] = 3] = "Array";
/**
* All values in the column are objects or nulls.
*/
TableColumnType[TableColumnType["Object"] = 4] = "Object";
/**
* Multiple types in the column - for instance, a mix of arrays and strings.
*/
TableColumnType[TableColumnType["Mixed"] = 5] = "Mixed";
})(TableColumnType = exports.TableColumnType || (exports.TableColumnType = {}));