@pathway-io/core 1.0.4 → 1.0.5
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 +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 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
|
-
|
|
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
|
@@ -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
|
package/src/types/index.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './auth'
|