react-native-steerpath-smart-map 1.14.2 → 1.15.2
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/CHANGELOG.md +10 -0
- package/android/bin/build.gradle +1 -1
- package/android/build.gradle +1 -1
- package/dist/SmartMapViewProps.d.ts +60 -1
- package/dist/SmartMapViewProps.js +2 -0
- package/package.json +1 -1
- package/src/SmartMapViewProps.ts +62 -1
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,16 @@ This package is built on top of Steerpath's Smart SDK, and most of releases are
|
|
|
15
15
|
- [iOS](https://s3-eu-west-1.amazonaws.com/steerpath/ios/releases/smart-sdk-changelog/index.html)
|
|
16
16
|
- [Web](https://s3-eu-west-1.amazonaws.com/steerpath-web-sdk/documentation/smart/latest/index.html)
|
|
17
17
|
|
|
18
|
+
# [1.15.2]
|
|
19
|
+
|
|
20
|
+
- Fix some SmartMapObject typings
|
|
21
|
+
|
|
22
|
+
# [1.15.1]
|
|
23
|
+
|
|
24
|
+
- Improve SmartMapObject typings
|
|
25
|
+
|
|
26
|
+
## [1.15.0]
|
|
27
|
+
- Bump Android Smart SDK to android-smart-1.14.3
|
|
18
28
|
## [1.14.2] - 2022-02-16
|
|
19
29
|
|
|
20
30
|
- Bump iOS Smart SDK version to 1.15.11
|
package/android/bin/build.gradle
CHANGED
|
@@ -59,7 +59,7 @@ repositories {
|
|
|
59
59
|
|
|
60
60
|
dependencies {
|
|
61
61
|
implementation "com.facebook.react:react-native:${safeExtGet('reactnativeVersion', '+')}"
|
|
62
|
-
implementation "com.steerpath:smart:android-smart-1.
|
|
62
|
+
implementation "com.steerpath:smart:android-smart-1.14.2"
|
|
63
63
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
64
64
|
implementation "androidx.lifecycle:lifecycle-viewmodel:2.2.0"
|
|
65
65
|
}
|
package/android/build.gradle
CHANGED
|
@@ -59,7 +59,7 @@ repositories {
|
|
|
59
59
|
|
|
60
60
|
dependencies {
|
|
61
61
|
implementation "com.facebook.react:react-native:${safeExtGet('reactnativeVersion', '+')}"
|
|
62
|
-
implementation "com.steerpath:smart:android-smart-1.14.
|
|
62
|
+
implementation "com.steerpath:smart:android-smart-1.14.3"
|
|
63
63
|
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
|
|
64
64
|
implementation "androidx.lifecycle:lifecycle-viewmodel:2.2.0"
|
|
65
65
|
}
|
|
@@ -109,6 +109,19 @@ export declare enum SmartMapUserTaskResponse {
|
|
|
109
109
|
UNSUPPORTED = "unsupported",
|
|
110
110
|
COMPLETED = "completed"
|
|
111
111
|
}
|
|
112
|
+
export interface LinkProperty {
|
|
113
|
+
title: string;
|
|
114
|
+
url: string;
|
|
115
|
+
}
|
|
116
|
+
export interface ImageProperty {
|
|
117
|
+
title: string;
|
|
118
|
+
url: string;
|
|
119
|
+
}
|
|
120
|
+
export declare type BookingIntegration = {
|
|
121
|
+
integrationType: string;
|
|
122
|
+
integrationRef: string;
|
|
123
|
+
};
|
|
124
|
+
export declare type OccupancyIntegrations = BookingIntegration;
|
|
112
125
|
export interface SmartMapObject {
|
|
113
126
|
latitude: number;
|
|
114
127
|
longitude: number;
|
|
@@ -116,7 +129,53 @@ export interface SmartMapObject {
|
|
|
116
129
|
localRef: string;
|
|
117
130
|
buildingRef: string;
|
|
118
131
|
title: string;
|
|
119
|
-
properties:
|
|
132
|
+
properties: {
|
|
133
|
+
bookingIntegrations?: BookingIntegration[];
|
|
134
|
+
occupancyIntegrations?: OccupancyIntegrations[];
|
|
135
|
+
buildingRef: string;
|
|
136
|
+
calendarRef?: string;
|
|
137
|
+
capacity?: number;
|
|
138
|
+
cateringEmail?: string;
|
|
139
|
+
css_class: string;
|
|
140
|
+
description?: string;
|
|
141
|
+
'description:fi?': string;
|
|
142
|
+
'description:nb?': string;
|
|
143
|
+
'description:sv?': string;
|
|
144
|
+
'description:en?': string;
|
|
145
|
+
images?: ImageProperty[];
|
|
146
|
+
'images:fi'?: ImageProperty[];
|
|
147
|
+
'images:sv'?: ImageProperty[];
|
|
148
|
+
'images:nb'?: ImageProperty[];
|
|
149
|
+
'images:en'?: ImageProperty[];
|
|
150
|
+
integrationRef?: string;
|
|
151
|
+
layerIndex: number;
|
|
152
|
+
links?: LinkProperty[];
|
|
153
|
+
'links:fi'?: LinkProperty[];
|
|
154
|
+
'links:sv'?: LinkProperty[];
|
|
155
|
+
'links:nb'?: LinkProperty[];
|
|
156
|
+
'links:en'?: LinkProperty[];
|
|
157
|
+
localRef?: string;
|
|
158
|
+
occupancy?: string;
|
|
159
|
+
parentRef?: string;
|
|
160
|
+
resourceType?: string;
|
|
161
|
+
subType?: string;
|
|
162
|
+
amenities?: string[];
|
|
163
|
+
tags?: string[];
|
|
164
|
+
keywords?: string[];
|
|
165
|
+
'keywords:fi'?: string[];
|
|
166
|
+
'keywords:sv'?: string[];
|
|
167
|
+
'keywords:nb'?: string[];
|
|
168
|
+
'keywords:en'?: string[];
|
|
169
|
+
title: string;
|
|
170
|
+
'title:fi'?: string;
|
|
171
|
+
'title:sv'?: string;
|
|
172
|
+
'title:nb'?: string;
|
|
173
|
+
'title:en'?: string;
|
|
174
|
+
sp_maximum_advance_booking_hours_normal_user?: number;
|
|
175
|
+
sp_maximum_booking_hours_normal_user?: number;
|
|
176
|
+
sp_maximum_advance_booking_hours_power_user?: number;
|
|
177
|
+
sp_maximum_booking_hours_power_user?: number;
|
|
178
|
+
};
|
|
120
179
|
source: SmartObjectSource;
|
|
121
180
|
}
|
|
122
181
|
export interface SmartViewWebProps {
|
|
@@ -67,6 +67,8 @@ export var SmartMapUserTaskResponse;
|
|
|
67
67
|
SmartMapUserTaskResponse["UNSUPPORTED"] = "unsupported";
|
|
68
68
|
SmartMapUserTaskResponse["COMPLETED"] = "completed";
|
|
69
69
|
})(SmartMapUserTaskResponse || (SmartMapUserTaskResponse = {}));
|
|
70
|
+
;
|
|
71
|
+
;
|
|
70
72
|
export var SmartMapUserTaskType;
|
|
71
73
|
(function (SmartMapUserTaskType) {
|
|
72
74
|
SmartMapUserTaskType["NAVIGATION"] = "navigation";
|
package/package.json
CHANGED
package/src/SmartMapViewProps.ts
CHANGED
|
@@ -172,6 +172,21 @@ export enum SmartMapUserTaskResponse {
|
|
|
172
172
|
UNSUPPORTED = "unsupported",
|
|
173
173
|
COMPLETED = "completed",
|
|
174
174
|
}
|
|
175
|
+
export interface LinkProperty {
|
|
176
|
+
title: string;
|
|
177
|
+
url: string;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
export interface ImageProperty {
|
|
181
|
+
title: string;
|
|
182
|
+
url: string;
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export type BookingIntegration = {
|
|
186
|
+
integrationType: string;
|
|
187
|
+
integrationRef: string;
|
|
188
|
+
}
|
|
189
|
+
export type OccupancyIntegrations = BookingIntegration;
|
|
175
190
|
|
|
176
191
|
export interface SmartMapObject {
|
|
177
192
|
latitude: number;
|
|
@@ -180,7 +195,53 @@ export interface SmartMapObject {
|
|
|
180
195
|
localRef: string;
|
|
181
196
|
buildingRef: string;
|
|
182
197
|
title: string;
|
|
183
|
-
properties:
|
|
198
|
+
properties: {
|
|
199
|
+
bookingIntegrations?: BookingIntegration[];
|
|
200
|
+
occupancyIntegrations?: OccupancyIntegrations[];
|
|
201
|
+
buildingRef: string;
|
|
202
|
+
calendarRef?: string;
|
|
203
|
+
capacity?: number;
|
|
204
|
+
cateringEmail?: string;
|
|
205
|
+
css_class: string;
|
|
206
|
+
description?: string;
|
|
207
|
+
'description:fi?': string;
|
|
208
|
+
'description:nb?': string;
|
|
209
|
+
'description:sv?': string;
|
|
210
|
+
'description:en?': string;
|
|
211
|
+
images?: ImageProperty[];
|
|
212
|
+
'images:fi'?: ImageProperty[];
|
|
213
|
+
'images:sv'?: ImageProperty[];
|
|
214
|
+
'images:nb'?: ImageProperty[];
|
|
215
|
+
'images:en'?: ImageProperty[];
|
|
216
|
+
integrationRef?: string;
|
|
217
|
+
layerIndex: number;
|
|
218
|
+
links?: LinkProperty[];
|
|
219
|
+
'links:fi'?: LinkProperty[];
|
|
220
|
+
'links:sv'?: LinkProperty[];
|
|
221
|
+
'links:nb'?: LinkProperty[];
|
|
222
|
+
'links:en'?: LinkProperty[];
|
|
223
|
+
localRef?: string;
|
|
224
|
+
occupancy?: string;
|
|
225
|
+
parentRef?: string;
|
|
226
|
+
resourceType?: string;
|
|
227
|
+
subType?: string;
|
|
228
|
+
amenities?: string[];
|
|
229
|
+
tags?: string[];
|
|
230
|
+
keywords?: string[];
|
|
231
|
+
'keywords:fi'?: string[];
|
|
232
|
+
'keywords:sv'?: string[];
|
|
233
|
+
'keywords:nb'?: string[];
|
|
234
|
+
'keywords:en'?: string[];
|
|
235
|
+
title: string;
|
|
236
|
+
'title:fi'?: string;
|
|
237
|
+
'title:sv'?: string;
|
|
238
|
+
'title:nb'?: string;
|
|
239
|
+
'title:en'?: string;
|
|
240
|
+
sp_maximum_advance_booking_hours_normal_user?: number;
|
|
241
|
+
sp_maximum_booking_hours_normal_user?: number;
|
|
242
|
+
sp_maximum_advance_booking_hours_power_user?: number;
|
|
243
|
+
sp_maximum_booking_hours_power_user?: number;
|
|
244
|
+
}
|
|
184
245
|
source: SmartObjectSource;
|
|
185
246
|
}
|
|
186
247
|
|