github-issue-tower-defence-management 2.161.1 → 2.161.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.
- package/bin/adapter/entry-points/console/ui-dist/assets/index-CDIjqf9v.js +93 -0
- package/bin/adapter/entry-points/console/ui-dist/index.html +1 -1
- package/bin/domain/usecases/NotifyFinishedIssuePreparationUseCase.js +2 -16
- package/bin/domain/usecases/NotifyFinishedIssuePreparationUseCase.js.map +1 -1
- package/package.json +1 -1
- package/types/domain/usecases/NotifyFinishedIssuePreparationUseCase.d.ts.map +1 -1
- package/bin/adapter/entry-points/console/ui-dist/assets/index-uvEG88ll.js +0 -93
- package/bin/domain/usecases/isHumanAuthoredInvestigationTaskCloseOverride.js +0 -27
- package/bin/domain/usecases/isHumanAuthoredInvestigationTaskCloseOverride.js.map +0 -1
- package/types/domain/usecases/isHumanAuthoredInvestigationTaskCloseOverride.d.ts +0 -5
- package/types/domain/usecases/isHumanAuthoredInvestigationTaskCloseOverride.d.ts.map +0 -1
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isHumanAuthoredInvestigationTaskCloseOverride = void 0;
|
|
4
|
-
const normalizeReportBody_1 = require("./normalizeReportBody");
|
|
5
|
-
const AUTOMATED_REPORT_FIRST_LINE_PREFIX = /^From: :robot: \S+/;
|
|
6
|
-
const INVESTIGATION_TASK_KEYWORDS = [
|
|
7
|
-
'調査',
|
|
8
|
-
'報告',
|
|
9
|
-
'レポート',
|
|
10
|
-
'分析',
|
|
11
|
-
'評価',
|
|
12
|
-
'調べ',
|
|
13
|
-
'教えてください',
|
|
14
|
-
'確認',
|
|
15
|
-
'集計',
|
|
16
|
-
'点検',
|
|
17
|
-
'監査',
|
|
18
|
-
'メトリクス',
|
|
19
|
-
'列挙',
|
|
20
|
-
];
|
|
21
|
-
const isAutomatedReportBody = (body) => AUTOMATED_REPORT_FIRST_LINE_PREFIX.test((0, normalizeReportBody_1.normalizeReportBody)(body).split('\n')[0]);
|
|
22
|
-
const containsInvestigationTaskKeyword = (text) => INVESTIGATION_TASK_KEYWORDS.some((keyword) => text.includes(keyword));
|
|
23
|
-
const isHumanAuthoredInvestigationTaskCloseOverride = (args) => !isAutomatedReportBody(args.body) &&
|
|
24
|
-
(containsInvestigationTaskKeyword(args.title) ||
|
|
25
|
-
containsInvestigationTaskKeyword(args.body));
|
|
26
|
-
exports.isHumanAuthoredInvestigationTaskCloseOverride = isHumanAuthoredInvestigationTaskCloseOverride;
|
|
27
|
-
//# sourceMappingURL=isHumanAuthoredInvestigationTaskCloseOverride.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isHumanAuthoredInvestigationTaskCloseOverride.js","sourceRoot":"","sources":["../../../src/domain/usecases/isHumanAuthoredInvestigationTaskCloseOverride.ts"],"names":[],"mappings":";;;AAAA,+DAA4D;AAE5D,MAAM,kCAAkC,GAAG,oBAAoB,CAAC;AAEhE,MAAM,2BAA2B,GAAG;IAClC,IAAI;IACJ,IAAI;IACJ,MAAM;IACN,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,SAAS;IACT,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,OAAO;IACP,IAAI;CACL,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAAC,IAAY,EAAW,EAAE,CACtD,kCAAkC,CAAC,IAAI,CACrC,IAAA,yCAAmB,EAAC,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CACzC,CAAC;AAEJ,MAAM,gCAAgC,GAAG,CAAC,IAAY,EAAW,EAAE,CACjE,2BAA2B,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;AAEjE,MAAM,6CAA6C,GAAG,CAAC,IAG7D,EAAW,EAAE,CACZ,CAAC,qBAAqB,CAAC,IAAI,CAAC,IAAI,CAAC;IACjC,CAAC,gCAAgC,CAAC,IAAI,CAAC,KAAK,CAAC;QAC3C,gCAAgC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AANpC,QAAA,6CAA6C,iDAMT"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isHumanAuthoredInvestigationTaskCloseOverride.d.ts","sourceRoot":"","sources":["../../../src/domain/usecases/isHumanAuthoredInvestigationTaskCloseOverride.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,6CAA6C,GAAI,MAAM;IAClE,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,KAAG,OAG4C,CAAC"}
|