@pathway-io/core 1.0.4 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.mts +16 -1
- package/dist/index.d.ts +16 -1
- package/package.json +1 -1
- package/src/types/auth.ts +18 -0
- package/src/types/index.ts +1 -0
package/dist/index.d.mts
CHANGED
@@ -63,4 +63,19 @@ declare const fonts: {
|
|
63
63
|
};
|
64
64
|
};
|
65
65
|
|
66
|
-
|
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
|
-
|
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
@@ -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
|
package/src/types/index.ts
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './auth'
|