effect 4.0.0-beta.23 → 4.0.0-beta.25

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.
Files changed (41) hide show
  1. package/dist/Effect.d.ts +1 -1
  2. package/dist/Effect.d.ts.map +1 -1
  3. package/dist/Schema.d.ts +21 -0
  4. package/dist/Schema.d.ts.map +1 -1
  5. package/dist/Schema.js +61 -17
  6. package/dist/Schema.js.map +1 -1
  7. package/dist/SchemaAST.d.ts.map +1 -1
  8. package/dist/SchemaAST.js +26 -14
  9. package/dist/SchemaAST.js.map +1 -1
  10. package/dist/SchemaRepresentation.d.ts.map +1 -1
  11. package/dist/SchemaRepresentation.js +2 -0
  12. package/dist/SchemaRepresentation.js.map +1 -1
  13. package/dist/ServiceMap.d.ts +1 -0
  14. package/dist/ServiceMap.d.ts.map +1 -1
  15. package/dist/ServiceMap.js.map +1 -1
  16. package/dist/internal/effect.js.map +1 -1
  17. package/dist/internal/schema/representation.js +1 -1
  18. package/dist/internal/schema/representation.js.map +1 -1
  19. package/dist/testing/TestClock.d.ts +2 -2
  20. package/dist/unstable/http/HttpClient.d.ts +80 -2
  21. package/dist/unstable/http/HttpClient.d.ts.map +1 -1
  22. package/dist/unstable/http/HttpClient.js +179 -1
  23. package/dist/unstable/http/HttpClient.js.map +1 -1
  24. package/dist/unstable/httpapi/HttpApi.d.ts +1 -1
  25. package/dist/unstable/httpapi/HttpApi.d.ts.map +1 -1
  26. package/dist/unstable/rpc/RpcServer.d.ts +2 -2
  27. package/dist/unstable/rpc/RpcServer.d.ts.map +1 -1
  28. package/dist/unstable/sql/SqlResolver.d.ts.map +1 -1
  29. package/dist/unstable/sql/SqlResolver.js +15 -6
  30. package/dist/unstable/sql/SqlResolver.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/Effect.ts +1 -1
  33. package/src/Schema.ts +98 -18
  34. package/src/SchemaAST.ts +24 -19
  35. package/src/SchemaRepresentation.ts +2 -0
  36. package/src/ServiceMap.ts +1 -0
  37. package/src/internal/effect.ts +2 -1
  38. package/src/internal/schema/representation.ts +1 -0
  39. package/src/unstable/http/HttpClient.ts +306 -3
  40. package/src/unstable/httpapi/HttpApi.ts +1 -1
  41. package/src/unstable/sql/SqlResolver.ts +15 -5
package/dist/Effect.d.ts CHANGED
@@ -14592,7 +14592,7 @@ export declare const forkScoped: <Arg extends Effect<any, any, any> | {
14592
14592
  }>(effectOrOptions?: Arg, options?: {
14593
14593
  readonly startImmediately?: boolean | undefined;
14594
14594
  readonly uninterruptible?: boolean | "inherit" | undefined;
14595
- } | undefined) => [Arg] extends [Effect<infer _A, infer _E, infer _R>] ? Effect<Fiber<_A, _E>, never, _R> : <A, E, R>(self: Effect<A, E, R>) => Effect<Fiber<A, E>, never, R | Scope>;
14595
+ } | undefined) => [Arg] extends [Effect<infer _A, infer _E, infer _R>] ? Effect<Fiber<_A, _E>, never, _R | Scope> : <A, E, R>(self: Effect<A, E, R>) => Effect<Fiber<A, E>, never, R | Scope>;
14596
14596
  /**
14597
14597
  * Forks the effect into a new fiber attached to the global scope. Because the
14598
14598
  * new fiber is attached to the global scope, when the fiber executing the