MCPcopy
hub / github.com/webpack/webpack / getPKfromModule

Function getPKfromModule

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

Source from the content-addressed store, hash-verified

2867 }
2868}
2869function getPKfromModule() {
2870 switch (_getModuleName()) {
2871 case ModuleNameEnum.JOB:
2872 return _parentTableDataId;
2873 case ModuleNameEnum.SIHEADER:
2874 return _parentTableDataId;
2875 case ModuleNameEnum.CEHEADER:
2876 return _parentTableDataId;
2877 case ModuleNameEnum.ORDER:
2878 return _parentTableDataId;
2879 case ModuleNameEnum.CIHEADER:
2880 return _parentTableDataId;
2881 default:
2882 throw new Error('Invalid type "_getModuleName()"');
2883 }
2884}
2885function _getDataFromSelectedEntry() {
2886 return _tableObject.getCurrentRow();
2887}

Callers 15

onConnectPositionFunction · 0.85
onGoToSiFunction · 0.85
onJobToOrderPosFunction · 0.85
onStatusChangeFunction · 0.85
onInsertServiceFunction · 0.85
_createToolbarTableFunction · 0.85
getDataAndShowTableFunction · 0.85
_getParentDescriptionFunction · 0.85
_updateTableContentFunction · 0.85
_showFormFunction · 0.85
_showFormNewPositionFunction · 0.85
_saveFormFunction · 0.85

Calls 1

_getModuleNameFunction · 0.85

Tested by

no test coverage detected