@effect-app/infra 2.21.4 → 2.22.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.
@@ -196,18 +196,21 @@ export interface VoidMethod<
196
196
  ): HandleVoid<
197
197
  GetSuccessShape<Rsc[K], RT>,
198
198
  A,
199
- keyof { [k in keyof Rsc as k extends K | keyof Accum ? never : k]: Rsc[k] } extends never ?
200
- & {
201
- [k in K]: Handler<
202
- Rsc[K],
203
- RT,
204
- Exclude<
205
- Context | Exclude<R2, GetEffectContext<CTXMap, Rsc[K]["config"]>>,
206
- HttpRouter.HttpRouter.Provided
199
+ keyof { [k in keyof Rsc as k extends K | keyof Accum ? never : k]: Rsc[k] } extends never ? {
200
+ /** @deprecated these are the finalized routes, nothing to see here */
201
+ ಠ_ಠ:
202
+ & {
203
+ [k in K]: Handler<
204
+ Rsc[K],
205
+ RT,
206
+ Exclude<
207
+ Context | Exclude<R2, GetEffectContext<CTXMap, Rsc[K]["config"]>>,
208
+ HttpRouter.HttpRouter.Provided
209
+ >
207
210
  >
208
- >
209
- }
210
- & Accum
211
+ }
212
+ & Accum
213
+ }
211
214
  : RRouter<
212
215
  { [k in keyof Rsc as k extends K | keyof Accum ? never : k]: Rsc[k] },
213
216
  CTXMap,
@@ -230,18 +233,21 @@ export interface VoidMethod<
230
233
  ): HandleVoid<
231
234
  GetSuccessShape<Rsc[K], RT>,
232
235
  A,
233
- keyof { [k in keyof Rsc as k extends K | keyof Accum ? never : k]: Rsc[k] } extends never ?
234
- & {
235
- [k in K]: Handler<
236
- Rsc[K],
237
- RT,
238
- Exclude<
239
- Context | Exclude<R2, GetEffectContext<CTXMap, Rsc[K]["config"]>>,
240
- HttpRouter.HttpRouter.Provided
236
+ keyof { [k in keyof Rsc as k extends K | keyof Accum ? never : k]: Rsc[k] } extends never ? {
237
+ /** @deprecated these are the finalized routes, nothing to see here */
238
+ ಠ_ಠ:
239
+ & {
240
+ [k in K]: Handler<
241
+ Rsc[K],
242
+ RT,
243
+ Exclude<
244
+ Context | Exclude<R2, GetEffectContext<CTXMap, Rsc[K]["config"]>>,
245
+ HttpRouter.HttpRouter.Provided
246
+ >
241
247
  >
242
- >
243
- }
244
- & Accum
248
+ }
249
+ & Accum
250
+ }
245
251
  : RRouter<
246
252
  { [k in keyof Rsc as k extends K | keyof Accum ? never : k]: Rsc[k] },
247
253
  CTXMap,