@o3r/dynamic-content
Version:
This module provides a mechanism to retrieve media and data depending on the host or a server specific url.
31 lines • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateV10_0 = void 0;
const schematics_1 = require("@angular-devkit/schematics");
const schematics_2 = require("@o3r/schematics");
const pipeReplacementInfo = {
dynamicContent: {
new: {
name: 'o3rDynamicContent'
},
import: 'DynamicContentModule'
}
};
/**
* Update of Otter library V10.0
*/
// eslint-disable-next-line @typescript-eslint/naming-convention -- function name contains the version
function updateV10_0Fn() {
return (tree, context) => {
const updateRules = [
(0, schematics_2.updatePipes)(pipeReplacementInfo)
];
return (0, schematics_1.chain)(updateRules)(tree, context);
};
}
/**
* Update of Otter library V10.0
*/
// eslint-disable-next-line @typescript-eslint/naming-convention -- function name contains the version
exports.updateV10_0 = (0, schematics_2.createOtterSchematic)(updateV10_0Fn);
//# sourceMappingURL=index.js.map