@the-inkwell/shared 0.1.158 → 0.1.159

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.
@@ -18,6 +18,7 @@ __exportStar(require("./campaigns"), exports);
18
18
  __exportStar(require("./candidacies"), exports);
19
19
  __exportStar(require("./clients"), exports);
20
20
  __exportStar(require("./listViews"), exports);
21
+ __exportStar(require("./locations"), exports);
21
22
  __exportStar(require("./messages"), exports);
22
23
  __exportStar(require("./partners"), exports);
23
24
  __exportStar(require("./persons"), exports);
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@the-inkwell/shared",
3
- "version": "0.1.158",
3
+ "version": "0.1.159",
4
4
  "description": "Shared code for Inkwell",
5
5
  "license": "ISC",
6
6
  "author": "Inkwell (Rob Yedlin & Saimon Alam)",
@@ -2,6 +2,7 @@ export * from './campaigns'
2
2
  export * from './candidacies'
3
3
  export * from './clients'
4
4
  export * from './listViews'
5
+ export * from './locations'
5
6
  export * from './messages'
6
7
  export * from './partners'
7
8
  export * from './persons'
@@ -0,0 +1,28 @@
1
+ export type AdminLocationGeocodeInput = {
2
+ address?: string
3
+ placeId?: string
4
+ }
5
+
6
+ export type AdminLocationGeocodeResponse = {
7
+ lat: number
8
+ lon: number
9
+ }
10
+
11
+ export type AdminLocationReverseGeocodeInput = {
12
+ lat: number
13
+ lon: number
14
+ }
15
+
16
+ export type AdminLocationReverseGeocodeResponse = {
17
+ address: string
18
+ placeId: string
19
+ }
20
+
21
+ export type AdminLocationAutocompleteInput = {
22
+ address: string
23
+ }
24
+
25
+ export type AdminLocationAutocompleteResponse = {
26
+ placeId: string
27
+ description: string
28
+ }[]