@milobedini/shared-types 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth.d.ts +1 -8
- package/package.json +1 -1
package/dist/auth.d.ts
CHANGED
|
@@ -4,13 +4,7 @@ export interface AuthUser {
|
|
|
4
4
|
email: string;
|
|
5
5
|
roles: string[];
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
readonly THERAPIST: "therapist";
|
|
9
|
-
readonly PATIENT: "patient";
|
|
10
|
-
readonly ADMIN: "admin";
|
|
11
|
-
};
|
|
12
|
-
export type UserRole = (typeof UserRole)[keyof typeof UserRole];
|
|
13
|
-
export declare const UserRoles: ("therapist" | "patient" | "admin")[];
|
|
7
|
+
export type UserRole = 'therapist' | 'admin' | 'patient';
|
|
14
8
|
export interface AuthResponse {
|
|
15
9
|
success: boolean;
|
|
16
10
|
message: string;
|
|
@@ -29,4 +23,3 @@ export interface LoginInput {
|
|
|
29
23
|
export interface VerifyInput {
|
|
30
24
|
verificationCode: string;
|
|
31
25
|
}
|
|
32
|
-
export {};
|