Move PrivateUserDocument to server-types

This commit is contained in:
zkldi
2022-04-13 12:50:04 +01:00
parent 10833b86a0
commit f45dfb3b33
3 changed files with 12 additions and 8 deletions
+9
View File
@@ -16,6 +16,7 @@ import {
GoalSubscriptionDocument,
MilestoneDocument,
MilestoneSetDocument,
integer,
} from "tachi-common";
declare module "express-session" {
@@ -75,3 +76,11 @@ export interface TachiRequestData {
apiClientDoc: Omit<TachiAPIClientDocument, "clientSecret">;
}
// This is only used on tachi-server, and isn't exposed -- so shouldn't be a part
// of common.
export interface PrivateUserInfoDocument {
userID: integer;
password: string;
email: string;
}