mirror of
https://github.com/appy-one/acebase-server.git
synced 2026-05-25 06:02:16 -06:00
[PR #51] [MERGED] Improvement: RouteRequest types and shutdown console logs #53
Labels
No labels
bug
enhancement
feature request
pull-request
types
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-server#53
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/appy-one/acebase-server/pull/51
Author: @appy-one
Created: 11/23/2022
Status: ✅ Merged
Merged: 11/23/2022
Merged by: @appy-one
Base:
master← Head:improvement/misc-20221123📝 Commits (3)
d13f70bReorder RouteRequest types: query, body, resBody3618fc7Improve shutdown console logs37b2970chore: build📊 Changes
125 files changed (+167 additions, -163 deletions)
View changed files
📝
dist/cjs/middleware/user.js.map(+1 -1)📝
dist/cjs/routes/data-index-create.js.map(+1 -1)📝
dist/cjs/routes/oauth2-init.js(+8 -5)📝
dist/cjs/routes/oauth2-init.js.map(+1 -1)📝
dist/cjs/server.js(+8 -9)📝
dist/cjs/server.js.map(+1 -1)📝
dist/esm/middleware/user.js.map(+1 -1)📝
dist/esm/routes/data-index-create.js.map(+1 -1)📝
dist/esm/routes/oauth2-init.js(+8 -5)📝
dist/esm/routes/oauth2-init.js.map(+1 -1)📝
dist/esm/server.js(+8 -9)📝
dist/esm/server.js.map(+1 -1)📝
dist/types/routes/auth-change-password.d.ts(+1 -1)📝
dist/types/routes/auth-change-password.d.ts.map(+1 -1)📝
dist/types/routes/auth-delete.d.ts(+1 -1)📝
dist/types/routes/auth-delete.d.ts.map(+1 -1)📝
dist/types/routes/auth-forgot-password.d.ts(+1 -1)📝
dist/types/routes/auth-forgot-password.d.ts.map(+1 -1)📝
dist/types/routes/auth-reset-password.d.ts(+1 -1)📝
dist/types/routes/auth-reset-password.d.ts.map(+1 -1)...and 80 more files
📄 Description
Replaced
console.login shutdown procedure withthis.debug.logto adhere the user logging level. Also removed an invalid log message about 0 clients still connected after shutdown timeout.I noticed the tsc build was failing due to changes in Express, so I had to change the
RouteRequesttype used by endpoints. Took the opportunity to reorder the order of the type args to be more logical: 1. Request Query, 2. Request Body, Response Body.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.