@effect/platform 0.69.19 → 0.69.20
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/README.md +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -276,7 +276,7 @@ class MyApi extends HttpApi.empty.add(UsersApi) {}
|
|
|
276
276
|
// --------------------------------------------
|
|
277
277
|
|
|
278
278
|
// the `HttpApiBuilder.group` api returns a `Layer`
|
|
279
|
-
const UsersApiLive: Layer.Layer<HttpApiGroup.
|
|
279
|
+
const UsersApiLive: Layer.Layer<HttpApiGroup.ApiGroup<"users">> =
|
|
280
280
|
HttpApiBuilder.group(MyApi, "users", (handlers) =>
|
|
281
281
|
handlers
|
|
282
282
|
// the parameters & payload are passed to the handler function.
|
|
@@ -307,7 +307,7 @@ class UsersRepository extends Context.Tag("UsersRepository")<
|
|
|
307
307
|
|
|
308
308
|
// the dependencies will show up in the resulting `Layer`
|
|
309
309
|
const UsersApiLive: Layer.Layer<
|
|
310
|
-
HttpApiGroup.
|
|
310
|
+
HttpApiGroup.ApiGroup<"users">,
|
|
311
311
|
never,
|
|
312
312
|
UsersRepository
|
|
313
313
|
> = HttpApiBuilder.group(MyApi, "users", (handlers) =>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/platform",
|
|
3
|
-
"version": "0.69.
|
|
3
|
+
"version": "0.69.20",
|
|
4
4
|
"description": "Unified interfaces for common platform-specific services",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"multipasta": "^0.2.5"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"effect": "^3.10.
|
|
17
|
+
"effect": "^3.10.13"
|
|
18
18
|
},
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"provenance": true
|