"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setLookupTricks = setLookupTricks;
function setLookupTricks(table, cfg) {
    const tricks = new Map();
    if (cfg.layout.lookupWriteTricks) {
        for (const lookup of table.lookups) {
            const userTrick = cfg.layout.lookupWriteTricks.get(lookup);
            if (userTrick)
                tricks.set(lookup, userTrick);
        }
    }
    return tricks;
}
//# sourceMappingURL=trick.js.map