@royalinvest/dto 0.10.21 → 0.10.22

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,10 @@
1
+ import { IAddress } from "./address";
2
+ import { PartyTypeEnum } from "./enum";
3
+ export interface field extends IAddress {
4
+ id?: string;
5
+ name: string;
6
+ email: string;
7
+ type: PartyTypeEnum;
8
+ telephone: string;
9
+ other_telephone?: string;
10
+ }
package/dist/field.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.d.ts CHANGED
@@ -27,3 +27,4 @@ export * from "./signatureParty";
27
27
  export * from "./party";
28
28
  export * from "./placeholder";
29
29
  export * from "./signaturePartyViewer";
30
+ export * from "./field";
package/dist/index.js CHANGED
@@ -43,3 +43,4 @@ __exportStar(require("./signatureParty"), exports);
43
43
  __exportStar(require("./party"), exports);
44
44
  __exportStar(require("./placeholder"), exports);
45
45
  __exportStar(require("./signaturePartyViewer"), exports);
46
+ __exportStar(require("./field"), exports);
@@ -1,15 +1,6 @@
1
- import { PartyTypeEnum } from "../enum";
2
- import { IAddress } from "../address";
1
+ import { field } from "../field";
3
2
  export interface sectionA {
4
3
  lessor: field[];
5
4
  lessee: field[];
6
5
  represented_by: string;
7
6
  }
8
- export interface field extends IAddress {
9
- id?: string;
10
- name: string;
11
- email: string;
12
- type: PartyTypeEnum;
13
- telephone: string;
14
- other_telephone?: string;
15
- }
@@ -1,4 +1,4 @@
1
- import { field } from "./sectionA";
1
+ import { field } from "../field";
2
2
  export interface sectionH {
3
3
  solidarily_liable_for_lease_yes: boolean;
4
4
  solidarily_liable_for_lease_no: boolean;
@@ -1,4 +1,4 @@
1
- import { field } from "./sectionA";
1
+ import { field } from "../field";
2
2
  export interface sectionI {
3
3
  married_civil_union_name_spouse: string;
4
4
  spouse: field[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royalinvest/dto",
3
- "version": "0.10.21",
3
+ "version": "0.10.22",
4
4
  "description": "Data Transfer Objects (DTOs) to carry data between frontend and backend processes.",
5
5
  "main": "./src/index.ts",
6
6
  "types": "./dist/index.d.ts",