@reventlessdev/online-shop-aggregates-catalog-spec 3.0.0-alpha.138 → 3.0.0-alpha.140
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 +15 -0
- package/lib/bs/.compiler.log +2 -2
- package/lib/bs/CatalogSpec.cmi +0 -0
- package/lib/bs/CatalogSpec.cmt +0 -0
- package/lib/bs/CatalogSpec.mlmap +1 -0
- package/lib/bs/compiler-info.json +4 -4
- package/lib/bs/src/ProductId-CatalogSpec.cmi +0 -0
- package/lib/bs/src/ProductId-CatalogSpec.cmj +0 -0
- package/lib/bs/src/ProductId-CatalogSpec.cmt +0 -0
- package/lib/bs/src/ProductId.ast +0 -0
- package/lib/bs/src/ProductId.res +5 -0
- package/lib/bs/src/ProductId.res.mjs +29 -0
- package/lib/bs/src/Products_ExtensionPoint-CatalogSpec.cmi +0 -0
- package/lib/bs/src/Products_ExtensionPoint-CatalogSpec.cmt +0 -0
- package/lib/bs/src/Products_ExtensionPoint.ast +0 -0
- package/lib/bs/src/Products_ExtensionPoint.res +2 -2
- package/lib/bs/src/Products_ExtensionPoint.res.mjs +5 -4
- package/lib/ocaml/.compiler.log +2 -2
- package/lib/ocaml/CatalogSpec.cmi +0 -0
- package/lib/ocaml/CatalogSpec.cmt +0 -0
- package/lib/ocaml/CatalogSpec.mlmap +1 -0
- package/lib/ocaml/ProductId-CatalogSpec.cmi +0 -0
- package/lib/ocaml/ProductId-CatalogSpec.cmj +0 -0
- package/lib/ocaml/ProductId-CatalogSpec.cmt +0 -0
- package/lib/ocaml/ProductId.ast +0 -0
- package/lib/ocaml/ProductId.res +5 -0
- package/lib/ocaml/Products_ExtensionPoint-CatalogSpec.cmi +0 -0
- package/lib/ocaml/Products_ExtensionPoint-CatalogSpec.cmt +0 -0
- package/lib/ocaml/Products_ExtensionPoint.ast +0 -0
- package/lib/ocaml/Products_ExtensionPoint.res +2 -2
- package/package.json +7 -7
- package/rescript.json +2 -1
- package/src/ProductId.res +5 -0
- package/src/ProductId.res.mjs +29 -0
- package/src/Products_ExtensionPoint.res +2 -2
- package/src/Products_ExtensionPoint.res.mjs +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 3.0.0-alpha.140 (2026-09-21)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **deps:** update rescript to 12.3.1 ([ea1ce37](https://github.com/ReventlessDev/reventless-core/commit/ea1ce377297640f6d0d360e6c84c778d59ecbcc5))
|
|
11
|
+
* **deps:** update sury to 11.0.0 ([8715b22](https://github.com/ReventlessDev/reventless-core/commit/8715b22b33856c46ba57518aad151065c123a995))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# 3.0.0-alpha.139 (2026-09-21)
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **examples:** the aggregates example types its ids ([10795b4](https://github.com/ReventlessDev/reventless-core/commit/10795b40e4991e7255c851ef9b37f2f1836da613))
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
# 3.0.0-alpha.138 (2026-09-21)
|
|
7
22
|
|
|
8
23
|
**Note:** Version bump only for package @reventlessdev/online-shop-aggregates-catalog-spec
|
package/lib/bs/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1790002876067)
|
|
2
|
+
#Done(1790002882099)
|
package/lib/bs/CatalogSpec.cmi
CHANGED
|
Binary file
|
package/lib/bs/CatalogSpec.cmt
CHANGED
|
Binary file
|
package/lib/bs/CatalogSpec.mlmap
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "12.3.
|
|
2
|
+
"version": "12.3.1",
|
|
3
3
|
"bsc_path": "/home/runner/work/reventless-core/reventless-core/node_modules/@rescript/linux-x64/bin/bsc.exe",
|
|
4
|
-
"bsc_hash": "
|
|
5
|
-
"rescript_config_hash": "
|
|
4
|
+
"bsc_hash": "1006241435e8d5052329c523202a7fe6359a37e1e1688c023d37d6a7ebb5fb6d",
|
|
5
|
+
"rescript_config_hash": "73af29ea11dece07ea98a7d2fa74753296e60e0ef7e96b352ad7c59a264b2736",
|
|
6
6
|
"runtime_path": "/home/runner/work/reventless-core/reventless-core/node_modules/@rescript/runtime",
|
|
7
|
-
"generated_at": "
|
|
7
|
+
"generated_at": "1790002882112"
|
|
8
8
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
|
+
|
|
3
|
+
import * as Id$Reventless from "@reventlessdev/reventless-spec/src/types/Id.res.mjs";
|
|
4
|
+
|
|
5
|
+
let include = Id$Reventless.Make({
|
|
6
|
+
key: "productId"
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
let schema = include.schema;
|
|
10
|
+
|
|
11
|
+
let make = include.make;
|
|
12
|
+
|
|
13
|
+
let makeFromString = include.makeFromString;
|
|
14
|
+
|
|
15
|
+
let toString = include.toString;
|
|
16
|
+
|
|
17
|
+
let cmp = include.cmp;
|
|
18
|
+
|
|
19
|
+
let key = include.key;
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
schema,
|
|
23
|
+
make,
|
|
24
|
+
makeFromString,
|
|
25
|
+
toString,
|
|
26
|
+
cmp,
|
|
27
|
+
key,
|
|
28
|
+
}
|
|
29
|
+
/* include Not a pure module */
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -8,8 +8,8 @@ type command = unit // read-only: no inbound commands
|
|
|
8
8
|
|
|
9
9
|
@schema
|
|
10
10
|
type event =
|
|
11
|
-
| ProductBecameAvailable({productId:
|
|
12
|
-
| ProductPriceChanged({productId:
|
|
11
|
+
| ProductBecameAvailable({productId: ProductId.t, name: string, price: float})
|
|
12
|
+
| ProductPriceChanged({productId: ProductId.t, price: float})
|
|
13
13
|
|
|
14
14
|
@schema
|
|
15
15
|
type directive = unit
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
2
|
|
|
3
3
|
import * as Sury from "sury";
|
|
4
|
+
import * as ProductId$CatalogSpec from "./ProductId.res.mjs";
|
|
4
5
|
|
|
5
6
|
let commandSchema = Sury.$unit;
|
|
6
7
|
|
|
7
8
|
let eventSchema = Sury.union([
|
|
8
9
|
Sury.$schema(s => ({
|
|
9
10
|
TAG: "ProductBecameAvailable",
|
|
10
|
-
productId: s.m(
|
|
11
|
+
productId: s.m(ProductId$CatalogSpec.schema),
|
|
11
12
|
name: s.m(Sury.string),
|
|
12
|
-
price: s.m(Sury.
|
|
13
|
+
price: s.m(Sury.number)
|
|
13
14
|
})),
|
|
14
15
|
Sury.$schema(s => ({
|
|
15
16
|
TAG: "ProductPriceChanged",
|
|
16
|
-
productId: s.m(
|
|
17
|
-
price: s.m(Sury.
|
|
17
|
+
productId: s.m(ProductId$CatalogSpec.schema),
|
|
18
|
+
price: s.m(Sury.number)
|
|
18
19
|
}))
|
|
19
20
|
]);
|
|
20
21
|
|
package/lib/ocaml/.compiler.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Start(
|
|
2
|
-
#Done(
|
|
1
|
+
#Start(1790002876067)
|
|
2
|
+
#Done(1790002882099)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -8,8 +8,8 @@ type command = unit // read-only: no inbound commands
|
|
|
8
8
|
|
|
9
9
|
@schema
|
|
10
10
|
type event =
|
|
11
|
-
| ProductBecameAvailable({productId:
|
|
12
|
-
| ProductPriceChanged({productId:
|
|
11
|
+
| ProductBecameAvailable({productId: ProductId.t, name: string, price: float})
|
|
12
|
+
| ProductPriceChanged({productId: ProductId.t, price: float})
|
|
13
13
|
|
|
14
14
|
@schema
|
|
15
15
|
type directive = unit
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reventlessdev/online-shop-aggregates-catalog-spec",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.140",
|
|
4
4
|
"description": "Online Shop example — Catalog plugin specification (extension point specs)",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"sury": "11.0.0
|
|
8
|
-
"@reventlessdev/reventless-spec": "3.0.0-alpha.
|
|
7
|
+
"sury": "11.0.0",
|
|
8
|
+
"@reventlessdev/reventless-spec": "3.0.0-alpha.141"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"rescript": "12.3.
|
|
12
|
-
"sury-ppx": "11.0.0
|
|
13
|
-
"@reventlessdev/reventless-ppx": "1.0.0-alpha.
|
|
11
|
+
"rescript": "12.3.1",
|
|
12
|
+
"sury-ppx": "11.0.0",
|
|
13
|
+
"@reventlessdev/reventless-ppx": "1.0.0-alpha.81"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"rescript": "12.3.
|
|
16
|
+
"rescript": "^12.3.1"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"registry": "https://registry.npmjs.org"
|
package/rescript.json
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
|
+
|
|
3
|
+
import * as Id$Reventless from "@reventlessdev/reventless-spec/src/types/Id.res.mjs";
|
|
4
|
+
|
|
5
|
+
let include = Id$Reventless.Make({
|
|
6
|
+
key: "productId"
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
let schema = include.schema;
|
|
10
|
+
|
|
11
|
+
let make = include.make;
|
|
12
|
+
|
|
13
|
+
let makeFromString = include.makeFromString;
|
|
14
|
+
|
|
15
|
+
let toString = include.toString;
|
|
16
|
+
|
|
17
|
+
let cmp = include.cmp;
|
|
18
|
+
|
|
19
|
+
let key = include.key;
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
schema,
|
|
23
|
+
make,
|
|
24
|
+
makeFromString,
|
|
25
|
+
toString,
|
|
26
|
+
cmp,
|
|
27
|
+
key,
|
|
28
|
+
}
|
|
29
|
+
/* include Not a pure module */
|
|
@@ -8,8 +8,8 @@ type command = unit // read-only: no inbound commands
|
|
|
8
8
|
|
|
9
9
|
@schema
|
|
10
10
|
type event =
|
|
11
|
-
| ProductBecameAvailable({productId:
|
|
12
|
-
| ProductPriceChanged({productId:
|
|
11
|
+
| ProductBecameAvailable({productId: ProductId.t, name: string, price: float})
|
|
12
|
+
| ProductPriceChanged({productId: ProductId.t, price: float})
|
|
13
13
|
|
|
14
14
|
@schema
|
|
15
15
|
type directive = unit
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
// Generated by ReScript, PLEASE EDIT WITH CARE
|
|
2
2
|
|
|
3
3
|
import * as Sury from "sury";
|
|
4
|
+
import * as ProductId$CatalogSpec from "./ProductId.res.mjs";
|
|
4
5
|
|
|
5
6
|
let commandSchema = Sury.$unit;
|
|
6
7
|
|
|
7
8
|
let eventSchema = Sury.union([
|
|
8
9
|
Sury.$schema(s => ({
|
|
9
10
|
TAG: "ProductBecameAvailable",
|
|
10
|
-
productId: s.m(
|
|
11
|
+
productId: s.m(ProductId$CatalogSpec.schema),
|
|
11
12
|
name: s.m(Sury.string),
|
|
12
|
-
price: s.m(Sury.
|
|
13
|
+
price: s.m(Sury.number)
|
|
13
14
|
})),
|
|
14
15
|
Sury.$schema(s => ({
|
|
15
16
|
TAG: "ProductPriceChanged",
|
|
16
|
-
productId: s.m(
|
|
17
|
-
price: s.m(Sury.
|
|
17
|
+
productId: s.m(ProductId$CatalogSpec.schema),
|
|
18
|
+
price: s.m(Sury.number)
|
|
18
19
|
}))
|
|
19
20
|
]);
|
|
20
21
|
|