@colisweb/rescript-toolkit 5.9.9 → 5.9.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "5.9.9",
3
+ "version": "5.9.11",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -202,8 +202,13 @@ module Map = {
202
202
 
203
203
  @send
204
204
  external setLookAtData: (t, options) => unit = "setLookAtData"
205
+
206
+ @unboxed
207
+ type animationOption =
208
+ | Boolean(bool)
209
+ | Number(float)
205
210
  @send
206
- external setLookAtDataWithAnimateOption: (t, options, bool) => unit = "setLookAtData"
211
+ external setLookAtDataWithAnimateOption: (t, options, animationOption) => unit = "setLookAtData"
207
212
  }
208
213
 
209
214
  module Group = {
@@ -222,6 +227,12 @@ module Map = {
222
227
  external addMarker: (t, Marker.t) => unit = "addObject"
223
228
  @send
224
229
  external getBoundingBox: (t, unit) => Geo.Rect.t = "getBoundingBox"
230
+ @send
231
+ external removeAll: (t, unit) => unit = "removeAll"
232
+ @send
233
+ external removeObject: (t, object) => unit = "removeObject"
234
+ @send
235
+ external removeObjects: (t, array<object>) => unit = "removeObjects"
225
236
 
226
237
  external toObject: t => object = "%identity"
227
238
  }