airline-ccai-fulfillment-tools-test
Version:
A collection of tools to assist in the creation of Airline CCAI cards via fulfillment scripts
14 lines (13 loc) • 437 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createDetail = void 0;
var types_1 = require("../types");
exports.createDetail = function (_a) {
var items = _a.items, width = _a.width, title = _a.title;
return ({
template: types_1.TEMPLATES.DETAIL,
items: items,
width: width !== null && width !== void 0 ? width : types_1.SIZES.FULL,
title: title,
});
};