@royalinvest/dto 0.2.13 → 0.3.0

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.ts CHANGED
@@ -13,4 +13,3 @@ export * from "./sign-up";
13
13
  export * from "./user";
14
14
  export * from "./auth";
15
15
  export * from "./notification";
16
- export * from "./expense";
package/dist/index.js CHANGED
@@ -29,4 +29,3 @@ __exportStar(require("./sign-up"), exports);
29
29
  __exportStar(require("./user"), exports);
30
30
  __exportStar(require("./auth"), exports);
31
31
  __exportStar(require("./notification"), exports);
32
- __exportStar(require("./expense"), exports);
@@ -1,5 +1,4 @@
1
1
  export interface IProperty {
2
- id: string;
3
2
  address: string;
4
3
  city: string;
5
4
  state: string;
@@ -0,0 +1,9 @@
1
+ import { IProperty } from "../property";
2
+ export interface IExpense {
3
+ id?: string;
4
+ name?: string;
5
+ price?: number;
6
+ date?: Date;
7
+ property: IProperty;
8
+ image_url?: string;
9
+ }
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "@royalinvest/dto",
3
- "version": "0.2.13",
4
- "description": "Data Transfer Objects (DTOs) to carry data between frontend and backend processes.",
5
- "main": "./src/index.ts",
6
- "types": "./dist/index.d.ts",
7
- "module": "./dist/index.js",
8
- "exports": {
9
- ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js"
12
- }
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git@ssh.dev.azure.com:v3/royalinvest/royalinvest/royalinvestserver"
17
- },
18
- "files": [
19
- "./dist"
20
- ],
21
- "publishConfig": {
22
- "access": "public"
23
- },
24
- "scripts": {
25
- "build": "npm run clean && npx tsc",
26
- "clean": "rm -rf ./dist",
27
- "test": "echo \"Error: no test specified\" && exit 1"
28
- },
29
- "author": "Samos Technologies Inc.",
30
- "license": "ISC",
31
- "dependencies": {}
32
- }
1
+ {
2
+ "name": "@royalinvest/dto",
3
+ "version": "0.3.0",
4
+ "description": "Data Transfer Objects (DTOs) to carry data between frontend and backend processes.",
5
+ "main": "./src/index.ts",
6
+ "types": "./dist/index.d.ts",
7
+ "module": "./dist/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ }
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git@ssh.dev.azure.com:v3/royalinvest/royalinvest/royalinvestserver"
17
+ },
18
+ "files": [
19
+ "./dist"
20
+ ],
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "scripts": {
25
+ "build": "npm run clean && npx tsc",
26
+ "clean": "rm -rf ./dist",
27
+ "test": "echo \"Error: no test specified\" && exit 1"
28
+ },
29
+ "author": "Samos Technologies Inc.",
30
+ "license": "ISC",
31
+ "dependencies": {}
32
+ }
package/readMe.md CHANGED
@@ -1 +1 @@
1
- # This is Royal Invest DTO package to share data between frontend and backend processes.
1
+ # This is Royal Invest DTO package to share data between frontend and backend processes.
package/dist/expense.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import { IProperty } from "./property";
2
- export interface IExpense {
3
- id?: string;
4
- name: string;
5
- amount: number;
6
- date: Date;
7
- property?: IProperty;
8
- file_name?: string;
9
- }
package/dist/sort.d.ts DELETED
@@ -1 +0,0 @@
1
- export type SortType = "asc" | "desc";
package/dist/sort.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });