@pathway-io/core 1.0.26 → 1.0.27

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -168,5 +168,9 @@ type User = {
168
168
  type UserUpdateEmailInput = {
169
169
  email: string;
170
170
  };
171
+ type UserUpdateNameInput = {
172
+ firstName: string;
173
+ lastName: string;
174
+ };
171
175
 
172
- export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateRequest, type MessageListCoercedQueryParams, type MessageListQueryParams, type User, type UserRole, type UserUpdateEmailInput, colors, fonts };
176
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateRequest, type MessageListCoercedQueryParams, type MessageListQueryParams, type User, type UserRole, type UserUpdateEmailInput, type UserUpdateNameInput, colors, fonts };
package/dist/index.d.ts CHANGED
@@ -168,5 +168,9 @@ type User = {
168
168
  type UserUpdateEmailInput = {
169
169
  email: string;
170
170
  };
171
+ type UserUpdateNameInput = {
172
+ firstName: string;
173
+ lastName: string;
174
+ };
171
175
 
172
- export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateRequest, type MessageListCoercedQueryParams, type MessageListQueryParams, type User, type UserRole, type UserUpdateEmailInput, colors, fonts };
176
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type Message, type MessageCreateRequest, type MessageListCoercedQueryParams, type MessageListQueryParams, type User, type UserRole, type UserUpdateEmailInput, type UserUpdateNameInput, colors, fonts };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathway-io/core",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "Shared constants and types for Pathway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/types/user.ts CHANGED
@@ -19,3 +19,8 @@ export type User = {
19
19
  export type UserUpdateEmailInput = {
20
20
  email: string;
21
21
  };
22
+
23
+ export type UserUpdateNameInput = {
24
+ firstName: string;
25
+ lastName: string;
26
+ };