@rodrigobeber/patoai-dtos 2.1.25 → 2.1.29

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.
@@ -0,0 +1,3 @@
1
+ export interface AccessTokenDto {
2
+ accessToken: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +1,6 @@
1
+ export * from './access-token.dto';
1
2
  export * from './account.dto';
2
3
  export * from './account-role.enum';
3
- export * from './tokens.dto';
4
4
  export * from './login-response.dto';
5
5
  export * from './login.dto';
6
6
  export * from './register.dto';
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./access-token.dto"), exports);
17
18
  __exportStar(require("./account.dto"), exports);
18
19
  __exportStar(require("./account-role.enum"), exports);
19
- __exportStar(require("./tokens.dto"), exports);
20
20
  __exportStar(require("./login-response.dto"), exports);
21
21
  __exportStar(require("./login.dto"), exports);
22
22
  __exportStar(require("./register.dto"), exports);
@@ -1,5 +1,5 @@
1
- import { AccountDto } from '@rodrigobeber/patoai-dtos';
2
- export declare class LoginResponseDto {
1
+ import { AccountDto } from "./account.dto";
2
+ export interface LoginResponseDto {
3
3
  accessToken: string;
4
4
  account: AccountDto;
5
5
  }
@@ -1,6 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LoginResponseDto = void 0;
4
- class LoginResponseDto {
5
- }
6
- exports.LoginResponseDto = LoginResponseDto;
@@ -1,4 +1,4 @@
1
- export declare class LoginDto {
1
+ export interface LoginDto {
2
2
  login: string;
3
3
  password: string;
4
4
  }
@@ -1,6 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LoginDto = void 0;
4
- class LoginDto {
5
- }
6
- exports.LoginDto = LoginDto;
@@ -1,3 +1,3 @@
1
- export declare class PasswordResetRequestDto {
1
+ export interface PasswordResetRequestDto {
2
2
  login: string;
3
3
  }
@@ -1,6 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PasswordResetRequestDto = void 0;
4
- class PasswordResetRequestDto {
5
- }
6
- exports.PasswordResetRequestDto = PasswordResetRequestDto;
@@ -1,4 +1,4 @@
1
- export declare class PasswordResetDto {
1
+ export interface PasswordResetDto {
2
2
  token: string;
3
3
  password: string;
4
4
  }
@@ -1,6 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PasswordResetDto = void 0;
4
- class PasswordResetDto {
5
- }
6
- exports.PasswordResetDto = PasswordResetDto;
@@ -0,0 +1,3 @@
1
+ export interface RefreshTokenDto {
2
+ refreshToken: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export declare class RegisterDto {
1
+ export interface RegisterDto {
2
2
  login: string;
3
3
  password: string;
4
4
  name: string;
@@ -1,6 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RegisterDto = void 0;
4
- class RegisterDto {
5
- }
6
- exports.RegisterDto = RegisterDto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "2.1.25",
3
+ "version": "2.1.29",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",