@openbox/shared-types 0.2.26 → 0.2.27

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.
@@ -1,4 +1,5 @@
1
- export interface AuthAuthProcessLoginRequest {
1
+ export type AuthAuthProcessLoginRequest = {
2
2
  email: string;
3
3
  password: string;
4
- }
4
+ remember?: boolean;
5
+ };
@@ -1,7 +1,7 @@
1
- export interface JWTResponse {
1
+ export type JWTResponse = {
2
2
  access_token: string;
3
3
  refresh_token: string;
4
- }
5
- export interface AuthAuthProcessLoginResponse {
4
+ };
5
+ export type AuthAuthProcessLoginResponse = {
6
6
  data: JWTResponse;
7
- }
7
+ };
@@ -1,3 +1,3 @@
1
- export interface AuthAuthProcessRefreshRequest {
1
+ export type AuthAuthProcessRefreshRequest = {
2
2
  refreshToken: string;
3
- }
3
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.26",
3
+ "version": "0.2.27",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,4 +1,5 @@
1
- export interface AuthAuthProcessLoginRequest {
1
+ export type AuthAuthProcessLoginRequest = {
2
2
  email: string
3
3
  password: string
4
+ remember?: boolean
4
5
  }
@@ -1,8 +1,8 @@
1
- export interface JWTResponse {
1
+ export type JWTResponse = {
2
2
  access_token: string
3
3
  refresh_token: string
4
4
  }
5
5
 
6
- export interface AuthAuthProcessLoginResponse {
6
+ export type AuthAuthProcessLoginResponse = {
7
7
  data: JWTResponse
8
8
  }
@@ -1,3 +1,3 @@
1
- export interface AuthAuthProcessRefreshRequest {
1
+ export type AuthAuthProcessRefreshRequest = {
2
2
  refreshToken: string
3
3
  }