@pathway-io/core 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
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 AuthSignInResponse = {
70
+ accessToken: string;
71
+ refreshToken: string;
72
+ };
73
+ type AuthSignInInput = {
74
+ code: string;
75
+ };
76
+ type AuthSignInRefreshRequest = {
77
+ refreshToken: string;
78
+ };
79
+ type AuthSignInRefreshResponse = AuthSignInResponse;
80
+
81
+ export { type AuthOtpRequest, type AuthSignInInput, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, 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 AuthSignInResponse = {
70
+ accessToken: string;
71
+ refreshToken: string;
72
+ };
73
+ type AuthSignInInput = {
74
+ code: string;
75
+ };
76
+ type AuthSignInRefreshRequest = {
77
+ refreshToken: string;
78
+ };
79
+ type AuthSignInRefreshResponse = AuthSignInResponse;
80
+
81
+ export { type AuthOtpRequest, type AuthSignInInput, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, 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.5",
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 AuthSignInResponse = {
6
+ accessToken: string
7
+ refreshToken: string
8
+ }
9
+
10
+ export type AuthSignInInput = {
11
+ code: string
12
+ }
13
+
14
+ export type AuthSignInRefreshRequest = {
15
+ refreshToken: string
16
+ }
17
+
18
+ export type AuthSignInRefreshResponse = AuthSignInResponse
@@ -0,0 +1 @@
1
+ export * from './auth'