@pathway-io/core 1.0.16 → 1.0.18
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.mts +18 -1
- package/dist/index.d.ts +18 -1
- package/package.json +1 -1
- package/src/types/index.ts +3 -2
- package/src/types/user.ts +1 -0
package/dist/index.d.mts
CHANGED
@@ -102,4 +102,21 @@ type MessageCreateInput = {
|
|
102
102
|
content: string;
|
103
103
|
};
|
104
104
|
|
105
|
-
|
105
|
+
type UserRole = "USER" | "PRACTITIONER" | "ADMIN" | "SUPERADMIN";
|
106
|
+
type User = {
|
107
|
+
id: string;
|
108
|
+
email: string;
|
109
|
+
firstName?: string;
|
110
|
+
lastName?: string;
|
111
|
+
namePrefix?: string;
|
112
|
+
nameSuffix?: string;
|
113
|
+
createdAt: Date;
|
114
|
+
updatedAt: Date;
|
115
|
+
deactivatedAt?: Date;
|
116
|
+
lastSignedInAt?: Date;
|
117
|
+
signInCount: number;
|
118
|
+
role: UserRole;
|
119
|
+
pictureUrl?: string;
|
120
|
+
};
|
121
|
+
|
122
|
+
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateInput, type MessageListCoercedQueryParams, type MessageListQueryParams, type User, type UserRole, colors, fonts };
|
package/dist/index.d.ts
CHANGED
@@ -102,4 +102,21 @@ type MessageCreateInput = {
|
|
102
102
|
content: string;
|
103
103
|
};
|
104
104
|
|
105
|
-
|
105
|
+
type UserRole = "USER" | "PRACTITIONER" | "ADMIN" | "SUPERADMIN";
|
106
|
+
type User = {
|
107
|
+
id: string;
|
108
|
+
email: string;
|
109
|
+
firstName?: string;
|
110
|
+
lastName?: string;
|
111
|
+
namePrefix?: string;
|
112
|
+
nameSuffix?: string;
|
113
|
+
createdAt: Date;
|
114
|
+
updatedAt: Date;
|
115
|
+
deactivatedAt?: Date;
|
116
|
+
lastSignedInAt?: Date;
|
117
|
+
signInCount: number;
|
118
|
+
role: UserRole;
|
119
|
+
pictureUrl?: string;
|
120
|
+
};
|
121
|
+
|
122
|
+
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateInput, type MessageListCoercedQueryParams, type MessageListQueryParams, type User, type UserRole, colors, fonts };
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
export * from
|
2
|
-
export * from
|
1
|
+
export * from "./auth";
|
2
|
+
export * from "./messages";
|
3
|
+
export * from "./user";
|