Sha256: 7e3e7e23ef896afbd97398627bab8f4404887bf9def0cff49807282ea2edd87b

Contents?: true

Size: 803 Bytes

Versions: 21

Compression:

Stored size: 803 Bytes

Contents

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.rawColumnToInternalColumn = exports.objIfExists = void 0;
const table_constants_1 = require("../utils/table-constants");
const objIfExists = (key, val) => {
    if (!val) {
        return {};
    }
    return {
        [key]: val,
    };
};
exports.objIfExists = objIfExists;
const rawColumnToInternalColumn = (column) => (Object.assign(Object.assign(Object.assign(Object.assign({ name: column.name, title: column.title || column.name }, exports.objIfExists('color', column.color)), exports.objIfExists('maxLen', column.maxLen)), exports.objIfExists('minLen', column.minLen)), { alignment: column.alignment || table_constants_1.DEFAULT_ROW_ALIGNMENT }));
exports.rawColumnToInternalColumn = rawColumnToInternalColumn;

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
appmap-0.72.2 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.72.1 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.72.0 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.71.0 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.70.2 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.70.1 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.70.0 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.69.0 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.68.2 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.68.1 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.68.0 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.67.1 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.67.0 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.66.2 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.66.1 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.66.0 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.65.1 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.65.0 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.64.0 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js
appmap-0.63.0 ./node_modules/console-table-printer/dist/src/internalTable/input-converter.js