@colisweb/rescript-toolkit 2.4.1 → 2.5.0

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": "2.4.1",
3
+ "version": "2.5.0",
4
4
  "scripts": {
5
5
  "clean": "rescript clean",
6
6
  "build": "rescript build",
@@ -285,3 +285,8 @@ module StringArray = {
285
285
  @decco
286
286
  type t<'a> = @decco.codec((encoder, decoder)) array<'a>
287
287
  }
288
+
289
+ module SortOrder = Enum({
290
+ @deriving(jsConverter)
291
+ type enum = [#asc | #desc]
292
+ })