chore(doc): improve comments@@ -1,76 +1,76 @@
{
- "_generatedAtUnix": 1668960265276,
+ "_generatedAtUnix": 1670633875010,
"_hashAlgorithm": "sha1",
"_version": 2,
"islands": {
"Code": {
- "hash": "e5b854e7eae3fdc06195e320f09da33a5ff7a42b",
+ "hash": "7a08a2ecee9bdd07ccc9abf6a023174df7812b24",
"pathSource": "./app/islands/Code.tsx",
"pathBundle": "./public/.islands/Code.bundle.js",
"pathSourceMap": "./public/.islands/Code.bundle.js.map"
},
"InstantRouterIndicator": {
- "hash": "7628c54f1c2cf5063d6ff887001e659a2fbbaed3",
+ "hash": "5df7d5388145fb13164baf8361b1d33a332c8841",
"pathSource": "./app/islands/InstantRouterIndicator.tsx",
"pathBundle": "./public/.islands/InstantRouterIndicator.bundle.js",
"pathSourceMap": "./public/.islands/InstantRouterIndicator.bundle.js.map"
},
"PullRequestSourceSelect": {
- "hash": "bb55a17fb22301a6b68f6fdde02d2d5e4964d5fa",
+ "hash": "6f5bba81f415c4790c33ba8a9d3ffb2eb993665f",
"pathSource": "./app/islands/PullRequestSourceSelect.tsx",
"pathBundle": "./public/.islands/PullRequestSourceSelect.bundle.js",
"pathSourceMap": "./public/.islands/PullRequestSourceSelect.bundle.js.map"
},
"RepositoriesList": {
- "hash": "5ab9b0029f1d67d317afbfbd0ee72797f382853c",
+ "hash": "8e1c3e149243e2a42e1a2d3cea1a51bc101ca656",
"pathSource": "./app/islands/RepositoriesList.tsx",
"pathBundle": "./public/.islands/RepositoriesList.bundle.js",
"pathSourceMap": "./public/.islands/RepositoriesList.bundle.js.map"
},
"RepositoryCommitSummaryLine": {
- "hash": "e012ace9c8913084e366212f13bb7ae0156b31ab",
+ "hash": "7205e3d23a0316c84eb4028cfc8d1614037e60e0",
"pathSource": "./app/islands/RepositoryCommitSummaryLine.tsx",
"pathBundle": "./public/.islands/RepositoryCommitSummaryLine.bundle.js",
"pathSourceMap": "./public/.islands/RepositoryCommitSummaryLine.bundle.js.map"
},
"RepositoryCreateForm": {
- "hash": "499740ee0022aa47e24a40f33e13982ae044e6f2",
+ "hash": "0257bbbe100aef18044efbef31e8635c249c382b",
"pathSource": "./app/islands/RepositoryCreateForm.tsx",
"pathBundle": "./public/.islands/RepositoryCreateForm.bundle.js",
"pathSourceMap": "./public/.islands/RepositoryCreateForm.bundle.js.map"
},
"RepositoryFilesDiffsList": {
- "hash": "3f25148b18ecf4be33cde9ba288d93f5f7f3fc53",
+ "hash": "6e09d3fa17611d991dec13339d0a0e1aa26a3496",
"pathSource": "./app/islands/RepositoryFilesDiffsList.tsx",
"pathBundle": "./public/.islands/RepositoryFilesDiffsList.bundle.js",
"pathSourceMap": "./public/.islands/RepositoryFilesDiffsList.bundle.js.map"
},
"RepositoryForkForm": {
- "hash": "b2a18179c18f3d6baa734c0a063f5f31ec3f2f08",
+ "hash": "ba2b154455bebe93418d07d0dc442ae8274e7077",
"pathSource": "./app/islands/RepositoryForkForm.tsx",
"pathBundle": "./public/.islands/RepositoryForkForm.bundle.js",
"pathSourceMap": "./public/.islands/RepositoryForkForm.bundle.js.map"
},
"RepositoryHero": {
- "hash": "81540baa6a726aa5046fbe1c4d09d1d926a7adb3",
+ "hash": "7875d80ebe7af7e679f0926130be103f0c49410b",
"pathSource": "./app/islands/RepositoryHero.tsx",
"pathBundle": "./public/.islands/RepositoryHero.bundle.js",
"pathSourceMap": "./public/.islands/RepositoryHero.bundle.js.map"
},
"RepositoryInitialSetup": {
- "hash": "40f07bcdbd7272ab23645ecaec16883fccb8a194",
+ "hash": "3161d78d94d0d1106cdaaf96232e0bf3837e65d9",
"pathSource": "./app/islands/RepositoryInitialSetup.tsx",
"pathBundle": "./public/.islands/RepositoryInitialSetup.bundle.js",
"pathSourceMap": "./public/.islands/RepositoryInitialSetup.bundle.js.map"
},
"RepositoryPullRequestCreateForm": {
- "hash": "e0ca07f9a904abb40e812678f1a1efde5e3ae994",
+ "hash": "ba904416b012180a45726b5d025ae2f55b43d158",
"pathSource": "./app/islands/RepositoryPullRequestCreateForm.tsx",
"pathBundle": "./public/.islands/RepositoryPullRequestCreateForm.bundle.js",
"pathSourceMap": "./public/.islands/RepositoryPullRequestCreateForm.bundle.js.map"
},
"RepositoryTreeView": {
- "hash": "d67f8f95e142fb6593b07fa08e1e5580ecc8eedf",
+ "hash": "dd5a8daeb67ea7e25e21a0bf256495c54c7ae48d",
"pathSource": "./app/islands/RepositoryTreeView.tsx",
"pathBundle": "./public/.islands/RepositoryTreeView.bundle.js",
"pathSourceMap": "./public/.islands/RepositoryTreeView.bundle.js.map"
@@ -78,75 +78,75 @@
},
"views": {
"HomeView": {
- "hash": "c1530f6ff4b764c99bd296ebdad53d6fd8f95fa2",
+ "hash": "a6effb4d7c0dbb5dc53dfdaeadab48881d4e3c9e",
"pathSource": "./app/views/HomeView.tsx"
},
"InternalErrorView": {
- "hash": "a155f3581f6ccadc5e7db619152490c65b7c4de5",
+ "hash": "aae11e5992008b39f21645e1ebf8dd884e8941f9",
"pathSource": "./app/views/InternalErrorView.tsx"
},
"LoginView": {
- "hash": "44c082512925027813f1f7d046ec43e5ac8d3f0d",
+ "hash": "1f3e668669f0504880f91d1273d97f9c8195cb34",
"pathSource": "./app/views/auth/LoginView.tsx"
},
"RegisterView": {
- "hash": "d703ac5d1bec1c1167c60b08fc4eb98f02cef139",
+ "hash": "4e8d118248a0fbb3ebf83f60b5a6518308f813bf",
"pathSource": "./app/views/auth/RegisterView.tsx"
},
"OrganizationDetailsView": {
- "hash": "c842d33d79747b92840d89df39d71c87b212f154",
+ "hash": "d918b9bfef2257d92a8dd1c30ede8ce6021d4001",
"pathSource": "./app/views/organization/OrganizationDetailsView.tsx"
},
"RepositoryBrowserView": {
- "hash": "be8c3fe71b7ca4ea390a70f54d26488d7516e37d",
+ "hash": "f8c846459384efa5b446d7119391a00c55e803a0",
"pathSource": "./app/views/repository/RepositoryBrowserView.tsx"
},
"RepositoryCommitsLogView": {
- "hash": "4995f2eb82a50944bdf952d74e80d9c751f2babe",
+ "hash": "1b098bca42421339e228814ebeffbbf8bd09224d",
"pathSource": "./app/views/repository/RepositoryCommitsLogView.tsx"
},
"RepositoryCompareView": {
- "hash": "1dba03624f8d35215715098e4b6c371a5ad63e88",
+ "hash": "52d12401cafb16f88c83cbf55e5cf21e68049c58",
"pathSource": "./app/views/repository/RepositoryCompareView.tsx"
},
"RepositoryCreateView": {
- "hash": "8e132740bf20835739cb136423026814d96a1133",
+ "hash": "4eccb4a55a8d9fad7cea1d3e6f63d129a825d5b0",
"pathSource": "./app/views/repository/RepositoryCreateView.tsx"
},
"RepositoryDetailsView": {
- "hash": "c3e752ad6bdd246ee4e462912df47e6cca5e6a78",
+ "hash": "60865fcf0dfa4cfcb8fdf7c98b5ecd5dfc6d4693",
"pathSource": "./app/views/repository/RepositoryDetailsView.tsx"
},
"RepositoryExploreView": {
- "hash": "5bad0d97ea8393006f1d0100c06156e091d03433",
+ "hash": "762873efea7c9a2b0b5f8a6840d5610c885b9318",
"pathSource": "./app/views/repository/RepositoryExploreView.tsx"
},
"RepositoryForkView": {
- "hash": "e1a0823de0e5ba83b2a2a75e920b2350872025e2",
+ "hash": "8c5cc4fb207bcc3bae32619ea3c10c1ad1edde4d",
"pathSource": "./app/views/repository/RepositoryForkView.tsx"
},
"RepositoryShowObjectView": {
- "hash": "ba960136b69ddbb078f807b14652d26cbd1cc985",
+ "hash": "68dc54d2fd44cdf6cb29491e27ba43389cad0cb0",
"pathSource": "./app/views/repository/RepositoryShowObjectView.tsx"
},
"RepositoryPullRequestCreateView": {
- "hash": "09943e3deb491b00773600dc5510bc6a76cd680b",
+ "hash": "f9dbde47be4d35763f97475a36a1cfa45632ae71",
"pathSource": "./app/views/repositoryPullRequests/RepositoryPullRequestCreateView.tsx"
},
"RepositoryPullRequestDetailsView": {
- "hash": "9e7111296429add78bf3f157f2ebb31f55ce7b2f",
+ "hash": "86b0ea0babddf47d617432446516553abe39f5d5",
"pathSource": "./app/views/repositoryPullRequests/RepositoryPullRequestDetailsView.tsx"
},
"RepositoryPullRequestsView": {
- "hash": "15afac8b1953b882780b60c5b5abb75354ca6a88",
+ "hash": "0944c853a908e8847d5c77ec097e43859f38b295",
"pathSource": "./app/views/repositoryPullRequests/RepositoryPullRequestsView.tsx"
},
"UserDashboardView": {
- "hash": "5fe630f3d49d221303a8bfc4ec8743274a26d0c3",
+ "hash": "573e3c0c4d61352aa049963fa41b555acdc443aa",
"pathSource": "./app/views/user/UserDashboardView.tsx"
},
"UserDetailsView": {
- "hash": "74a497d557f1c658e8afce96e45efd115d0d6790",
+ "hash": "272ad7be3d5f7c3cefc9136b4ac8d361a28562ca",
"pathSource": "./app/views/user/UserDetailsView.tsx"
}
}
@@ -22,8 +22,13 @@ const postRepositoryPullRequestMergeAction: ReqHandler = async (
) => {
const { orgSlug, repoSlug, pullUid } =
request.params as AppRouteParams[CurrentRoute]["params"];
- // const { merge_message, merge_summary } =
- // request.body as AppRouteParams[CurrentRoute]["body"];
+ const { merge_message, merge_summary } =
+ request.body as AppRouteParams[CurrentRoute]["body"];
+
+ console.log("params:", {
+ merge_message,
+ merge_summary,
+ });
const orgService = makeOrganizationService({ request });
const prService = makePullRequestService({ request });
@@ -32,13 +32,16 @@ export const codeAnalysisPlugin: FastifyPluginAsync<never> = fp(
return acc;
},
{} as {
- [extension: string]: string; // ext => mime-type
+ // file extension => file mime-type
+ [extension: string]: string;
}
),
});
+
server.decorate(serviceKey, {
getter: () => service,
});
+
server.decorateRequest(serviceKey, {
getter: () => service,
});