@pathway-io/core 1.0.16 → 1.0.17
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/index.d.mts +17 -1
- package/dist/index.d.ts +17 -1
- package/package.json +1 -1
- package/src/types/index.ts +3 -2
package/dist/index.d.mts
CHANGED
@@ -102,4 +102,20 @@ 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
|
+
};
|
120
|
+
|
121
|
+
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,20 @@ 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
|
+
};
|
120
|
+
|
121
|
+
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";
|