github-issue-tower-defence-management 2.177.1 → 2.177.2
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/consoleAirplaneSnapshotApi.js +8 -1
- package/bin/adapter/entry-points/console/consoleAirplaneSnapshotApi.js.map +1 -1
- package/bin/adapter/entry-points/console/consoleReadApi.js.map +1 -1
- package/bin/adapter/entry-points/console/ui-dist/assets/{index-qne1gT7I.js → index-CmBdbC7r.js} +4 -4
- package/bin/adapter/entry-points/console/ui-dist/index.html +1 -1
- package/bin/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.js +4 -1
- package/bin/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.js.map +1 -1
- package/package.json +1 -1
- package/types/adapter/entry-points/console/consoleAirplaneSnapshotApi.d.ts +1 -0
- package/types/adapter/entry-points/console/consoleAirplaneSnapshotApi.d.ts.map +1 -1
- package/types/adapter/entry-points/console/consoleReadApi.d.ts +1 -0
- package/types/adapter/entry-points/console/consoleReadApi.d.ts.map +1 -1
- package/types/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.d.ts +1 -0
- package/types/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.d.ts.map +1 -1
- package/types/domain/usecases/adapter-interfaces/IssueRepository.d.ts +1 -0
- package/types/domain/usecases/adapter-interfaces/IssueRepository.d.ts.map +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
7
7
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
8
8
|
<title>TDPM Console</title>
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-CmBdbC7r.js"></script>
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/assets/index-DrLmS10d.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
|
@@ -244,7 +244,8 @@ function isIssueOrPullRequestBodyResponse(value) {
|
|
|
244
244
|
function isIssueOrPullRequestStateResponse(value) {
|
|
245
245
|
return (isRecord(value) &&
|
|
246
246
|
typeof value.state === 'string' &&
|
|
247
|
-
typeof value.title === 'string'
|
|
247
|
+
typeof value.title === 'string' &&
|
|
248
|
+
(value.state_reason === undefined || isNullableString(value.state_reason)));
|
|
248
249
|
}
|
|
249
250
|
function isIssueCommentsResponseItem(value) {
|
|
250
251
|
if (!isRecord(value))
|
|
@@ -2978,6 +2979,7 @@ class ApiV3CheerioRestIssueRepository extends BaseGitHubRepository_1.BaseGitHubR
|
|
|
2978
2979
|
merged: body.merged,
|
|
2979
2980
|
isPullRequest: true,
|
|
2980
2981
|
title: body.title,
|
|
2982
|
+
stateReason: '',
|
|
2981
2983
|
};
|
|
2982
2984
|
}
|
|
2983
2985
|
const issueStateUrl = `https://api.github.com/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/issues/${issueNumber}`;
|
|
@@ -3003,6 +3005,7 @@ class ApiV3CheerioRestIssueRepository extends BaseGitHubRepository_1.BaseGitHubR
|
|
|
3003
3005
|
merged: false,
|
|
3004
3006
|
isPullRequest: false,
|
|
3005
3007
|
title: body.title,
|
|
3008
|
+
stateReason: body.state_reason ?? '',
|
|
3006
3009
|
};
|
|
3007
3010
|
};
|
|
3008
3011
|
this.getPullRequestSummary = async (prUrl) => {
|