@pathway-io/core 1.0.5 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.mts +8 -4
- package/dist/index.d.ts +8 -4
- package/package.json +1 -1
- package/src/types/auth.ts +4 -4
- package/src/types/index.ts +1 -0
- package/src/types/messages.ts +3 -0
package/dist/index.d.mts
CHANGED
@@ -66,16 +66,20 @@ declare const fonts: {
|
|
66
66
|
type AuthOtpRequest = {
|
67
67
|
email: string;
|
68
68
|
};
|
69
|
+
type AuthSignInRequest = {
|
70
|
+
code: string;
|
71
|
+
};
|
69
72
|
type AuthSignInResponse = {
|
70
73
|
accessToken: string;
|
71
74
|
refreshToken: string;
|
72
75
|
};
|
73
|
-
type AuthSignInInput = {
|
74
|
-
code: string;
|
75
|
-
};
|
76
76
|
type AuthSignInRefreshRequest = {
|
77
77
|
refreshToken: string;
|
78
78
|
};
|
79
79
|
type AuthSignInRefreshResponse = AuthSignInResponse;
|
80
80
|
|
81
|
-
|
81
|
+
type ChannelMessagesParams = {
|
82
|
+
channelId: number;
|
83
|
+
};
|
84
|
+
|
85
|
+
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type ChannelMessagesParams, colors, fonts };
|
package/dist/index.d.ts
CHANGED
@@ -66,16 +66,20 @@ declare const fonts: {
|
|
66
66
|
type AuthOtpRequest = {
|
67
67
|
email: string;
|
68
68
|
};
|
69
|
+
type AuthSignInRequest = {
|
70
|
+
code: string;
|
71
|
+
};
|
69
72
|
type AuthSignInResponse = {
|
70
73
|
accessToken: string;
|
71
74
|
refreshToken: string;
|
72
75
|
};
|
73
|
-
type AuthSignInInput = {
|
74
|
-
code: string;
|
75
|
-
};
|
76
76
|
type AuthSignInRefreshRequest = {
|
77
77
|
refreshToken: string;
|
78
78
|
};
|
79
79
|
type AuthSignInRefreshResponse = AuthSignInResponse;
|
80
80
|
|
81
|
-
|
81
|
+
type ChannelMessagesParams = {
|
82
|
+
channelId: number;
|
83
|
+
};
|
84
|
+
|
85
|
+
export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, type ChannelMessagesParams, colors, fonts };
|
package/package.json
CHANGED
package/src/types/auth.ts
CHANGED
@@ -2,15 +2,15 @@ export type AuthOtpRequest = {
|
|
2
2
|
email: string
|
3
3
|
}
|
4
4
|
|
5
|
+
export type AuthSignInRequest = {
|
6
|
+
code: string
|
7
|
+
}
|
8
|
+
|
5
9
|
export type AuthSignInResponse = {
|
6
10
|
accessToken: string
|
7
11
|
refreshToken: string
|
8
12
|
}
|
9
13
|
|
10
|
-
export type AuthSignInInput = {
|
11
|
-
code: string
|
12
|
-
}
|
13
|
-
|
14
14
|
export type AuthSignInRefreshRequest = {
|
15
15
|
refreshToken: string
|
16
16
|
}
|
package/src/types/index.ts
CHANGED