hububb-models 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "hububb-models",
3
+ "version": "1.0.0",
4
+ "description": "Models for Hububb application",
5
+ "main": "index.js",
6
+ "types": "./src/index.d.ts",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1"
9
+ },
10
+ "author": "Exelerate",
11
+ "license": "ISC",
12
+ "dependencies": {
13
+ "@firebase/firestore-types": "^2.5.0",
14
+ "@firebase/util": "^1.2.0"
15
+ },
16
+ "devDependencies": {
17
+ "typescript": "^4.3.5"
18
+ }
19
+ }
package/src/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export type { Listing } from "./models/listing";
package/src/index.js ADDED
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ exports.__esModule = true;
package/src/index.ts ADDED
@@ -0,0 +1 @@
1
+ export type { Listing } from "./models/listing";
@@ -0,0 +1,5 @@
1
+ import { Timestamp } from "@firebase/firestore-types";
2
+
3
+ export interface Listing {
4
+ id?: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ exports.__esModule = true;
@@ -0,0 +1,5 @@
1
+ import { Timestamp } from "@firebase/firestore-types";
2
+
3
+ export interface Listing {
4
+ id?: string;
5
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "es6",
4
+ "module": "commonjs",
5
+ "declaration": true,
6
+ "outDir": "./dist",
7
+ "rootDir": "./src",
8
+ "strict": true
9
+ }
10
+ }