This commit is contained in:
2025-05-12 05:38:44 +09:00
parent dced21c3f8
commit 6d78bfa46e
8120 changed files with 1161564 additions and 0 deletions

View File

@ -0,0 +1,20 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const mergeAtLevel_1 = __importDefault(require("./mergeAtLevel"));
/**
Edit the ref of an article
@param {Summary} summary
@param {string} level
@param {string} newRef
@return {Summary}
*/
function editArticleRef(summary, level, newRef) {
return (0, mergeAtLevel_1.default)(summary, level, {
ref: newRef
});
}
exports.default = editArticleRef;