resurgence-data 1.0.10 → 1.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
1
1
  export * from "./authentication.data";
2
2
  export * from "./authentication.dto";
3
3
  export * from "./invite.dto";
4
+ export * from "./invite.data";
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./authentication.data"), exports);
18
18
  __exportStar(require("./authentication.dto"), exports);
19
19
  __exportStar(require("./invite.dto"), exports);
20
+ __exportStar(require("./invite.data"), exports);
@@ -0,0 +1,10 @@
1
+ export interface InviteCreateModel {
2
+ userId: string;
3
+ emailAddress: string;
4
+ billerId: string;
5
+ token: string;
6
+ status?: string;
7
+ }
8
+ export interface InviteUpdateModel extends InviteCreateModel {
9
+ id: string;
10
+ }
@@ -1 +1,2 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,12 +1,19 @@
1
1
  {
2
2
  "name": "resurgence-data",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "DTOs and shareable resources",
5
+ "module": "dist/index.js",
5
6
  "main": "dist/index.js",
6
7
  "types": "dist/index.d.ts",
7
8
  "files": [
8
9
  "dist"
9
10
  ],
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.js",
14
+ "require": "./dist/index.js"
15
+ }
16
+ },
10
17
  "scripts": {
11
18
  "build": "tsc",
12
19
  "test": "jest"