@colisweb/rescript-toolkit 5.17.0 → 5.17.3

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/locale/fr.json CHANGED
@@ -190,9 +190,9 @@
190
190
  "message": "Dimanche"
191
191
  },
192
192
  {
193
- "id": "_aeda5684",
194
- "defaultMessage": "Doit etre un entier strictement positif",
195
- "message": "Doit etre un entier strictement positif"
193
+ "id": "_af0b8e9c",
194
+ "defaultMessage": "Doit être un entier strictement positif",
195
+ "message": "Doit être un entier strictement positif"
196
196
  },
197
197
  {
198
198
  "id": "_b766f5f3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "5.17.0",
3
+ "version": "5.17.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -57,6 +57,7 @@
57
57
  "postcss": "8.4.33",
58
58
  "postcss-preset-env": "8.0.1",
59
59
  "prismjs": "1.29.0",
60
+ "qs": "6.13.0",
60
61
  "react": "18.2.0",
61
62
  "react-big-calendar": "1.5.2",
62
63
  "react-datepicker": "3.8.0",
@@ -1,8 +1,15 @@
1
1
  @module("qs") external stringify: Js.t<'a> => string = "stringify"
2
2
 
3
+ type arrayFormat =
4
+ | @as("indices") Indices
5
+ | @as("comma") Comma
6
+ | @as("brackets") Brackets
7
+ | @as("repeat") Repeat
8
+
3
9
  type params = {
4
10
  addQueryPrefix?: bool,
5
11
  serializeDate?: Js.Date.t => string,
12
+ arrayFormat?: arrayFormat,
6
13
  }
7
14
  @obj
8
15
  external makeParams: (