@weekendgoals/weekendgoals-types 1.511.6660260251 → 1.518.6675686901
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/attractions/attractions.d.ts +7 -5
- package/dist/attractions/attractions.d.ts.map +1 -1
- package/dist/attractions/index.d.ts +1 -0
- package/dist/attractions/index.d.ts.map +1 -1
- package/dist/attractions/index.js +1 -0
- package/dist/attractions/index.js.map +1 -1
- package/dist/attractions/scraped-attraction.d.ts +12 -0
- package/dist/attractions/scraped-attraction.d.ts.map +1 -0
- package/dist/attractions/scraped-attraction.js +3 -0
- package/dist/attractions/scraped-attraction.js.map +1 -0
- package/package.json +1 -1
|
@@ -2,18 +2,20 @@ export interface Location {
|
|
|
2
2
|
type: string;
|
|
3
3
|
coordinates: number[];
|
|
4
4
|
}
|
|
5
|
+
export interface Address {
|
|
6
|
+
street?: string;
|
|
7
|
+
area?: string;
|
|
8
|
+
city?: string;
|
|
9
|
+
country?: string;
|
|
10
|
+
}
|
|
5
11
|
export interface Attraction {
|
|
6
12
|
_id?: string;
|
|
7
13
|
hash?: string;
|
|
8
14
|
name?: string;
|
|
9
|
-
timezone?: string;
|
|
10
15
|
location?: Location;
|
|
11
16
|
imageUrl?: string;
|
|
12
17
|
imageAttribution?: string;
|
|
13
|
-
address?:
|
|
14
|
-
area?: string;
|
|
15
|
-
city?: string;
|
|
16
|
-
country?: string;
|
|
18
|
+
address?: Address;
|
|
17
19
|
createdAt?: string;
|
|
18
20
|
updatedAt?: string;
|
|
19
21
|
type?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attractions.d.ts","sourceRoot":"","sources":["../../src/attractions/attractions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"attractions.d.ts","sourceRoot":"","sources":["../../src/attractions/attractions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,OAAO;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/attractions/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/attractions/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./attractions"), exports);
|
|
18
|
+
__exportStar(require("./scraped-attraction"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/attractions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/attractions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,uDAAqC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Location } from "./attractions";
|
|
2
|
+
import { Address } from "./attractions";
|
|
3
|
+
export interface ScrapedAttraction {
|
|
4
|
+
hash?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
location?: Location;
|
|
7
|
+
address?: Address;
|
|
8
|
+
description?: string;
|
|
9
|
+
type?: string;
|
|
10
|
+
venueId?: string;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=scraped-attraction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraped-attraction.d.ts","sourceRoot":"","sources":["../../src/attractions/scraped-attraction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraped-attraction.js","sourceRoot":"","sources":["../../src/attractions/scraped-attraction.ts"],"names":[],"mappings":""}
|