chore: upgrade Effect to beta.98 (#37498)

This commit is contained in:
Kit Langton 2026-07-17 10:31:27 -04:00 committed by GitHub
commit 44f7bb71c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 316 additions and 138 deletions

View file

@ -68,9 +68,7 @@ type MixedMiddlewareGroups<
SessionLocationId extends HttpApiMiddleware.AnyId,
SessionLocationService,
> =
| ReturnType<
typeof makePermissionGroup<LocationId, LocationService, SessionLocationId, SessionLocationService>
>
| ReturnType<typeof makePermissionGroup<LocationId, LocationService, SessionLocationId, SessionLocationService>>
| ReturnType<typeof makeQuestionGroup<LocationId, LocationService, SessionLocationId, SessionLocationService>>
type ApiGroups<
@ -80,7 +78,7 @@ type ApiGroups<
FormLocationService,
SessionLocationId extends HttpApiMiddleware.AnyId,
SessionLocationService,
Event extends HttpApiGroup.Any,
Event extends HttpApiGroup.Constraint,
> =
| typeof HealthGroup
| typeof ServerGroup
@ -100,7 +98,7 @@ export type Api<
FormLocationService,
SessionLocationId extends HttpApiMiddleware.AnyId,
SessionLocationService,
Event extends HttpApiGroup.Any,
Event extends HttpApiGroup.Constraint,
> = HttpApi.HttpApi<
"server",
HttpApiGroup.AddMiddleware<
@ -122,7 +120,7 @@ export type Api<
// Protocol owns middleware placement, while Server injects concrete keys so Core service identities stay downstream.
const makeApiFromGroup = <
const Group extends HttpApiGroup.Any,
const Group extends HttpApiGroup.Constraint,
LocationId extends HttpApiMiddleware.AnyId,
LocationService,
FormLocationId extends HttpApiMiddleware.AnyId,