MCPcopy
hub / github.com/webpack/webpack / onInsertService

Function onInsertService

test/configCases/inner-graph/issue-11678/module.js:339–349  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

337 }
338}
339async function onInsertService() {
340 const hPk = getPKfromModule();
341 const data = {
342 ciBookId: hPk.ciBookId,
343 ciHeaderId: hPk.ciHeaderId
344 };
345 const ok = await insertServiceDialog(data);
346 if (ok) {
347 await _updateTableContent();
348 }
349}
350function _buttonConnectPosition(callback) {
351 return new UiButton(
352 TC.connectSIPosButtonText,

Callers

nothing calls this directly

Calls 2

getPKfromModuleFunction · 0.85
_updateTableContentFunction · 0.85

Tested by

no test coverage detected