@pathway-io/core 1.0.4 → 1.0.6

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
@@ -63,4 +63,19 @@ declare const fonts: {
63
63
  };
64
64
  };
65
65
 
66
- export { colors, fonts };
66
+ type AuthOtpRequest = {
67
+ email: string;
68
+ };
69
+ type AuthSignInRequest = {
70
+ code: string;
71
+ };
72
+ type AuthSignInResponse = {
73
+ accessToken: string;
74
+ refreshToken: string;
75
+ };
76
+ type AuthSignInRefreshRequest = {
77
+ refreshToken: string;
78
+ };
79
+ type AuthSignInRefreshResponse = AuthSignInResponse;
80
+
81
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, colors, fonts };
package/dist/index.d.ts CHANGED
@@ -63,4 +63,19 @@ declare const fonts: {
63
63
  };
64
64
  };
65
65
 
66
- export { colors, fonts };
66
+ type AuthOtpRequest = {
67
+ email: string;
68
+ };
69
+ type AuthSignInRequest = {
70
+ code: string;
71
+ };
72
+ type AuthSignInResponse = {
73
+ accessToken: string;
74
+ refreshToken: string;
75
+ };
76
+ type AuthSignInRefreshRequest = {
77
+ refreshToken: string;
78
+ };
79
+ type AuthSignInRefreshResponse = AuthSignInResponse;
80
+
81
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, colors, fonts };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathway-io/core",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Shared constants and types for Pathway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -0,0 +1,18 @@
1
+ export type AuthOtpRequest = {
2
+ email: string
3
+ }
4
+
5
+ export type AuthSignInRequest = {
6
+ code: string
7
+ }
8
+
9
+ export type AuthSignInResponse = {
10
+ accessToken: string
11
+ refreshToken: string
12
+ }
13
+
14
+ export type AuthSignInRefreshRequest = {
15
+ refreshToken: string
16
+ }
17
+
18
+ export type AuthSignInRefreshResponse = AuthSignInResponse
@@ -0,0 +1 @@
1
+ export * from './auth'