update types

This commit is contained in:
Benjamin Toby
2024-10-11 10:01:17 +01:00
parent c4f8798d9e
commit 77bb403f10
4 changed files with 11 additions and 26 deletions
+9 -1
View File
@@ -38,4 +38,12 @@
* @property {any} [more_data]
*/
module.exports = { DATASQUIREL_LoggedInUser };
/**
* @typedef {object} AuthenticatedUser
* @property {boolean} success - Did the function run successfully?
* @property {import("../types/user.td").DATASQUIREL_LoggedInUser | null} payload - Payload of the response
* @property {string} [msg] - An optional message
* @property {number} [userId] - An optional message
*/
module.exports = { DATASQUIREL_LoggedInUser, AuthenticatedUser };