vovk 3.0.0-draft.222 → 3.0.0-draft.223
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -76,7 +76,7 @@ const getNamesNestJS = (operationObject) => {
|
|
|
76
76
|
};
|
|
77
77
|
const normalizeGetModuleName = (getModuleName) => {
|
|
78
78
|
if (getModuleName === 'nestjs-operation-id') {
|
|
79
|
-
getModuleName = (operationObject) => getNamesNestJS(operationObject)[0];
|
|
79
|
+
getModuleName = ({ operationObject }) => getNamesNestJS(operationObject)[0];
|
|
80
80
|
}
|
|
81
81
|
else if (typeof getModuleName === 'string') {
|
|
82
82
|
const moduleName = getModuleName;
|
|
@@ -89,7 +89,7 @@ const normalizeGetModuleName = (getModuleName) => {
|
|
|
89
89
|
};
|
|
90
90
|
const normalizeGetMethodName = (getMethodName) => {
|
|
91
91
|
if (getMethodName === 'nestjs-operation-id') {
|
|
92
|
-
getMethodName = (operationObject) => getNamesNestJS(operationObject)[1];
|
|
92
|
+
getMethodName = ({ operationObject }) => getNamesNestJS(operationObject)[1];
|
|
93
93
|
}
|
|
94
94
|
else if (getMethodName === 'camel-case-operation-id') {
|
|
95
95
|
getMethodName = ({ operationObject }) => {
|
|
@@ -76,7 +76,7 @@ const getNamesNestJS = (operationObject) => {
|
|
|
76
76
|
};
|
|
77
77
|
const normalizeGetModuleName = (getModuleName) => {
|
|
78
78
|
if (getModuleName === 'nestjs-operation-id') {
|
|
79
|
-
getModuleName = (operationObject) => getNamesNestJS(operationObject)[0];
|
|
79
|
+
getModuleName = ({ operationObject }) => getNamesNestJS(operationObject)[0];
|
|
80
80
|
}
|
|
81
81
|
else if (typeof getModuleName === 'string') {
|
|
82
82
|
const moduleName = getModuleName;
|
|
@@ -89,7 +89,7 @@ const normalizeGetModuleName = (getModuleName) => {
|
|
|
89
89
|
};
|
|
90
90
|
const normalizeGetMethodName = (getMethodName) => {
|
|
91
91
|
if (getMethodName === 'nestjs-operation-id') {
|
|
92
|
-
getMethodName = (operationObject) => getNamesNestJS(operationObject)[1];
|
|
92
|
+
getMethodName = ({ operationObject }) => getNamesNestJS(operationObject)[1];
|
|
93
93
|
}
|
|
94
94
|
else if (getMethodName === 'camel-case-operation-id') {
|
|
95
95
|
getMethodName = ({ operationObject }) => {
|