@roomstay/core 0.0.2 → 0.0.4
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.js +17 -0
- package/dist/types/Member/IRoomstayCognitoMember.type.d.ts +4 -0
- package/dist/types/Member/IRoomstayCognitoMember.type.js +2 -0
- package/dist/types/Member/IRoomstayMember.type.d.ts +14 -0
- package/dist/types/Member/IRoomstayMember.type.js +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +18 -0
- package/package.json +6 -2
- package/src/types/index.ts +0 -1
- package/tsconfig.json +0 -16
- /package/{src/index.ts → dist/index.d.ts} +0 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types/index"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type IRoomstayMember = {
|
|
2
|
+
username: string;
|
|
3
|
+
email: string;
|
|
4
|
+
forename?: string;
|
|
5
|
+
surname?: string;
|
|
6
|
+
phoneNumber?: string;
|
|
7
|
+
address?: {
|
|
8
|
+
address?: string;
|
|
9
|
+
city?: string;
|
|
10
|
+
zip?: string;
|
|
11
|
+
country?: string;
|
|
12
|
+
};
|
|
13
|
+
bookings: string[];
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Member/IRoomstayCognitoMember.type"), exports);
|
|
18
|
+
__exportStar(require("./Member/IRoomstayMember.type"), exports);
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@roomstay/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Details shared between Roomstay libraries. Anything from Currency, to Generic types",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist/**/*"
|
|
9
|
+
],
|
|
6
10
|
"repository": "git@bitbucket.org:dijitallycom/roomstay-common.git",
|
|
7
11
|
"author": "Roomstay <help@roomstay.io>",
|
|
8
12
|
"license": "MIT",
|
|
@@ -14,7 +18,7 @@
|
|
|
14
18
|
"name": "Roomstay Core",
|
|
15
19
|
"anyBranch": true
|
|
16
20
|
},
|
|
17
|
-
"
|
|
21
|
+
"devDependencies": {
|
|
18
22
|
"np": "^7.6.2",
|
|
19
23
|
"typescript": "^4.9.3"
|
|
20
24
|
}
|
package/src/types/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const a = '';
|
package/tsconfig.json
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "es6",
|
|
4
|
-
"module": "commonjs",
|
|
5
|
-
|
|
6
|
-
"sourceMap": false,
|
|
7
|
-
"baseUrl": "src",
|
|
8
|
-
|
|
9
|
-
"declaration": true,
|
|
10
|
-
"outDir": "./dist/"
|
|
11
|
-
},
|
|
12
|
-
"paths": {
|
|
13
|
-
"@roomstay/core/types": ["types/index.ts"]
|
|
14
|
-
},
|
|
15
|
-
"exclude": ["node_modules", "**/tests/**/*"]
|
|
16
|
-
}
|
|
File without changes
|