@pathway-io/core 1.0.14 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/types/messages.ts +1 -1
- package/src/types/user.ts +16 -0
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/package.json
CHANGED
package/src/types/messages.ts
CHANGED
@@ -0,0 +1,16 @@
|
|
1
|
+
export type UserRole = "USER" | "PRACTITIONER" | "ADMIN" | "SUPERADMIN";
|
2
|
+
|
3
|
+
export type User = {
|
4
|
+
id: string;
|
5
|
+
email: string;
|
6
|
+
firstName?: string;
|
7
|
+
lastName?: string;
|
8
|
+
namePrefix?: string;
|
9
|
+
nameSuffix?: string;
|
10
|
+
createdAt: Date;
|
11
|
+
updatedAt: Date;
|
12
|
+
deactivatedAt?: Date;
|
13
|
+
lastSignedInAt?: Date;
|
14
|
+
signInCount: number;
|
15
|
+
role: UserRole;
|
16
|
+
};
|