github-issue-tower-defence-management 2.201.2 → 2.201.3
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.
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.issueHasUnansweredOwnerConfirmationRequest = void 0;
|
|
4
4
|
const extractNeedOwnerConfirmationOrApproval_1 = require("./extractNeedOwnerConfirmationOrApproval");
|
|
5
5
|
const findLastAgentReport_1 = require("./findLastAgentReport");
|
|
6
|
-
const isHumanComment_1 = require("./isHumanComment");
|
|
7
6
|
const issueHasUnansweredOwnerConfirmationRequest = (comments, isTrustedAuthor, agentFieldValue) => {
|
|
8
7
|
const lastAgentReport = (0, findLastAgentReport_1.findLastAgentReport)(comments, isTrustedAuthor, agentFieldValue);
|
|
9
8
|
if (lastAgentReport === null) {
|
|
@@ -12,9 +11,7 @@ const issueHasUnansweredOwnerConfirmationRequest = (comments, isTrustedAuthor, a
|
|
|
12
11
|
if (!(0, extractNeedOwnerConfirmationOrApproval_1.extractNeedOwnerConfirmationOrApproval)(lastAgentReport.content)) {
|
|
13
12
|
return false;
|
|
14
13
|
}
|
|
15
|
-
|
|
16
|
-
(0, isHumanComment_1.isHumanComment)(comment, isTrustedAuthor));
|
|
17
|
-
return !hasReplyAfterReport;
|
|
14
|
+
return comments[comments.length - 1] === lastAgentReport;
|
|
18
15
|
};
|
|
19
16
|
exports.issueHasUnansweredOwnerConfirmationRequest = issueHasUnansweredOwnerConfirmationRequest;
|
|
20
17
|
//# sourceMappingURL=issueHasUnansweredOwnerConfirmationRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issueHasUnansweredOwnerConfirmationRequest.js","sourceRoot":"","sources":["../../../src/domain/usecases/issueHasUnansweredOwnerConfirmationRequest.ts"],"names":[],"mappings":";;;AACA,qGAAkG;AAClG,+DAA4D;
|
|
1
|
+
{"version":3,"file":"issueHasUnansweredOwnerConfirmationRequest.js","sourceRoot":"","sources":["../../../src/domain/usecases/issueHasUnansweredOwnerConfirmationRequest.ts"],"names":[],"mappings":";;;AACA,qGAAkG;AAClG,+DAA4D;AAErD,MAAM,0CAA0C,GAAG,CACxD,QAAmB,EACnB,eAA4C,EAC5C,eAA8B,EACrB,EAAE;IACX,MAAM,eAAe,GAAG,IAAA,yCAAmB,EACzC,QAAQ,EACR,eAAe,EACf,eAAe,CAChB,CAAC;IACF,IAAI,eAAe,KAAK,IAAI,EAAE,CAAC;QAC7B,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,CAAC,IAAA,+EAAsC,EAAC,eAAe,CAAC,OAAO,CAAC,EAAE,CAAC;QACrE,OAAO,KAAK,CAAC;IACf,CAAC;IACD,OAAO,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,eAAe,CAAC;AAC3D,CAAC,CAAC;AAjBW,QAAA,0CAA0C,8CAiBrD"}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"issueHasUnansweredOwnerConfirmationRequest.d.ts","sourceRoot":"","sources":["../../../src/domain/usecases/issueHasUnansweredOwnerConfirmationRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"issueHasUnansweredOwnerConfirmationRequest.d.ts","sourceRoot":"","sources":["../../../src/domain/usecases/issueHasUnansweredOwnerConfirmationRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAI9C,eAAO,MAAM,0CAA0C,GACrD,UAAU,OAAO,EAAE,EACnB,iBAAiB,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,EAC5C,iBAAiB,MAAM,GAAG,IAAI,KAC7B,OAaF,CAAC"}
|