@pathway-io/core 1.0.26 → 1.0.28

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 CHANGED
@@ -89,8 +89,8 @@ declare const fonts: {
89
89
  };
90
90
  };
91
91
  readonly sm: {
92
- readonly size: 14;
93
- readonly lineHeight: 20;
92
+ readonly size: 15;
93
+ readonly lineHeight: 18;
94
94
  readonly family: {
95
95
  readonly light: "HelveticaNowTextLight";
96
96
  readonly reg: "HelveticaNowTextRegular";
@@ -99,13 +99,13 @@ declare const fonts: {
99
99
  };
100
100
  };
101
101
  readonly xs: {
102
- readonly size: 12;
103
- readonly lineHeight: 18;
102
+ readonly size: 14;
103
+ readonly lineHeight: 20;
104
104
  readonly family: {
105
- readonly light: "HelveticaNowMicroLight";
106
- readonly reg: "HelveticaNowMicroRegular";
107
- readonly med: "HelveticaNowMicroMedium";
108
- readonly bold: "HelveticaNowMicroBold";
105
+ readonly light: "HelveticaNowTextLight";
106
+ readonly reg: "HelveticaNowTextRegular";
107
+ readonly med: "HelveticaNowTextMedium";
108
+ readonly bold: "HelveticaNowTextBold";
109
109
  };
110
110
  };
111
111
  };
@@ -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
@@ -89,8 +89,8 @@ declare const fonts: {
89
89
  };
90
90
  };
91
91
  readonly sm: {
92
- readonly size: 14;
93
- readonly lineHeight: 20;
92
+ readonly size: 15;
93
+ readonly lineHeight: 18;
94
94
  readonly family: {
95
95
  readonly light: "HelveticaNowTextLight";
96
96
  readonly reg: "HelveticaNowTextRegular";
@@ -99,13 +99,13 @@ declare const fonts: {
99
99
  };
100
100
  };
101
101
  readonly xs: {
102
- readonly size: 12;
103
- readonly lineHeight: 18;
102
+ readonly size: 14;
103
+ readonly lineHeight: 20;
104
104
  readonly family: {
105
- readonly light: "HelveticaNowMicroLight";
106
- readonly reg: "HelveticaNowMicroRegular";
107
- readonly med: "HelveticaNowMicroMedium";
108
- readonly bold: "HelveticaNowMicroBold";
105
+ readonly light: "HelveticaNowTextLight";
106
+ readonly reg: "HelveticaNowTextRegular";
107
+ readonly med: "HelveticaNowTextMedium";
108
+ readonly bold: "HelveticaNowTextBold";
109
109
  };
110
110
  };
111
111
  };
@@ -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.js CHANGED
@@ -120,8 +120,8 @@ var fonts = {
120
120
  }
121
121
  },
122
122
  sm: {
123
- size: 14,
124
- lineHeight: 20,
123
+ size: 15,
124
+ lineHeight: 18,
125
125
  family: {
126
126
  light: "HelveticaNowTextLight",
127
127
  reg: "HelveticaNowTextRegular",
@@ -130,13 +130,13 @@ var fonts = {
130
130
  }
131
131
  },
132
132
  xs: {
133
- size: 12,
134
- lineHeight: 18,
133
+ size: 14,
134
+ lineHeight: 20,
135
135
  family: {
136
- light: "HelveticaNowMicroLight",
137
- reg: "HelveticaNowMicroRegular",
138
- med: "HelveticaNowMicroMedium",
139
- bold: "HelveticaNowMicroBold"
136
+ light: "HelveticaNowTextLight",
137
+ reg: "HelveticaNowTextRegular",
138
+ med: "HelveticaNowTextMedium",
139
+ bold: "HelveticaNowTextBold"
140
140
  }
141
141
  }
142
142
  };
package/dist/index.mjs CHANGED
@@ -93,8 +93,8 @@ var fonts = {
93
93
  }
94
94
  },
95
95
  sm: {
96
- size: 14,
97
- lineHeight: 20,
96
+ size: 15,
97
+ lineHeight: 18,
98
98
  family: {
99
99
  light: "HelveticaNowTextLight",
100
100
  reg: "HelveticaNowTextRegular",
@@ -103,13 +103,13 @@ var fonts = {
103
103
  }
104
104
  },
105
105
  xs: {
106
- size: 12,
107
- lineHeight: 18,
106
+ size: 14,
107
+ lineHeight: 20,
108
108
  family: {
109
- light: "HelveticaNowMicroLight",
110
- reg: "HelveticaNowMicroRegular",
111
- med: "HelveticaNowMicroMedium",
112
- bold: "HelveticaNowMicroBold"
109
+ light: "HelveticaNowTextLight",
110
+ reg: "HelveticaNowTextRegular",
111
+ med: "HelveticaNowTextMedium",
112
+ bold: "HelveticaNowTextBold"
113
113
  }
114
114
  }
115
115
  };
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.28",
4
4
  "description": "Shared constants and types for Pathway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -96,8 +96,8 @@ export const fonts = {
96
96
  },
97
97
  },
98
98
  sm: {
99
- size: 14,
100
- lineHeight: 20,
99
+ size: 15,
100
+ lineHeight: 18,
101
101
  family: {
102
102
  light: "HelveticaNowTextLight",
103
103
  reg: "HelveticaNowTextRegular",
@@ -106,13 +106,13 @@ export const fonts = {
106
106
  },
107
107
  },
108
108
  xs: {
109
- size: 12,
110
- lineHeight: 18,
109
+ size: 14,
110
+ lineHeight: 20,
111
111
  family: {
112
- light: "HelveticaNowMicroLight",
113
- reg: "HelveticaNowMicroRegular",
114
- med: "HelveticaNowMicroMedium",
115
- bold: "HelveticaNowMicroBold",
112
+ light: "HelveticaNowTextLight",
113
+ reg: "HelveticaNowTextRegular",
114
+ med: "HelveticaNowTextMedium",
115
+ bold: "HelveticaNowTextBold",
116
116
  },
117
117
  },
118
118
  } as const;
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
+ };