[{"id":"36517580524","type":"IssueCommentEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":69495170,"name":"fastify/fastify","url":"https://api.github.com/repos/fastify/fastify"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/fastify/fastify/issues/5356","repository_url":"https://api.github.com/repos/fastify/fastify","labels_url":"https://api.github.com/repos/fastify/fastify/issues/5356/labels{/name}","comments_url":"https://api.github.com/repos/fastify/fastify/issues/5356/comments","events_url":"https://api.github.com/repos/fastify/fastify/issues/5356/events","html_url":"https://github.com/fastify/fastify/issues/5356","id":2182290754,"node_id":"I_kwDOBCRpgs6CEx1C","number":5356,"title":"method to check if plugin version is matching the Fastify version","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2024-03-12T17:36:32Z","updated_at":"2024-03-13T15:51:09Z","closed_at":null,"author_association":"CONTRIBUTOR","active_lock_reason":null,"body":"### Prerequisites\n\n- [X] I have written a descriptive issue title\n- [X] I have searched existing issues to ensure the feature has not already been requested\n\n\n### 🚀 Feature Proposal\n\nIf you register a plugin that does not match the Fastify version, an error is thrown. It would be helpful to have a function like 'checkPluginVersion' that follows the same logic to check if the given plugin version matches the Fastify version.\n\n### Motivation\n\n_No response_\n\n### Example\n\n```js\r\nimport fp from 'fastify-plugin'\r\nimport Fastify from 'fastify'\r\n\r\nconst plugin = fp(async app => {}, {\r\n fastify: '4.x'\r\n}) \r\n\r\nconst app = Fastify()\r\n\r\nif (app.checkPluginVersion(plugin)) {\r\n console.log('plugin version does match' )\r\n} else {\r\n console.log('plugin version does not match' )\r\n}\r\n```","reactions":{"url":"https://api.github.com/repos/fastify/fastify/issues/5356/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/fastify/fastify/issues/5356/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/fastify/fastify/issues/comments/1994746440","html_url":"https://github.com/fastify/fastify/issues/5356#issuecomment-1994746440","issue_url":"https://api.github.com/repos/fastify/fastify/issues/5356","id":1994746440,"node_id":"IC_kwDOBCRpgs525WpI","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"created_at":"2024-03-13T15:51:08Z","updated_at":"2024-03-13T15:51:08Z","author_association":"CONTRIBUTOR","body":"My use case is as follows: I have a CLI that receives a file path/several file paths to plugins from the user. This CLI then registers the given plugins in a self-created Fastify instance. Now it would be handy to be able to check whether the version of the Fastify plugins matches the Fastify version. Currently this is possible via a register, where you can see if an error is thrown. But I would prefer to have a method to easily check this without having to catch an error.","reactions":{"url":"https://api.github.com/repos/fastify/fastify/issues/comments/1994746440/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-13T15:51:09Z","org":{"id":24939410,"login":"fastify","gravatar_id":"","url":"https://api.github.com/orgs/fastify","avatar_url":"https://avatars.githubusercontent.com/u/24939410?"}},{"id":"36483483187","type":"IssuesEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":69495170,"name":"fastify/fastify","url":"https://api.github.com/repos/fastify/fastify"},"payload":{"action":"opened","issue":{"url":"https://api.github.com/repos/fastify/fastify/issues/5356","repository_url":"https://api.github.com/repos/fastify/fastify","labels_url":"https://api.github.com/repos/fastify/fastify/issues/5356/labels{/name}","comments_url":"https://api.github.com/repos/fastify/fastify/issues/5356/comments","events_url":"https://api.github.com/repos/fastify/fastify/issues/5356/events","html_url":"https://github.com/fastify/fastify/issues/5356","id":2182290754,"node_id":"I_kwDOBCRpgs6CEx1C","number":5356,"title":"method to check if plugin version is matching the Fastify version","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2024-03-12T17:36:32Z","updated_at":"2024-03-12T17:36:32Z","closed_at":null,"author_association":"CONTRIBUTOR","active_lock_reason":null,"body":"### Prerequisites\n\n- [X] I have written a descriptive issue title\n- [X] I have searched existing issues to ensure the feature has not already been requested\n\n\n### 🚀 Feature Proposal\n\nIf you register a plugin that does not match the Fastify version, an error is thrown. It would be helpful to have a function like 'checkPluginVersion' that follows the same logic to check if the given plugin version matches the Fastify version.\n\n### Motivation\n\n_No response_\n\n### Example\n\n```js\r\nimport fp from 'fastify-plugin'\r\nimport Fastify from 'fastify'\r\n\r\nconst plugin = fp(async app => {}, {\r\n fastify: '4.x'\r\n}) \r\n\r\nconst app = Fastify()\r\n\r\nif (app.checkPluginVersion(plugin)) {\r\n console.log('plugin version does match' )\r\n} else {\r\n console.log('plugin version does not match' )\r\n}\r\n```","reactions":{"url":"https://api.github.com/repos/fastify/fastify/issues/5356/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/fastify/fastify/issues/5356/timeline","performed_via_github_app":null,"state_reason":null}},"public":true,"created_at":"2024-03-12T17:36:34Z","org":{"id":24939410,"login":"fastify","gravatar_id":"","url":"https://api.github.com/orgs/fastify","avatar_url":"https://avatars.githubusercontent.com/u/24939410?"}},{"id":"36476353097","type":"WatchEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":44211976,"name":"dsherret/code-block-writer","url":"https://api.github.com/repos/dsherret/code-block-writer"},"payload":{"action":"started"},"public":true,"created_at":"2024-03-12T14:23:06Z"},{"id":"36413776041","type":"IssueCommentEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":384732682,"name":"Eomm/fastify-overview","url":"https://api.github.com/repos/Eomm/fastify-overview"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98","repository_url":"https://api.github.com/repos/Eomm/fastify-overview","labels_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98/comments","events_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98/events","html_url":"https://github.com/Eomm/fastify-overview/issues/98","id":2115848069,"node_id":"I_kwDOFu6OCs5-HUeF","number":98,"title":" TypeError: Cannot read properties of undefined (reading 'func')","user":{"login":"nasraldin","id":9030671,"node_id":"MDQ6VXNlcjkwMzA2NzE=","avatar_url":"https://avatars.githubusercontent.com/u/9030671?v=4","gravatar_id":"","url":"https://api.github.com/users/nasraldin","html_url":"https://github.com/nasraldin","followers_url":"https://api.github.com/users/nasraldin/followers","following_url":"https://api.github.com/users/nasraldin/following{/other_user}","gists_url":"https://api.github.com/users/nasraldin/gists{/gist_id}","starred_url":"https://api.github.com/users/nasraldin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasraldin/subscriptions","organizations_url":"https://api.github.com/users/nasraldin/orgs","repos_url":"https://api.github.com/users/nasraldin/repos","events_url":"https://api.github.com/users/nasraldin/events{/privacy}","received_events_url":"https://api.github.com/users/nasraldin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2024-02-02T21:45:43Z","updated_at":"2024-03-10T19:37:59Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"Hello team,\r\n\r\nPlease apply the fix to avoid the below issue that throw when using with typescript.\r\n\r\nCurrent ver.\r\n\r\n```\r\n\"fastify-overview\": \"3.7.0\",\r\n \"fastify\": \"4.26.0\",\r\n```\r\n\r\nTo reproduce the issue:\r\nadd the plugin\r\n pnpm add fastify-overview\r\n\r\n```\r\nregister to fastify \r\n\r\nimport FastifyOverview from 'fastify-overview';\r\n fastify.register(FastifyOverview, {\r\n addSource: true, // current this opt is throw error and stoped the app start\r\n exposeRoute: true,\r\n exposeRouteOptions: {\r\n url: '/json-overview',\r\n },\r\n });\r\n```\r\n\r\nrun your app\r\n\r\nresult \r\napplication stoped to start and throw below error\r\n\r\n```\r\nFailed to start application: TypeError: Cannot read properties of undefined (reading 'func')\r\n at Boot.manInTheMiddle (/api/node_modules/.pnpm/fastify-overview@3.7.0/node_modules/fastify-overview/index.js:90:107)\r\n at Boot.markInstance (/api/node_modules/.pnpm/fastify-overview@3.7.0/node_modules/fastify-overview/index.js:30:20)\r\n at Boot.override (/api/node_modules/.pnpm/fastify@4.26.0/node_modules/fastify/lib/pluginOverride.js:69:56)\r\n at Plugin.exec (/api/node_modules/.pnpm/avvio@8.2.1/node_modules/avvio/plugin.js:79:33)\r\n at Boot.loadPlugin (/api/node_modules/.pnpm/avvio@8.2.1/node_modules/avvio/plugin.js:272:10)\r\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\r\n```\r\n\r\nThe fix:\r\n\r\nI'm just checking in the compiled source code in node modules of your lib to fix but for you you need to fix the root cause in js that fun related to show source\r\n\r\nIn the manInTheMiddle function, update the check to ensure that _current has a value before assigning it to the source.\r\n\r\nold fun is \r\n\r\n```js\r\nif (opts.addSource && this) {\r\n trackStructure.source = this._current.find(loadPipe => loadPipe.func[kSourceRegister] !== undefined).func[kSourceRegister]\r\n}\r\n```\r\n\r\nnew code \r\n```js\r\nif (opts.addSource && this) {\r\n const currentSourcePipe = this._current.find(loadPipe => loadPipe.func[kSourceRegister] !== undefined);\r\n if (currentSourcePipe) {\r\n trackStructure.source = currentSourcePipe.func[kSourceRegister];\r\n }\r\n}\r\n```\r\n\r\nThank you for creating such an amazing tool!","reactions":{"url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/Eomm/fastify-overview/issues/comments/1987340905","html_url":"https://github.com/Eomm/fastify-overview/issues/98#issuecomment-1987340905","issue_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98","id":1987340905,"node_id":"IC_kwDOFu6OCs52dGpp","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"created_at":"2024-03-10T19:37:57Z","updated_at":"2024-03-10T19:37:57Z","author_association":"CONTRIBUTOR","body":"I've been looking for a solution for some time now, but haven't found one yet. But maybe we should solve the problem with the sources separately from the issues with the registration of ECMAScript modules, since the two things have nothing to do with each other.","reactions":{"url":"https://api.github.com/repos/Eomm/fastify-overview/issues/comments/1987340905/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-10T19:37:59Z"},{"id":"36260884334","type":"IssueCommentEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":431412661,"name":"fastify/website","url":"https://api.github.com/repos/fastify/website"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/fastify/website/issues/197","repository_url":"https://api.github.com/repos/fastify/website","labels_url":"https://api.github.com/repos/fastify/website/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/fastify/website/issues/197/comments","events_url":"https://api.github.com/repos/fastify/website/issues/197/events","html_url":"https://github.com/fastify/website/issues/197","id":2168354137,"node_id":"I_kwDOGbbVtc6BPnVZ","number":197,"title":"Link broken in documentation TypeScript > Type Providers","user":{"login":"danielnmai","id":26222469,"node_id":"MDQ6VXNlcjI2MjIyNDY5","avatar_url":"https://avatars.githubusercontent.com/u/26222469?v=4","gravatar_id":"","url":"https://api.github.com/users/danielnmai","html_url":"https://github.com/danielnmai","followers_url":"https://api.github.com/users/danielnmai/followers","following_url":"https://api.github.com/users/danielnmai/following{/other_user}","gists_url":"https://api.github.com/users/danielnmai/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnmai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnmai/subscriptions","organizations_url":"https://api.github.com/users/danielnmai/orgs","repos_url":"https://api.github.com/users/danielnmai/repos","events_url":"https://api.github.com/users/danielnmai/events{/privacy}","received_events_url":"https://api.github.com/users/danielnmai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2024-03-04T19:05:48Z","updated_at":"2024-03-05T13:19:23Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"### Prerequisites\n\n- [X] I have written a descriptive issue title\n- [X] I have searched existing issues to ensure the bug has not already been reported\n\n\n### Fastify version\n\n4.26.2\n\n### Plugin version\n\n_No response_\n\n### Node.js version\n\n18.0\n\n### Operating system\n\nmacOS\n\n### Operating system version (i.e. 20.04, 11.3, 10)\n\n14.2.1\n\n### Description\n\nThe `Type Providers` link leads to a not found page.\r\n\r\n\r\n\r\n\n\n### Steps to Reproduce\n\n1. Go to [latest doc on TypeScript support](https://fastify.dev/docs/latest/Reference/TypeScript/#fastifyrawserver-rawrequest-rawreply-loggeropts-fastifyserveroptions-fastifyinstance)\r\n2. Click on the `Type Providers` link\r\n3. Observe the broken page.\n\n### Expected Behavior\n\nThe Type Providers page should load correctly.","reactions":{"url":"https://api.github.com/repos/fastify/website/issues/197/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/fastify/website/issues/197/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/fastify/website/issues/comments/1978762329","html_url":"https://github.com/fastify/website/issues/197#issuecomment-1978762329","issue_url":"https://api.github.com/repos/fastify/website/issues/197","id":1978762329,"node_id":"IC_kwDOGbbVtc518YRZ","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"created_at":"2024-03-05T13:19:21Z","updated_at":"2024-03-05T13:19:21Z","author_association":"NONE","body":"This problem appears with all documentation versions from Fastify version 4.6.x onwards","reactions":{"url":"https://api.github.com/repos/fastify/website/issues/comments/1978762329/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-05T13:19:23Z","org":{"id":24939410,"login":"fastify","gravatar_id":"","url":"https://api.github.com/orgs/fastify","avatar_url":"https://avatars.githubusercontent.com/u/24939410?"}},{"id":"36258524665","type":"ForkEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":431412661,"name":"fastify/website","url":"https://api.github.com/repos/fastify/website"},"payload":{"forkee":{"id":767502514,"node_id":"R_kgDOLb8osg","name":"fastify-website","full_name":"matthyk/fastify-website","private":false,"owner":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"html_url":"https://github.com/matthyk/fastify-website","description":null,"fork":true,"url":"https://api.github.com/repos/matthyk/fastify-website","forks_url":"https://api.github.com/repos/matthyk/fastify-website/forks","keys_url":"https://api.github.com/repos/matthyk/fastify-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matthyk/fastify-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matthyk/fastify-website/teams","hooks_url":"https://api.github.com/repos/matthyk/fastify-website/hooks","issue_events_url":"https://api.github.com/repos/matthyk/fastify-website/issues/events{/number}","events_url":"https://api.github.com/repos/matthyk/fastify-website/events","assignees_url":"https://api.github.com/repos/matthyk/fastify-website/assignees{/user}","branches_url":"https://api.github.com/repos/matthyk/fastify-website/branches{/branch}","tags_url":"https://api.github.com/repos/matthyk/fastify-website/tags","blobs_url":"https://api.github.com/repos/matthyk/fastify-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matthyk/fastify-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matthyk/fastify-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/matthyk/fastify-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matthyk/fastify-website/statuses/{sha}","languages_url":"https://api.github.com/repos/matthyk/fastify-website/languages","stargazers_url":"https://api.github.com/repos/matthyk/fastify-website/stargazers","contributors_url":"https://api.github.com/repos/matthyk/fastify-website/contributors","subscribers_url":"https://api.github.com/repos/matthyk/fastify-website/subscribers","subscription_url":"https://api.github.com/repos/matthyk/fastify-website/subscription","commits_url":"https://api.github.com/repos/matthyk/fastify-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/matthyk/fastify-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/matthyk/fastify-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/matthyk/fastify-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/matthyk/fastify-website/contents/{+path}","compare_url":"https://api.github.com/repos/matthyk/fastify-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matthyk/fastify-website/merges","archive_url":"https://api.github.com/repos/matthyk/fastify-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matthyk/fastify-website/downloads","issues_url":"https://api.github.com/repos/matthyk/fastify-website/issues{/number}","pulls_url":"https://api.github.com/repos/matthyk/fastify-website/pulls{/number}","milestones_url":"https://api.github.com/repos/matthyk/fastify-website/milestones{/number}","notifications_url":"https://api.github.com/repos/matthyk/fastify-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matthyk/fastify-website/labels{/name}","releases_url":"https://api.github.com/repos/matthyk/fastify-website/releases{/id}","deployments_url":"https://api.github.com/repos/matthyk/fastify-website/deployments","created_at":"2024-03-05T12:10:53Z","updated_at":"2024-03-05T12:10:53Z","pushed_at":"2024-03-02T13:44:05Z","git_url":"git://github.com/matthyk/fastify-website.git","ssh_url":"git@github.com:matthyk/fastify-website.git","clone_url":"https://github.com/matthyk/fastify-website.git","svn_url":"https://github.com/matthyk/fastify-website","homepage":"https://fastify.dev/","size":2978,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"allow_forking":true,"is_template":false,"web_commit_signoff_required":true,"topics":[],"visibility":"public","forks":0,"open_issues":0,"watchers":0,"default_branch":"main","public":true}},"public":true,"created_at":"2024-03-05T12:10:54Z","org":{"id":24939410,"login":"fastify","gravatar_id":"","url":"https://api.github.com/orgs/fastify","avatar_url":"https://avatars.githubusercontent.com/u/24939410?"}},{"id":"36237474743","type":"IssueCommentEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":69495170,"name":"fastify/fastify","url":"https://api.github.com/repos/fastify/fastify"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/fastify/fastify/issues/5347","repository_url":"https://api.github.com/repos/fastify/fastify","labels_url":"https://api.github.com/repos/fastify/fastify/issues/5347/labels{/name}","comments_url":"https://api.github.com/repos/fastify/fastify/issues/5347/comments","events_url":"https://api.github.com/repos/fastify/fastify/issues/5347/events","html_url":"https://github.com/fastify/fastify/issues/5347","id":2167547070,"node_id":"I_kwDOBCRpgs6BMiS-","number":5347,"title":"Link broken in documentation TypeScript > Type Providers","user":{"login":"danielnmai","id":26222469,"node_id":"MDQ6VXNlcjI2MjIyNDY5","avatar_url":"https://avatars.githubusercontent.com/u/26222469?v=4","gravatar_id":"","url":"https://api.github.com/users/danielnmai","html_url":"https://github.com/danielnmai","followers_url":"https://api.github.com/users/danielnmai/followers","following_url":"https://api.github.com/users/danielnmai/following{/other_user}","gists_url":"https://api.github.com/users/danielnmai/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnmai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnmai/subscriptions","organizations_url":"https://api.github.com/users/danielnmai/orgs","repos_url":"https://api.github.com/users/danielnmai/repos","events_url":"https://api.github.com/users/danielnmai/events{/privacy}","received_events_url":"https://api.github.com/users/danielnmai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2024-03-04T19:05:48Z","updated_at":"2024-03-04T21:03:30Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"### Prerequisites\n\n- [X] I have written a descriptive issue title\n- [X] I have searched existing issues to ensure the bug has not already been reported\n\n\n### Fastify version\n\n4.26.2\n\n### Plugin version\n\n_No response_\n\n### Node.js version\n\n18.0\n\n### Operating system\n\nmacOS\n\n### Operating system version (i.e. 20.04, 11.3, 10)\n\n14.2.1\n\n### Description\n\nThe `Type Providers` link leads to a not found page.\r\n\r\n\r\n\r\n\n\n### Steps to Reproduce\n\n1. Go to [latest doc on TypeScript support](https://fastify.dev/docs/latest/Reference/TypeScript/#fastifyrawserver-rawrequest-rawreply-loggeropts-fastifyserveroptions-fastifyinstance)\r\n2. Click on the `Type Providers` link\r\n3. Observe the broken page.\n\n### Expected Behavior\n\nThe Type Providers page should load correctly.","reactions":{"url":"https://api.github.com/repos/fastify/fastify/issues/5347/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/fastify/fastify/issues/5347/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/fastify/fastify/issues/comments/1977451017","html_url":"https://github.com/fastify/fastify/issues/5347#issuecomment-1977451017","issue_url":"https://api.github.com/repos/fastify/fastify/issues/5347","id":1977451017,"node_id":"IC_kwDOBCRpgs513YIJ","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"created_at":"2024-03-04T21:03:30Z","updated_at":"2024-03-04T21:03:30Z","author_association":"CONTRIBUTOR","body":"Should be related to #5308 ","reactions":{"url":"https://api.github.com/repos/fastify/fastify/issues/comments/1977451017/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-04T21:03:31Z","org":{"id":24939410,"login":"fastify","gravatar_id":"","url":"https://api.github.com/orgs/fastify","avatar_url":"https://avatars.githubusercontent.com/u/24939410?"}},{"id":"36222907036","type":"IssueCommentEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":69495170,"name":"fastify/fastify","url":"https://api.github.com/repos/fastify/fastify"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/fastify/fastify/issues/5190","repository_url":"https://api.github.com/repos/fastify/fastify","labels_url":"https://api.github.com/repos/fastify/fastify/issues/5190/labels{/name}","comments_url":"https://api.github.com/repos/fastify/fastify/issues/5190/comments","events_url":"https://api.github.com/repos/fastify/fastify/issues/5190/events","html_url":"https://github.com/fastify/fastify/issues/5190","id":2029228439,"node_id":"I_kwDOBCRpgs5485GX","number":5190,"title":"Guide: Dependency Injection via the Fastify Plugin System","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"labels":[{"id":688296164,"node_id":"MDU6TGFiZWw2ODgyOTYxNjQ=","url":"https://api.github.com/repos/fastify/fastify/labels/documentation","name":"documentation","color":"fef2c0","default":true,"description":"Improvements or additions to documentation"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2023-12-06T19:17:58Z","updated_at":"2024-03-04T13:32:24Z","closed_at":null,"author_association":"CONTRIBUTOR","active_lock_reason":null,"body":"### Prerequisites\n\n- [X] I have written a descriptive issue title\n- [X] I have searched existing issues to ensure the issue has not already been raised\n\n\n### Issue\n\nI am currently working on a talk about the capability to do dependency injection through Fastify's plugin system without using an IoC container, as you might know from the Java ecosystem or the popular Node.js framework Nest.js. Would there be any interest in a guide explaining how to use this specifically in Fastify (with and without TypeScript) and how it can be used to mock dependencies during testing?\r\nIf so, I would be happy to write the guide over the next few weeks while I have to prepare the talk anyway.\r\n","reactions":{"url":"https://api.github.com/repos/fastify/fastify/issues/5190/reactions","total_count":4,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":4,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/fastify/fastify/issues/5190/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/fastify/fastify/issues/comments/1976590874","html_url":"https://github.com/fastify/fastify/issues/5190#issuecomment-1976590874","issue_url":"https://api.github.com/repos/fastify/fastify/issues/5190","id":1976590874,"node_id":"IC_kwDOBCRpgs510GIa","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"created_at":"2024-03-04T13:32:23Z","updated_at":"2024-03-04T13:32:23Z","author_association":"CONTRIBUTOR","body":"I have the feeling that there is still a lot of confusion when testing Fastify applications. I think the main reason for this is Fastify's plugin system and the resulting encapsulation. Because there are different contexts but you can only access the root context directly, the classic mocking/spying is not possible as you might know it from other frameworks. I would therefore suggest taking a different thematic approach to the guide that I originally proposed, and rather address the problems discussed above and discuss possible solutions. There are already plugins written by the community that address these problems, which solve the problem in different ways. You could therefore see this guide as a collection of different solutions and test strategies.For example:\r\n* https://github.com/Eomm/fastify-explorer\r\n* https://github.com/matthyk/fastify-override\r\n\r\nHere are some discussions/StackOverflow questions around this topic:\r\n\r\n* https://github.com/fastify/fastify/discussions/4927\r\n* https://github.com/fastify/fastify/discussions/5324\r\n* https://stackoverflow.com/questions/59965807/how-to-mock-fastify-plugin\r\n\r\n\r\nWhat are your thoughts on this?","reactions":{"url":"https://api.github.com/repos/fastify/fastify/issues/comments/1976590874/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-03-04T13:32:24Z","org":{"id":24939410,"login":"fastify","gravatar_id":"","url":"https://api.github.com/orgs/fastify","avatar_url":"https://avatars.githubusercontent.com/u/24939410?"}},{"id":"36142881153","type":"IssueCommentEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":384732682,"name":"Eomm/fastify-overview","url":"https://api.github.com/repos/Eomm/fastify-overview"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98","repository_url":"https://api.github.com/repos/Eomm/fastify-overview","labels_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98/comments","events_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98/events","html_url":"https://github.com/Eomm/fastify-overview/issues/98","id":2115848069,"node_id":"I_kwDOFu6OCs5-HUeF","number":98,"title":" TypeError: Cannot read properties of undefined (reading 'func')","user":{"login":"nasraldin","id":9030671,"node_id":"MDQ6VXNlcjkwMzA2NzE=","avatar_url":"https://avatars.githubusercontent.com/u/9030671?v=4","gravatar_id":"","url":"https://api.github.com/users/nasraldin","html_url":"https://github.com/nasraldin","followers_url":"https://api.github.com/users/nasraldin/followers","following_url":"https://api.github.com/users/nasraldin/following{/other_user}","gists_url":"https://api.github.com/users/nasraldin/gists{/gist_id}","starred_url":"https://api.github.com/users/nasraldin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nasraldin/subscriptions","organizations_url":"https://api.github.com/users/nasraldin/orgs","repos_url":"https://api.github.com/users/nasraldin/repos","events_url":"https://api.github.com/users/nasraldin/events{/privacy}","received_events_url":"https://api.github.com/users/nasraldin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2024-02-02T21:45:43Z","updated_at":"2024-02-29T22:28:36Z","closed_at":null,"author_association":"NONE","active_lock_reason":null,"body":"Hello team,\r\n\r\nPlease apply the fix to avoid the below issue that throw when using with typescript.\r\n\r\nCurrent ver.\r\n\r\n```\r\n\"fastify-overview\": \"3.7.0\",\r\n \"fastify\": \"4.26.0\",\r\n```\r\n\r\nTo reproduce the issue:\r\nadd the plugin\r\n pnpm add fastify-overview\r\n\r\n```\r\nregister to fastify \r\n\r\nimport FastifyOverview from 'fastify-overview';\r\n fastify.register(FastifyOverview, {\r\n addSource: true, // current this opt is throw error and stoped the app start\r\n exposeRoute: true,\r\n exposeRouteOptions: {\r\n url: '/json-overview',\r\n },\r\n });\r\n```\r\n\r\nrun your app\r\n\r\nresult \r\napplication stoped to start and throw below error\r\n\r\n```\r\nFailed to start application: TypeError: Cannot read properties of undefined (reading 'func')\r\n at Boot.manInTheMiddle (/api/node_modules/.pnpm/fastify-overview@3.7.0/node_modules/fastify-overview/index.js:90:107)\r\n at Boot.markInstance (/api/node_modules/.pnpm/fastify-overview@3.7.0/node_modules/fastify-overview/index.js:30:20)\r\n at Boot.override (/api/node_modules/.pnpm/fastify@4.26.0/node_modules/fastify/lib/pluginOverride.js:69:56)\r\n at Plugin.exec (/api/node_modules/.pnpm/avvio@8.2.1/node_modules/avvio/plugin.js:79:33)\r\n at Boot.loadPlugin (/api/node_modules/.pnpm/avvio@8.2.1/node_modules/avvio/plugin.js:272:10)\r\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)\r\n```\r\n\r\nThe fix:\r\n\r\nI'm just checking in the compiled source code in node modules of your lib to fix but for you you need to fix the root cause in js that fun related to show source\r\n\r\nIn the manInTheMiddle function, update the check to ensure that _current has a value before assigning it to the source.\r\n\r\nold fun is \r\n\r\n```js\r\nif (opts.addSource && this) {\r\n trackStructure.source = this._current.find(loadPipe => loadPipe.func[kSourceRegister] !== undefined).func[kSourceRegister]\r\n}\r\n```\r\n\r\nnew code \r\n```js\r\nif (opts.addSource && this) {\r\n const currentSourcePipe = this._current.find(loadPipe => loadPipe.func[kSourceRegister] !== undefined);\r\n if (currentSourcePipe) {\r\n trackStructure.source = currentSourcePipe.func[kSourceRegister];\r\n }\r\n}\r\n```\r\n\r\nThank you for creating such an amazing tool!","reactions":{"url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/Eomm/fastify-overview/issues/comments/1972078696","html_url":"https://github.com/Eomm/fastify-overview/issues/98#issuecomment-1972078696","issue_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/98","id":1972078696,"node_id":"IC_kwDOFu6OCs51i4ho","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"created_at":"2024-02-29T22:28:35Z","updated_at":"2024-02-29T22:28:35Z","author_association":"CONTRIBUTOR","body":"@Eomm I have opened #105 to discuss a possible solution. But if you look at the failed tests, you can also see another problem. As soon as you use ECMAScript modules, you no longer get the correct `fileName` in the source. See https://github.com/Eomm/fastify-overview/actions/runs/8103392570/job/22147905402?pr=105#step:5:74 ","reactions":{"url":"https://api.github.com/repos/Eomm/fastify-overview/issues/comments/1972078696/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-02-29T22:28:36Z"},{"id":"36142703426","type":"PullRequestEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":384732682,"name":"Eomm/fastify-overview","url":"https://api.github.com/repos/Eomm/fastify-overview"},"payload":{"action":"opened","number":105,"pull_request":{"url":"https://api.github.com/repos/Eomm/fastify-overview/pulls/105","id":1750614748,"node_id":"PR_kwDOFu6OCs5oWELc","html_url":"https://github.com/Eomm/fastify-overview/pull/105","diff_url":"https://github.com/Eomm/fastify-overview/pull/105.diff","patch_url":"https://github.com/Eomm/fastify-overview/pull/105.patch","issue_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/105","number":105,"state":"open","locked":false,"title":"Register ecmascript modules","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"body":"First implementation to fix #98 ","created_at":"2024-02-29T22:20:38Z","updated_at":"2024-02-29T22:20:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"draft":false,"commits_url":"https://api.github.com/repos/Eomm/fastify-overview/pulls/105/commits","review_comments_url":"https://api.github.com/repos/Eomm/fastify-overview/pulls/105/comments","review_comment_url":"https://api.github.com/repos/Eomm/fastify-overview/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/105/comments","statuses_url":"https://api.github.com/repos/Eomm/fastify-overview/statuses/4de5f5f73496120fc9bd3b77d0b06a5ab8e52820","head":{"label":"matthyk:register-ecmascript-modules","ref":"register-ecmascript-modules","sha":"4de5f5f73496120fc9bd3b77d0b06a5ab8e52820","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"repo":{"id":745643732,"node_id":"R_kgDOLHGe1A","name":"fastify-overview","full_name":"matthyk/fastify-overview","private":false,"owner":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"html_url":"https://github.com/matthyk/fastify-overview","description":"Build a structure graph of your Fastify application","fork":true,"url":"https://api.github.com/repos/matthyk/fastify-overview","forks_url":"https://api.github.com/repos/matthyk/fastify-overview/forks","keys_url":"https://api.github.com/repos/matthyk/fastify-overview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matthyk/fastify-overview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matthyk/fastify-overview/teams","hooks_url":"https://api.github.com/repos/matthyk/fastify-overview/hooks","issue_events_url":"https://api.github.com/repos/matthyk/fastify-overview/issues/events{/number}","events_url":"https://api.github.com/repos/matthyk/fastify-overview/events","assignees_url":"https://api.github.com/repos/matthyk/fastify-overview/assignees{/user}","branches_url":"https://api.github.com/repos/matthyk/fastify-overview/branches{/branch}","tags_url":"https://api.github.com/repos/matthyk/fastify-overview/tags","blobs_url":"https://api.github.com/repos/matthyk/fastify-overview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matthyk/fastify-overview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matthyk/fastify-overview/git/refs{/sha}","trees_url":"https://api.github.com/repos/matthyk/fastify-overview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matthyk/fastify-overview/statuses/{sha}","languages_url":"https://api.github.com/repos/matthyk/fastify-overview/languages","stargazers_url":"https://api.github.com/repos/matthyk/fastify-overview/stargazers","contributors_url":"https://api.github.com/repos/matthyk/fastify-overview/contributors","subscribers_url":"https://api.github.com/repos/matthyk/fastify-overview/subscribers","subscription_url":"https://api.github.com/repos/matthyk/fastify-overview/subscription","commits_url":"https://api.github.com/repos/matthyk/fastify-overview/commits{/sha}","git_commits_url":"https://api.github.com/repos/matthyk/fastify-overview/git/commits{/sha}","comments_url":"https://api.github.com/repos/matthyk/fastify-overview/comments{/number}","issue_comment_url":"https://api.github.com/repos/matthyk/fastify-overview/issues/comments{/number}","contents_url":"https://api.github.com/repos/matthyk/fastify-overview/contents/{+path}","compare_url":"https://api.github.com/repos/matthyk/fastify-overview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matthyk/fastify-overview/merges","archive_url":"https://api.github.com/repos/matthyk/fastify-overview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matthyk/fastify-overview/downloads","issues_url":"https://api.github.com/repos/matthyk/fastify-overview/issues{/number}","pulls_url":"https://api.github.com/repos/matthyk/fastify-overview/pulls{/number}","milestones_url":"https://api.github.com/repos/matthyk/fastify-overview/milestones{/number}","notifications_url":"https://api.github.com/repos/matthyk/fastify-overview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matthyk/fastify-overview/labels{/name}","releases_url":"https://api.github.com/repos/matthyk/fastify-overview/releases{/id}","deployments_url":"https://api.github.com/repos/matthyk/fastify-overview/deployments","created_at":"2024-01-19T19:26:36Z","updated_at":"2024-01-27T11:21:13Z","pushed_at":"2024-02-29T22:19:11Z","git_url":"git://github.com/matthyk/fastify-overview.git","ssh_url":"git@github.com:matthyk/fastify-overview.git","clone_url":"https://github.com/matthyk/fastify-overview.git","svn_url":"https://github.com/matthyk/fastify-overview","homepage":"","size":132,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":0,"open_issues":0,"watchers":0,"default_branch":"main"}},"base":{"label":"Eomm:main","ref":"main","sha":"c1785f8814a868071be1e474306e50185035e070","user":{"login":"Eomm","id":11404065,"node_id":"MDQ6VXNlcjExNDA0MDY1","avatar_url":"https://avatars.githubusercontent.com/u/11404065?v=4","gravatar_id":"","url":"https://api.github.com/users/Eomm","html_url":"https://github.com/Eomm","followers_url":"https://api.github.com/users/Eomm/followers","following_url":"https://api.github.com/users/Eomm/following{/other_user}","gists_url":"https://api.github.com/users/Eomm/gists{/gist_id}","starred_url":"https://api.github.com/users/Eomm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eomm/subscriptions","organizations_url":"https://api.github.com/users/Eomm/orgs","repos_url":"https://api.github.com/users/Eomm/repos","events_url":"https://api.github.com/users/Eomm/events{/privacy}","received_events_url":"https://api.github.com/users/Eomm/received_events","type":"User","site_admin":false},"repo":{"id":384732682,"node_id":"MDEwOlJlcG9zaXRvcnkzODQ3MzI2ODI=","name":"fastify-overview","full_name":"Eomm/fastify-overview","private":false,"owner":{"login":"Eomm","id":11404065,"node_id":"MDQ6VXNlcjExNDA0MDY1","avatar_url":"https://avatars.githubusercontent.com/u/11404065?v=4","gravatar_id":"","url":"https://api.github.com/users/Eomm","html_url":"https://github.com/Eomm","followers_url":"https://api.github.com/users/Eomm/followers","following_url":"https://api.github.com/users/Eomm/following{/other_user}","gists_url":"https://api.github.com/users/Eomm/gists{/gist_id}","starred_url":"https://api.github.com/users/Eomm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eomm/subscriptions","organizations_url":"https://api.github.com/users/Eomm/orgs","repos_url":"https://api.github.com/users/Eomm/repos","events_url":"https://api.github.com/users/Eomm/events{/privacy}","received_events_url":"https://api.github.com/users/Eomm/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Eomm/fastify-overview","description":"Build a structure graph of your Fastify application","fork":false,"url":"https://api.github.com/repos/Eomm/fastify-overview","forks_url":"https://api.github.com/repos/Eomm/fastify-overview/forks","keys_url":"https://api.github.com/repos/Eomm/fastify-overview/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eomm/fastify-overview/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eomm/fastify-overview/teams","hooks_url":"https://api.github.com/repos/Eomm/fastify-overview/hooks","issue_events_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/events{/number}","events_url":"https://api.github.com/repos/Eomm/fastify-overview/events","assignees_url":"https://api.github.com/repos/Eomm/fastify-overview/assignees{/user}","branches_url":"https://api.github.com/repos/Eomm/fastify-overview/branches{/branch}","tags_url":"https://api.github.com/repos/Eomm/fastify-overview/tags","blobs_url":"https://api.github.com/repos/Eomm/fastify-overview/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eomm/fastify-overview/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eomm/fastify-overview/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eomm/fastify-overview/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eomm/fastify-overview/statuses/{sha}","languages_url":"https://api.github.com/repos/Eomm/fastify-overview/languages","stargazers_url":"https://api.github.com/repos/Eomm/fastify-overview/stargazers","contributors_url":"https://api.github.com/repos/Eomm/fastify-overview/contributors","subscribers_url":"https://api.github.com/repos/Eomm/fastify-overview/subscribers","subscription_url":"https://api.github.com/repos/Eomm/fastify-overview/subscription","commits_url":"https://api.github.com/repos/Eomm/fastify-overview/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eomm/fastify-overview/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eomm/fastify-overview/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eomm/fastify-overview/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eomm/fastify-overview/contents/{+path}","compare_url":"https://api.github.com/repos/Eomm/fastify-overview/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eomm/fastify-overview/merges","archive_url":"https://api.github.com/repos/Eomm/fastify-overview/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eomm/fastify-overview/downloads","issues_url":"https://api.github.com/repos/Eomm/fastify-overview/issues{/number}","pulls_url":"https://api.github.com/repos/Eomm/fastify-overview/pulls{/number}","milestones_url":"https://api.github.com/repos/Eomm/fastify-overview/milestones{/number}","notifications_url":"https://api.github.com/repos/Eomm/fastify-overview/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eomm/fastify-overview/labels{/name}","releases_url":"https://api.github.com/repos/Eomm/fastify-overview/releases{/id}","deployments_url":"https://api.github.com/repos/Eomm/fastify-overview/deployments","created_at":"2021-07-10T15:40:45Z","updated_at":"2024-02-28T10:12:36Z","pushed_at":"2024-02-29T22:20:39Z","git_url":"git://github.com/Eomm/fastify-overview.git","ssh_url":"git@github.com:Eomm/fastify-overview.git","clone_url":"https://github.com/Eomm/fastify-overview.git","svn_url":"https://github.com/Eomm/fastify-overview","homepage":"","size":223,"stargazers_count":61,"watchers_count":61,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":6,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":["developer-tools","development-environment","fastify","fastify-plugin","hacktoberfest","nodejs"],"visibility":"public","forks":6,"open_issues":6,"watchers":61,"default_branch":"main"}},"_links":{"self":{"href":"https://api.github.com/repos/Eomm/fastify-overview/pulls/105"},"html":{"href":"https://github.com/Eomm/fastify-overview/pull/105"},"issue":{"href":"https://api.github.com/repos/Eomm/fastify-overview/issues/105"},"comments":{"href":"https://api.github.com/repos/Eomm/fastify-overview/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/Eomm/fastify-overview/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/Eomm/fastify-overview/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Eomm/fastify-overview/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/Eomm/fastify-overview/statuses/4de5f5f73496120fc9bd3b77d0b06a5ab8e52820"}},"author_association":"CONTRIBUTOR","auto_merge":null,"active_lock_reason":null,"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":80,"deletions":1,"changed_files":4}},"public":true,"created_at":"2024-02-29T22:20:40Z"},{"id":"36142668168","type":"PushEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":745643732,"name":"matthyk/fastify-overview","url":"https://api.github.com/repos/matthyk/fastify-overview"},"payload":{"repository_id":745643732,"push_id":17334336753,"size":1,"distinct_size":1,"ref":"refs/heads/register-ecmascript-modules","head":"4de5f5f73496120fc9bd3b77d0b06a5ab8e52820","before":"0771c819e7d63515fce64d90769ab42f25238bf2","commits":[{"sha":"4de5f5f73496120fc9bd3b77d0b06a5ab8e52820","author":{"email":"53833818+matthyk@users.noreply.github.com","name":"matthyk"},"message":"Update index.js","distinct":true,"url":"https://api.github.com/repos/matthyk/fastify-overview/commits/4de5f5f73496120fc9bd3b77d0b06a5ab8e52820"}]},"public":true,"created_at":"2024-02-29T22:19:12Z"},{"id":"36142649289","type":"CreateEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":745643732,"name":"matthyk/fastify-overview","url":"https://api.github.com/repos/matthyk/fastify-overview"},"payload":{"ref":"register-ecmascript-modules","ref_type":"branch","master_branch":"main","description":"Build a structure graph of your Fastify application","pusher_type":"user"},"public":true,"created_at":"2024-02-29T22:18:26Z"},{"id":"36142530255","type":"PushEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":745643732,"name":"matthyk/fastify-overview","url":"https://api.github.com/repos/matthyk/fastify-overview"},"payload":{"repository_id":745643732,"push_id":17334264969,"size":2,"distinct_size":2,"ref":"refs/heads/main","head":"c1785f8814a868071be1e474306e50185035e070","before":"1327c0c0ed8c38f49099c2ba343feecfebc00e54","commits":[{"sha":"1893321307b29d163e79c5ae7c2e5883aa64442a","author":{"email":"53833818+matthyk@users.noreply.github.com","name":"Matthias Keckl"},"message":"feat: onDecorateDefinition plugin option (#100)","distinct":true,"url":"https://api.github.com/repos/matthyk/fastify-overview/commits/1893321307b29d163e79c5ae7c2e5883aa64442a"},{"sha":"c1785f8814a868071be1e474306e50185035e070","author":{"email":"behemoth89@gmail.com","name":"Manuel Spigolon"},"message":"Bumped v3.9.0","distinct":true,"url":"https://api.github.com/repos/matthyk/fastify-overview/commits/c1785f8814a868071be1e474306e50185035e070"}]},"public":true,"created_at":"2024-02-29T22:13:12Z"},{"id":"36142232002","type":"IssueCommentEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":69495170,"name":"fastify/fastify","url":"https://api.github.com/repos/fastify/fastify"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/fastify/fastify/issues/5335","repository_url":"https://api.github.com/repos/fastify/fastify","labels_url":"https://api.github.com/repos/fastify/fastify/issues/5335/labels{/name}","comments_url":"https://api.github.com/repos/fastify/fastify/issues/5335/comments","events_url":"https://api.github.com/repos/fastify/fastify/issues/5335/events","html_url":"https://github.com/fastify/fastify/pull/5335","id":2157733527,"node_id":"PR_kwDOBCRpgs5oG2R3","number":5335,"title":"types: Export preClose hook types","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2024-02-27T22:39:37Z","updated_at":"2024-02-29T21:59:54Z","closed_at":null,"author_association":"CONTRIBUTOR","active_lock_reason":null,"draft":false,"pull_request":{"url":"https://api.github.com/repos/fastify/fastify/pulls/5335","html_url":"https://github.com/fastify/fastify/pull/5335","diff_url":"https://github.com/fastify/fastify/pull/5335.diff","patch_url":"https://github.com/fastify/fastify/pull/5335.patch","merged_at":null},"body":"Exports the types of the preClose hook.\r\n\r\n\r\n\r\n#### Checklist\r\n\r\n- [ ] run `npm run test` and `npm run benchmark`\r\n- [ ] tests and/or benchmarks are included\r\n- [ ] documentation is changed or added\r\n- [x] commit message and code follows the [Developer's Certification of Origin](https://github.com/fastify/.github/blob/master/CONTRIBUTING.md#developers-certificate-of-origin-11)\r\n and the [Code of conduct](https://github.com/fastify/.github/blob/master/CODE_OF_CONDUCT.md)\r\n","reactions":{"url":"https://api.github.com/repos/fastify/fastify/issues/5335/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/fastify/fastify/issues/5335/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/fastify/fastify/issues/comments/1972041388","html_url":"https://github.com/fastify/fastify/pull/5335#issuecomment-1972041388","issue_url":"https://api.github.com/repos/fastify/fastify/issues/5335","id":1972041388,"node_id":"IC_kwDOBCRpgs51ivas","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"created_at":"2024-02-29T21:59:53Z","updated_at":"2024-02-29T21:59:53Z","author_association":"CONTRIBUTOR","body":"I simply imported the two types into the test. The test would fail if the two types were not exported.","reactions":{"url":"https://api.github.com/repos/fastify/fastify/issues/comments/1972041388/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-02-29T21:59:54Z","org":{"id":24939410,"login":"fastify","gravatar_id":"","url":"https://api.github.com/orgs/fastify","avatar_url":"https://avatars.githubusercontent.com/u/24939410?"}},{"id":"36142202362","type":"PushEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":351853834,"name":"matthyk/fastify","url":"https://api.github.com/repos/matthyk/fastify"},"payload":{"repository_id":351853834,"push_id":17334101747,"size":1,"distinct_size":1,"ref":"refs/heads/export-preclose-hook-type","head":"0c5749e327338ebc96d2d21bb6122ddbac5deb6e","before":"e26c96814397ec4c258335eadf30d4a6c4bc595d","commits":[{"sha":"0c5749e327338ebc96d2d21bb6122ddbac5deb6e","author":{"email":"53833818+matthyk@users.noreply.github.com","name":"matthyk"},"message":"check if import fails","distinct":true,"url":"https://api.github.com/repos/matthyk/fastify/commits/0c5749e327338ebc96d2d21bb6122ddbac5deb6e"}]},"public":true,"created_at":"2024-02-29T21:58:37Z"},{"id":"36141411467","type":"IssueCommentEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":69495170,"name":"fastify/fastify","url":"https://api.github.com/repos/fastify/fastify"},"payload":{"action":"created","issue":{"url":"https://api.github.com/repos/fastify/fastify/issues/5335","repository_url":"https://api.github.com/repos/fastify/fastify","labels_url":"https://api.github.com/repos/fastify/fastify/issues/5335/labels{/name}","comments_url":"https://api.github.com/repos/fastify/fastify/issues/5335/comments","events_url":"https://api.github.com/repos/fastify/fastify/issues/5335/events","html_url":"https://github.com/fastify/fastify/pull/5335","id":2157733527,"node_id":"PR_kwDOBCRpgs5oG2R3","number":5335,"title":"types: Export preClose hook types","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2024-02-27T22:39:37Z","updated_at":"2024-02-29T21:23:49Z","closed_at":null,"author_association":"CONTRIBUTOR","active_lock_reason":null,"draft":false,"pull_request":{"url":"https://api.github.com/repos/fastify/fastify/pulls/5335","html_url":"https://github.com/fastify/fastify/pull/5335","diff_url":"https://github.com/fastify/fastify/pull/5335.diff","patch_url":"https://github.com/fastify/fastify/pull/5335.patch","merged_at":null},"body":"Exports the types of the preClose hook.\r\n\r\n\r\n\r\n#### Checklist\r\n\r\n- [ ] run `npm run test` and `npm run benchmark`\r\n- [ ] tests and/or benchmarks are included\r\n- [ ] documentation is changed or added\r\n- [x] commit message and code follows the [Developer's Certification of Origin](https://github.com/fastify/.github/blob/master/CONTRIBUTING.md#developers-certificate-of-origin-11)\r\n and the [Code of conduct](https://github.com/fastify/.github/blob/master/CODE_OF_CONDUCT.md)\r\n","reactions":{"url":"https://api.github.com/repos/fastify/fastify/issues/5335/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/fastify/fastify/issues/5335/timeline","performed_via_github_app":null,"state_reason":null},"comment":{"url":"https://api.github.com/repos/fastify/fastify/issues/comments/1971985883","html_url":"https://github.com/fastify/fastify/pull/5335#issuecomment-1971985883","issue_url":"https://api.github.com/repos/fastify/fastify/issues/5335","id":1971985883,"node_id":"IC_kwDOBCRpgs51ih3b","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"created_at":"2024-02-29T21:23:48Z","updated_at":"2024-02-29T21:23:48Z","author_association":"CONTRIBUTOR","body":"My description of the PR was probably not detailed enough. You can currently import the two types for the `preClose` hook from `fastify/types/hooks`, but actually the types should be imported directly from `fastify`, like all other hook types. Should we really test the correct export? There are no tests for the export of the other hook types either.","reactions":{"url":"https://api.github.com/repos/fastify/fastify/issues/comments/1971985883/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"performed_via_github_app":null}},"public":true,"created_at":"2024-02-29T21:23:49Z","org":{"id":24939410,"login":"fastify","gravatar_id":"","url":"https://api.github.com/orgs/fastify","avatar_url":"https://avatars.githubusercontent.com/u/24939410?"}},{"id":"36069124754","type":"PullRequestEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":69495170,"name":"fastify/fastify","url":"https://api.github.com/repos/fastify/fastify"},"payload":{"action":"opened","number":5336,"pull_request":{"url":"https://api.github.com/repos/fastify/fastify/pulls/5336","id":1746698428,"node_id":"PR_kwDOBCRpgs5oHIC8","html_url":"https://github.com/fastify/fastify/pull/5336","diff_url":"https://github.com/fastify/fastify/pull/5336.diff","patch_url":"https://github.com/fastify/fastify/pull/5336.patch","issue_url":"https://api.github.com/repos/fastify/fastify/issues/5336","number":5336,"state":"open","locked":false,"title":"docs(ecosystem): adds fastify-override to plugins list","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"body":"\r\n\r\n#### Checklist\r\n\r\n- [ ] run `npm run test` and `npm run benchmark`\r\n- [ ] tests and/or benchmarks are included\r\n- [ ] documentation is changed or added\r\n- [ ] commit message and code follows the [Developer's Certification of Origin](https://github.com/fastify/.github/blob/master/CONTRIBUTING.md#developers-certificate-of-origin-11)\r\n and the [Code of conduct](https://github.com/fastify/.github/blob/master/CODE_OF_CONDUCT.md)\r\n","created_at":"2024-02-27T23:57:35Z","updated_at":"2024-02-27T23:57:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"draft":false,"commits_url":"https://api.github.com/repos/fastify/fastify/pulls/5336/commits","review_comments_url":"https://api.github.com/repos/fastify/fastify/pulls/5336/comments","review_comment_url":"https://api.github.com/repos/fastify/fastify/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fastify/fastify/issues/5336/comments","statuses_url":"https://api.github.com/repos/fastify/fastify/statuses/0e49aa5e501ef2c244478147a826b412cd2e3793","head":{"label":"matthyk:add-fastify-overview-plugin","ref":"add-fastify-overview-plugin","sha":"0e49aa5e501ef2c244478147a826b412cd2e3793","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"repo":{"id":351853834,"node_id":"MDEwOlJlcG9zaXRvcnkzNTE4NTM4MzQ=","name":"fastify","full_name":"matthyk/fastify","private":false,"owner":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"html_url":"https://github.com/matthyk/fastify","description":"Fast and low overhead web framework, for Node.js","fork":true,"url":"https://api.github.com/repos/matthyk/fastify","forks_url":"https://api.github.com/repos/matthyk/fastify/forks","keys_url":"https://api.github.com/repos/matthyk/fastify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matthyk/fastify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matthyk/fastify/teams","hooks_url":"https://api.github.com/repos/matthyk/fastify/hooks","issue_events_url":"https://api.github.com/repos/matthyk/fastify/issues/events{/number}","events_url":"https://api.github.com/repos/matthyk/fastify/events","assignees_url":"https://api.github.com/repos/matthyk/fastify/assignees{/user}","branches_url":"https://api.github.com/repos/matthyk/fastify/branches{/branch}","tags_url":"https://api.github.com/repos/matthyk/fastify/tags","blobs_url":"https://api.github.com/repos/matthyk/fastify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matthyk/fastify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matthyk/fastify/git/refs{/sha}","trees_url":"https://api.github.com/repos/matthyk/fastify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matthyk/fastify/statuses/{sha}","languages_url":"https://api.github.com/repos/matthyk/fastify/languages","stargazers_url":"https://api.github.com/repos/matthyk/fastify/stargazers","contributors_url":"https://api.github.com/repos/matthyk/fastify/contributors","subscribers_url":"https://api.github.com/repos/matthyk/fastify/subscribers","subscription_url":"https://api.github.com/repos/matthyk/fastify/subscription","commits_url":"https://api.github.com/repos/matthyk/fastify/commits{/sha}","git_commits_url":"https://api.github.com/repos/matthyk/fastify/git/commits{/sha}","comments_url":"https://api.github.com/repos/matthyk/fastify/comments{/number}","issue_comment_url":"https://api.github.com/repos/matthyk/fastify/issues/comments{/number}","contents_url":"https://api.github.com/repos/matthyk/fastify/contents/{+path}","compare_url":"https://api.github.com/repos/matthyk/fastify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matthyk/fastify/merges","archive_url":"https://api.github.com/repos/matthyk/fastify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matthyk/fastify/downloads","issues_url":"https://api.github.com/repos/matthyk/fastify/issues{/number}","pulls_url":"https://api.github.com/repos/matthyk/fastify/pulls{/number}","milestones_url":"https://api.github.com/repos/matthyk/fastify/milestones{/number}","notifications_url":"https://api.github.com/repos/matthyk/fastify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matthyk/fastify/labels{/name}","releases_url":"https://api.github.com/repos/matthyk/fastify/releases{/id}","deployments_url":"https://api.github.com/repos/matthyk/fastify/deployments","created_at":"2021-03-26T17:00:40Z","updated_at":"2022-02-13T11:01:08Z","pushed_at":"2024-02-27T23:56:48Z","git_url":"git://github.com/matthyk/fastify.git","ssh_url":"git@github.com:matthyk/fastify.git","clone_url":"https://github.com/matthyk/fastify.git","svn_url":"https://github.com/matthyk/fastify","homepage":"https://www.fastify.io","size":7092,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":0,"open_issues":0,"watchers":0,"default_branch":"main"}},"base":{"label":"fastify:main","ref":"main","sha":"db758b321b1fb416a2dea963b347c698fe74a5a0","user":{"login":"fastify","id":24939410,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTM5NDEw","avatar_url":"https://avatars.githubusercontent.com/u/24939410?v=4","gravatar_id":"","url":"https://api.github.com/users/fastify","html_url":"https://github.com/fastify","followers_url":"https://api.github.com/users/fastify/followers","following_url":"https://api.github.com/users/fastify/following{/other_user}","gists_url":"https://api.github.com/users/fastify/gists{/gist_id}","starred_url":"https://api.github.com/users/fastify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastify/subscriptions","organizations_url":"https://api.github.com/users/fastify/orgs","repos_url":"https://api.github.com/users/fastify/repos","events_url":"https://api.github.com/users/fastify/events{/privacy}","received_events_url":"https://api.github.com/users/fastify/received_events","type":"Organization","site_admin":false},"repo":{"id":69495170,"node_id":"MDEwOlJlcG9zaXRvcnk2OTQ5NTE3MA==","name":"fastify","full_name":"fastify/fastify","private":false,"owner":{"login":"fastify","id":24939410,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTM5NDEw","avatar_url":"https://avatars.githubusercontent.com/u/24939410?v=4","gravatar_id":"","url":"https://api.github.com/users/fastify","html_url":"https://github.com/fastify","followers_url":"https://api.github.com/users/fastify/followers","following_url":"https://api.github.com/users/fastify/following{/other_user}","gists_url":"https://api.github.com/users/fastify/gists{/gist_id}","starred_url":"https://api.github.com/users/fastify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastify/subscriptions","organizations_url":"https://api.github.com/users/fastify/orgs","repos_url":"https://api.github.com/users/fastify/repos","events_url":"https://api.github.com/users/fastify/events{/privacy}","received_events_url":"https://api.github.com/users/fastify/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fastify/fastify","description":"Fast and low overhead web framework, for Node.js","fork":false,"url":"https://api.github.com/repos/fastify/fastify","forks_url":"https://api.github.com/repos/fastify/fastify/forks","keys_url":"https://api.github.com/repos/fastify/fastify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fastify/fastify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fastify/fastify/teams","hooks_url":"https://api.github.com/repos/fastify/fastify/hooks","issue_events_url":"https://api.github.com/repos/fastify/fastify/issues/events{/number}","events_url":"https://api.github.com/repos/fastify/fastify/events","assignees_url":"https://api.github.com/repos/fastify/fastify/assignees{/user}","branches_url":"https://api.github.com/repos/fastify/fastify/branches{/branch}","tags_url":"https://api.github.com/repos/fastify/fastify/tags","blobs_url":"https://api.github.com/repos/fastify/fastify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fastify/fastify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fastify/fastify/git/refs{/sha}","trees_url":"https://api.github.com/repos/fastify/fastify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fastify/fastify/statuses/{sha}","languages_url":"https://api.github.com/repos/fastify/fastify/languages","stargazers_url":"https://api.github.com/repos/fastify/fastify/stargazers","contributors_url":"https://api.github.com/repos/fastify/fastify/contributors","subscribers_url":"https://api.github.com/repos/fastify/fastify/subscribers","subscription_url":"https://api.github.com/repos/fastify/fastify/subscription","commits_url":"https://api.github.com/repos/fastify/fastify/commits{/sha}","git_commits_url":"https://api.github.com/repos/fastify/fastify/git/commits{/sha}","comments_url":"https://api.github.com/repos/fastify/fastify/comments{/number}","issue_comment_url":"https://api.github.com/repos/fastify/fastify/issues/comments{/number}","contents_url":"https://api.github.com/repos/fastify/fastify/contents/{+path}","compare_url":"https://api.github.com/repos/fastify/fastify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fastify/fastify/merges","archive_url":"https://api.github.com/repos/fastify/fastify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fastify/fastify/downloads","issues_url":"https://api.github.com/repos/fastify/fastify/issues{/number}","pulls_url":"https://api.github.com/repos/fastify/fastify/pulls{/number}","milestones_url":"https://api.github.com/repos/fastify/fastify/milestones{/number}","notifications_url":"https://api.github.com/repos/fastify/fastify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fastify/fastify/labels{/name}","releases_url":"https://api.github.com/repos/fastify/fastify/releases{/id}","deployments_url":"https://api.github.com/repos/fastify/fastify/deployments","created_at":"2016-09-28T19:10:14Z","updated_at":"2024-02-27T23:37:22Z","pushed_at":"2024-02-27T23:57:35Z","git_url":"git://github.com/fastify/fastify.git","ssh_url":"git@github.com:fastify/fastify.git","clone_url":"https://github.com/fastify/fastify.git","svn_url":"https://github.com/fastify/fastify","homepage":"https://www.fastify.dev","size":7388,"stargazers_count":30098,"watchers_count":30098,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":true,"forks_count":2152,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":82,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"allow_forking":true,"is_template":false,"web_commit_signoff_required":true,"topics":["nodejs","performance","speed","webframework"],"visibility":"public","forks":2152,"open_issues":82,"watchers":30098,"default_branch":"main"}},"_links":{"self":{"href":"https://api.github.com/repos/fastify/fastify/pulls/5336"},"html":{"href":"https://github.com/fastify/fastify/pull/5336"},"issue":{"href":"https://api.github.com/repos/fastify/fastify/issues/5336"},"comments":{"href":"https://api.github.com/repos/fastify/fastify/issues/5336/comments"},"review_comments":{"href":"https://api.github.com/repos/fastify/fastify/pulls/5336/comments"},"review_comment":{"href":"https://api.github.com/repos/fastify/fastify/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fastify/fastify/pulls/5336/commits"},"statuses":{"href":"https://api.github.com/repos/fastify/fastify/statuses/0e49aa5e501ef2c244478147a826b412cd2e3793"}},"author_association":"CONTRIBUTOR","auto_merge":null,"active_lock_reason":null,"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":0,"changed_files":1}},"public":true,"created_at":"2024-02-27T23:57:36Z","org":{"id":24939410,"login":"fastify","gravatar_id":"","url":"https://api.github.com/orgs/fastify","avatar_url":"https://avatars.githubusercontent.com/u/24939410?"}},{"id":"36069112004","type":"CreateEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":351853834,"name":"matthyk/fastify","url":"https://api.github.com/repos/matthyk/fastify"},"payload":{"ref":"add-fastify-overview-plugin","ref_type":"branch","master_branch":"main","description":"Fast and low overhead web framework, for Node.js","pusher_type":"user"},"public":true,"created_at":"2024-02-27T23:56:49Z"},{"id":"36068901003","type":"CreateEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":762361718,"name":"matthyk/fastify-override","url":"https://api.github.com/repos/matthyk/fastify-override"},"payload":{"ref":"v1.0.0","ref_type":"tag","master_branch":"main","description":"Fastify plugin to override decorators, plugins and hooks","pusher_type":"user"},"public":true,"created_at":"2024-02-27T23:43:55Z"},{"id":"36068900964","type":"ReleaseEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":762361718,"name":"matthyk/fastify-override","url":"https://api.github.com/repos/matthyk/fastify-override"},"payload":{"action":"published","release":{"url":"https://api.github.com/repos/matthyk/fastify-override/releases/143898070","assets_url":"https://api.github.com/repos/matthyk/fastify-override/releases/143898070/assets","upload_url":"https://uploads.github.com/repos/matthyk/fastify-override/releases/143898070/assets{?name,label}","html_url":"https://github.com/matthyk/fastify-override/releases/tag/v1.0.0","id":143898070,"author":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"node_id":"RE_kwDOLXC3ds4Ik7XW","tag_name":"v1.0.0","target_commitish":"main","name":"v1.0.0","draft":false,"prerelease":false,"created_at":"2024-02-27T23:40:21Z","published_at":"2024-02-27T23:43:55Z","assets":[],"tarball_url":"https://api.github.com/repos/matthyk/fastify-override/tarball/v1.0.0","zipball_url":"https://api.github.com/repos/matthyk/fastify-override/zipball/v1.0.0","body":"First release","short_description_html":"
First release
","is_short_description_html_truncated":false}},"public":true,"created_at":"2024-02-27T23:43:55Z"},{"id":"36068843765","type":"PushEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":762361718,"name":"matthyk/fastify-override","url":"https://api.github.com/repos/matthyk/fastify-override"},"payload":{"repository_id":762361718,"push_id":17298423449,"size":2,"distinct_size":2,"ref":"refs/heads/main","head":"b7957ac31cc173377f489f2c4e8c5f56b6bbfb5d","before":"4c8b8ab2513ed33e86e2a575e53f96fc74c9d625","commits":[{"sha":"5fa388dd963ce3302b16b21fd69bf9bbd1c4e1e6","author":{"email":"53833818+matthyk@users.noreply.github.com","name":"matthyk"},"message":"prepare release","distinct":true,"url":"https://api.github.com/repos/matthyk/fastify-override/commits/5fa388dd963ce3302b16b21fd69bf9bbd1c4e1e6"},{"sha":"b7957ac31cc173377f489f2c4e8c5f56b6bbfb5d","author":{"email":"53833818+matthyk@users.noreply.github.com","name":"matthyk"},"message":"Bumped v1.0.0","distinct":true,"url":"https://api.github.com/repos/matthyk/fastify-override/commits/b7957ac31cc173377f489f2c4e8c5f56b6bbfb5d"}]},"public":true,"created_at":"2024-02-27T23:40:25Z"},{"id":"36068660206","type":"PushEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":762361718,"name":"matthyk/fastify-override","url":"https://api.github.com/repos/matthyk/fastify-override"},"payload":{"repository_id":762361718,"push_id":17298325125,"size":1,"distinct_size":1,"ref":"refs/heads/main","head":"4c8b8ab2513ed33e86e2a575e53f96fc74c9d625","before":"a40991e635abb70336dd5f084c15403b444b072d","commits":[{"sha":"4c8b8ab2513ed33e86e2a575e53f96fc74c9d625","author":{"email":"53833818+matthyk@users.noreply.github.com","name":"matthyk"},"message":"Update ci.yml","distinct":true,"url":"https://api.github.com/repos/matthyk/fastify-override/commits/4c8b8ab2513ed33e86e2a575e53f96fc74c9d625"}]},"public":true,"created_at":"2024-02-27T23:29:40Z"},{"id":"36068604712","type":"PushEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":762361718,"name":"matthyk/fastify-override","url":"https://api.github.com/repos/matthyk/fastify-override"},"payload":{"repository_id":762361718,"push_id":17298295753,"size":5,"distinct_size":5,"ref":"refs/heads/main","head":"a40991e635abb70336dd5f084c15403b444b072d","before":"1ce7a84041f3b0a14863a37a56eecdc3dee83737","commits":[{"sha":"4df9043b2a6cd51bd20ac0af980c2b5dfdd05df2","author":{"email":"53833818+matthyk@users.noreply.github.com","name":"matthyk"},"message":"add remaining hook types","distinct":true,"url":"https://api.github.com/repos/matthyk/fastify-override/commits/4df9043b2a6cd51bd20ac0af980c2b5dfdd05df2"},{"sha":"0187700809927313c988409f9aafd5ac4b196a61","author":{"email":"53833818+matthyk@users.noreply.github.com","name":"matthyk"},"message":"add assertion","distinct":true,"url":"https://api.github.com/repos/matthyk/fastify-override/commits/0187700809927313c988409f9aafd5ac4b196a61"},{"sha":"ad3e6952c1a607eae1d903ff0f79d9e3926dcd8e","author":{"email":"53833818+matthyk@users.noreply.github.com","name":"matthyk"},"message":"prepare package.json","distinct":true,"url":"https://api.github.com/repos/matthyk/fastify-override/commits/ad3e6952c1a607eae1d903ff0f79d9e3926dcd8e"},{"sha":"875fe518006baddbc2e4818f97b1781bb852bb95","author":{"email":"53833818+matthyk@users.noreply.github.com","name":"matthyk"},"message":"Create .npmignore","distinct":true,"url":"https://api.github.com/repos/matthyk/fastify-override/commits/875fe518006baddbc2e4818f97b1781bb852bb95"},{"sha":"a40991e635abb70336dd5f084c15403b444b072d","author":{"email":"53833818+matthyk@users.noreply.github.com","name":"matthyk"},"message":"add note","distinct":true,"url":"https://api.github.com/repos/matthyk/fastify-override/commits/a40991e635abb70336dd5f084c15403b444b072d"}]},"public":true,"created_at":"2024-02-27T23:26:30Z"},{"id":"36067681242","type":"PullRequestEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":69495170,"name":"fastify/fastify","url":"https://api.github.com/repos/fastify/fastify"},"payload":{"action":"opened","number":5335,"pull_request":{"url":"https://api.github.com/repos/fastify/fastify/pulls/5335","id":1746625655,"node_id":"PR_kwDOBCRpgs5oG2R3","html_url":"https://github.com/fastify/fastify/pull/5335","diff_url":"https://github.com/fastify/fastify/pull/5335.diff","patch_url":"https://github.com/fastify/fastify/pull/5335.patch","issue_url":"https://api.github.com/repos/fastify/fastify/issues/5335","number":5335,"state":"open","locked":false,"title":"Update fastify.d.ts","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"body":"Exports the types of the preClose hook.\r\n\r\n\r\n\r\n#### Checklist\r\n\r\n- [ ] run `npm run test` and `npm run benchmark`\r\n- [ ] tests and/or benchmarks are included\r\n- [ ] documentation is changed or added\r\n- [x] commit message and code follows the [Developer's Certification of Origin](https://github.com/fastify/.github/blob/master/CONTRIBUTING.md#developers-certificate-of-origin-11)\r\n and the [Code of conduct](https://github.com/fastify/.github/blob/master/CODE_OF_CONDUCT.md)\r\n","created_at":"2024-02-27T22:39:37Z","updated_at":"2024-02-27T22:39:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"draft":false,"commits_url":"https://api.github.com/repos/fastify/fastify/pulls/5335/commits","review_comments_url":"https://api.github.com/repos/fastify/fastify/pulls/5335/comments","review_comment_url":"https://api.github.com/repos/fastify/fastify/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fastify/fastify/issues/5335/comments","statuses_url":"https://api.github.com/repos/fastify/fastify/statuses/e26c96814397ec4c258335eadf30d4a6c4bc595d","head":{"label":"matthyk:export-preclose-hook-type","ref":"export-preclose-hook-type","sha":"e26c96814397ec4c258335eadf30d4a6c4bc595d","user":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"repo":{"id":351853834,"node_id":"MDEwOlJlcG9zaXRvcnkzNTE4NTM4MzQ=","name":"fastify","full_name":"matthyk/fastify","private":false,"owner":{"login":"matthyk","id":53833818,"node_id":"MDQ6VXNlcjUzODMzODE4","avatar_url":"https://avatars.githubusercontent.com/u/53833818?v=4","gravatar_id":"","url":"https://api.github.com/users/matthyk","html_url":"https://github.com/matthyk","followers_url":"https://api.github.com/users/matthyk/followers","following_url":"https://api.github.com/users/matthyk/following{/other_user}","gists_url":"https://api.github.com/users/matthyk/gists{/gist_id}","starred_url":"https://api.github.com/users/matthyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthyk/subscriptions","organizations_url":"https://api.github.com/users/matthyk/orgs","repos_url":"https://api.github.com/users/matthyk/repos","events_url":"https://api.github.com/users/matthyk/events{/privacy}","received_events_url":"https://api.github.com/users/matthyk/received_events","type":"User","site_admin":false},"html_url":"https://github.com/matthyk/fastify","description":"Fast and low overhead web framework, for Node.js","fork":true,"url":"https://api.github.com/repos/matthyk/fastify","forks_url":"https://api.github.com/repos/matthyk/fastify/forks","keys_url":"https://api.github.com/repos/matthyk/fastify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matthyk/fastify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matthyk/fastify/teams","hooks_url":"https://api.github.com/repos/matthyk/fastify/hooks","issue_events_url":"https://api.github.com/repos/matthyk/fastify/issues/events{/number}","events_url":"https://api.github.com/repos/matthyk/fastify/events","assignees_url":"https://api.github.com/repos/matthyk/fastify/assignees{/user}","branches_url":"https://api.github.com/repos/matthyk/fastify/branches{/branch}","tags_url":"https://api.github.com/repos/matthyk/fastify/tags","blobs_url":"https://api.github.com/repos/matthyk/fastify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matthyk/fastify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matthyk/fastify/git/refs{/sha}","trees_url":"https://api.github.com/repos/matthyk/fastify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matthyk/fastify/statuses/{sha}","languages_url":"https://api.github.com/repos/matthyk/fastify/languages","stargazers_url":"https://api.github.com/repos/matthyk/fastify/stargazers","contributors_url":"https://api.github.com/repos/matthyk/fastify/contributors","subscribers_url":"https://api.github.com/repos/matthyk/fastify/subscribers","subscription_url":"https://api.github.com/repos/matthyk/fastify/subscription","commits_url":"https://api.github.com/repos/matthyk/fastify/commits{/sha}","git_commits_url":"https://api.github.com/repos/matthyk/fastify/git/commits{/sha}","comments_url":"https://api.github.com/repos/matthyk/fastify/comments{/number}","issue_comment_url":"https://api.github.com/repos/matthyk/fastify/issues/comments{/number}","contents_url":"https://api.github.com/repos/matthyk/fastify/contents/{+path}","compare_url":"https://api.github.com/repos/matthyk/fastify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matthyk/fastify/merges","archive_url":"https://api.github.com/repos/matthyk/fastify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matthyk/fastify/downloads","issues_url":"https://api.github.com/repos/matthyk/fastify/issues{/number}","pulls_url":"https://api.github.com/repos/matthyk/fastify/pulls{/number}","milestones_url":"https://api.github.com/repos/matthyk/fastify/milestones{/number}","notifications_url":"https://api.github.com/repos/matthyk/fastify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matthyk/fastify/labels{/name}","releases_url":"https://api.github.com/repos/matthyk/fastify/releases{/id}","deployments_url":"https://api.github.com/repos/matthyk/fastify/deployments","created_at":"2021-03-26T17:00:40Z","updated_at":"2022-02-13T11:01:08Z","pushed_at":"2024-02-27T22:38:26Z","git_url":"git://github.com/matthyk/fastify.git","ssh_url":"git@github.com:matthyk/fastify.git","clone_url":"https://github.com/matthyk/fastify.git","svn_url":"https://github.com/matthyk/fastify","homepage":"https://www.fastify.io","size":7142,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"topics":[],"visibility":"public","forks":0,"open_issues":0,"watchers":0,"default_branch":"main"}},"base":{"label":"fastify:main","ref":"main","sha":"db758b321b1fb416a2dea963b347c698fe74a5a0","user":{"login":"fastify","id":24939410,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTM5NDEw","avatar_url":"https://avatars.githubusercontent.com/u/24939410?v=4","gravatar_id":"","url":"https://api.github.com/users/fastify","html_url":"https://github.com/fastify","followers_url":"https://api.github.com/users/fastify/followers","following_url":"https://api.github.com/users/fastify/following{/other_user}","gists_url":"https://api.github.com/users/fastify/gists{/gist_id}","starred_url":"https://api.github.com/users/fastify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastify/subscriptions","organizations_url":"https://api.github.com/users/fastify/orgs","repos_url":"https://api.github.com/users/fastify/repos","events_url":"https://api.github.com/users/fastify/events{/privacy}","received_events_url":"https://api.github.com/users/fastify/received_events","type":"Organization","site_admin":false},"repo":{"id":69495170,"node_id":"MDEwOlJlcG9zaXRvcnk2OTQ5NTE3MA==","name":"fastify","full_name":"fastify/fastify","private":false,"owner":{"login":"fastify","id":24939410,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0OTM5NDEw","avatar_url":"https://avatars.githubusercontent.com/u/24939410?v=4","gravatar_id":"","url":"https://api.github.com/users/fastify","html_url":"https://github.com/fastify","followers_url":"https://api.github.com/users/fastify/followers","following_url":"https://api.github.com/users/fastify/following{/other_user}","gists_url":"https://api.github.com/users/fastify/gists{/gist_id}","starred_url":"https://api.github.com/users/fastify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastify/subscriptions","organizations_url":"https://api.github.com/users/fastify/orgs","repos_url":"https://api.github.com/users/fastify/repos","events_url":"https://api.github.com/users/fastify/events{/privacy}","received_events_url":"https://api.github.com/users/fastify/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/fastify/fastify","description":"Fast and low overhead web framework, for Node.js","fork":false,"url":"https://api.github.com/repos/fastify/fastify","forks_url":"https://api.github.com/repos/fastify/fastify/forks","keys_url":"https://api.github.com/repos/fastify/fastify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fastify/fastify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fastify/fastify/teams","hooks_url":"https://api.github.com/repos/fastify/fastify/hooks","issue_events_url":"https://api.github.com/repos/fastify/fastify/issues/events{/number}","events_url":"https://api.github.com/repos/fastify/fastify/events","assignees_url":"https://api.github.com/repos/fastify/fastify/assignees{/user}","branches_url":"https://api.github.com/repos/fastify/fastify/branches{/branch}","tags_url":"https://api.github.com/repos/fastify/fastify/tags","blobs_url":"https://api.github.com/repos/fastify/fastify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fastify/fastify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fastify/fastify/git/refs{/sha}","trees_url":"https://api.github.com/repos/fastify/fastify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fastify/fastify/statuses/{sha}","languages_url":"https://api.github.com/repos/fastify/fastify/languages","stargazers_url":"https://api.github.com/repos/fastify/fastify/stargazers","contributors_url":"https://api.github.com/repos/fastify/fastify/contributors","subscribers_url":"https://api.github.com/repos/fastify/fastify/subscribers","subscription_url":"https://api.github.com/repos/fastify/fastify/subscription","commits_url":"https://api.github.com/repos/fastify/fastify/commits{/sha}","git_commits_url":"https://api.github.com/repos/fastify/fastify/git/commits{/sha}","comments_url":"https://api.github.com/repos/fastify/fastify/comments{/number}","issue_comment_url":"https://api.github.com/repos/fastify/fastify/issues/comments{/number}","contents_url":"https://api.github.com/repos/fastify/fastify/contents/{+path}","compare_url":"https://api.github.com/repos/fastify/fastify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fastify/fastify/merges","archive_url":"https://api.github.com/repos/fastify/fastify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fastify/fastify/downloads","issues_url":"https://api.github.com/repos/fastify/fastify/issues{/number}","pulls_url":"https://api.github.com/repos/fastify/fastify/pulls{/number}","milestones_url":"https://api.github.com/repos/fastify/fastify/milestones{/number}","notifications_url":"https://api.github.com/repos/fastify/fastify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fastify/fastify/labels{/name}","releases_url":"https://api.github.com/repos/fastify/fastify/releases{/id}","deployments_url":"https://api.github.com/repos/fastify/fastify/deployments","created_at":"2016-09-28T19:10:14Z","updated_at":"2024-02-27T11:19:03Z","pushed_at":"2024-02-27T22:39:37Z","git_url":"git://github.com/fastify/fastify.git","ssh_url":"git@github.com:fastify/fastify.git","clone_url":"https://github.com/fastify/fastify.git","svn_url":"https://github.com/fastify/fastify","homepage":"https://www.fastify.dev","size":7388,"stargazers_count":30096,"watchers_count":30096,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"has_discussions":true,"forks_count":2152,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":81,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"allow_forking":true,"is_template":false,"web_commit_signoff_required":true,"topics":["nodejs","performance","speed","webframework"],"visibility":"public","forks":2152,"open_issues":81,"watchers":30096,"default_branch":"main"}},"_links":{"self":{"href":"https://api.github.com/repos/fastify/fastify/pulls/5335"},"html":{"href":"https://github.com/fastify/fastify/pull/5335"},"issue":{"href":"https://api.github.com/repos/fastify/fastify/issues/5335"},"comments":{"href":"https://api.github.com/repos/fastify/fastify/issues/5335/comments"},"review_comments":{"href":"https://api.github.com/repos/fastify/fastify/pulls/5335/comments"},"review_comment":{"href":"https://api.github.com/repos/fastify/fastify/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fastify/fastify/pulls/5335/commits"},"statuses":{"href":"https://api.github.com/repos/fastify/fastify/statuses/e26c96814397ec4c258335eadf30d4a6c4bc595d"}},"author_association":"CONTRIBUTOR","auto_merge":null,"active_lock_reason":null,"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":3,"deletions":3,"changed_files":1}},"public":true,"created_at":"2024-02-27T22:39:38Z","org":{"id":24939410,"login":"fastify","gravatar_id":"","url":"https://api.github.com/orgs/fastify","avatar_url":"https://avatars.githubusercontent.com/u/24939410?"}},{"id":"36067657425","type":"CreateEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":351853834,"name":"matthyk/fastify","url":"https://api.github.com/repos/matthyk/fastify"},"payload":{"ref":"export-preclose-hook-type","ref_type":"branch","master_branch":"main","description":"Fast and low overhead web framework, for Node.js","pusher_type":"user"},"public":true,"created_at":"2024-02-27T22:38:26Z"},{"id":"36067539385","type":"PushEvent","actor":{"id":53833818,"login":"matthyk","display_login":"matthyk","gravatar_id":"","url":"https://api.github.com/users/matthyk","avatar_url":"https://avatars.githubusercontent.com/u/53833818?"},"repo":{"id":351853834,"name":"matthyk/fastify","url":"https://api.github.com/repos/matthyk/fastify"},"payload":{"repository_id":351853834,"push_id":17297754138,"size":3,"distinct_size":3,"ref":"refs/heads/main","head":"db758b321b1fb416a2dea963b347c698fe74a5a0","before":"54f8e3c6c12f55358b9703de7e70a8866198ed52","commits":[{"sha":"7e50e5307c9a6593a2e43171912630033aa1aacb","author":{"email":"liran.tal@gmail.com","name":"Liran Tal"},"message":"feat: add a Firebase Functions step by step guide (#5318)\n\n* feat: add a Firebase Functions step by step guide\r\n\r\nThis PR adds a new section to the Serverless Guide on the website that explains how to use Fastify as the wrapper around Firebase's own onRequest HTTP handler\r\n\r\nSigned-off-by: Liran Tal