chore: upgrade Effect to beta.98 (#37498)
This commit is contained in:
parent
b26d948b76
commit
44f7bb71c1
37 changed files with 316 additions and 138 deletions
|
|
@ -1,5 +1,5 @@
|
|||
diff --git a/dist/unstable/httpapi/HttpApiSchema.js b/dist/unstable/httpapi/HttpApiSchema.js
|
||||
index ecb6603d1ee4e89e92174b3a1100e8c9c720b3f3..08b832b6b3e9e4d10df156eca36b16f571f67f6e 100644
|
||||
index c51851b..2100420 100644
|
||||
--- a/dist/unstable/httpapi/HttpApiSchema.js
|
||||
+++ b/dist/unstable/httpapi/HttpApiSchema.js
|
||||
@@ -151,7 +151,7 @@ export const StreamSse = options => {
|
||||
|
|
@ -27,10 +27,10 @@ index ecb6603d1ee4e89e92174b3a1100e8c9c720b3f3..08b832b6b3e9e4d10df156eca36b16f5
|
|||
* Creates a streaming `Uint8Array` success response schema.
|
||||
*
|
||||
diff --git a/src/unstable/httpapi/HttpApiSchema.ts b/src/unstable/httpapi/HttpApiSchema.ts
|
||||
index f2920365cf0328146523ce2e2dba04d6a8809a4a..5482d635cdf01a72063ff683d244fab891910211 100644
|
||||
index aae6cd5..f05e3ed 100644
|
||||
--- a/src/unstable/httpapi/HttpApiSchema.ts
|
||||
+++ b/src/unstable/httpapi/HttpApiSchema.ts
|
||||
@@ -433,7 +433,7 @@ export const StreamSse: {
|
||||
@@ -407,7 +407,7 @@ export const StreamSse: {
|
||||
const events = options.events ?? (options.data === undefined ? undefined : Schema.Struct({
|
||||
id: Schema.UndefinedOr(Schema.String),
|
||||
event: Schema.String,
|
||||
|
|
@ -39,7 +39,7 @@ index f2920365cf0328146523ce2e2dba04d6a8809a4a..5482d635cdf01a72063ff683d244fab8
|
|||
}))
|
||||
if (events === undefined) {
|
||||
throw new Error("StreamSse requires either an events schema or a data schema")
|
||||
@@ -449,6 +449,15 @@ export const StreamSse: {
|
||||
@@ -423,6 +423,15 @@ export const StreamSse: {
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue