@pathway-io/core 1.0.19 → 1.0.20

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -153,5 +153,8 @@ type User = {
153
153
  role: UserRole;
154
154
  pictureUrl?: string;
155
155
  };
156
+ type UserUpdateEmailInput = {
157
+ email: string;
158
+ };
156
159
 
157
- 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 };
160
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateInput, type MessageListCoercedQueryParams, type MessageListQueryParams, type User, type UserRole, type UserUpdateEmailInput, colors, fonts };
package/dist/index.d.ts CHANGED
@@ -153,5 +153,8 @@ type User = {
153
153
  role: UserRole;
154
154
  pictureUrl?: string;
155
155
  };
156
+ type UserUpdateEmailInput = {
157
+ email: string;
158
+ };
156
159
 
157
- 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 };
160
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateInput, type MessageListCoercedQueryParams, type MessageListQueryParams, type User, type UserRole, type UserUpdateEmailInput, colors, fonts };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathway-io/core",
3
- "version": "1.0.19",
3
+ "version": "1.0.20",
4
4
  "description": "Shared constants and types for Pathway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/index.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from './functions'
2
- export * from './styles'
3
- export * from './types'
1
+ export * from "./functions";
2
+ export * from "./styles";
3
+ export * from "./types";
package/src/types/user.ts CHANGED
@@ -15,3 +15,7 @@ export type User = {
15
15
  role: UserRole;
16
16
  pictureUrl?: string;
17
17
  };
18
+
19
+ export type UserUpdateEmailInput = {
20
+ email: string;
21
+ };