effect 4.0.0-beta.72 → 4.0.0-beta.74
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/dist/Array.d.ts +16 -16
- package/dist/Array.js +4 -4
- package/dist/Boolean.d.ts +2 -2
- package/dist/Boolean.js +2 -2
- package/dist/Channel.d.ts +63 -63
- package/dist/Channel.js +25 -25
- package/dist/Chunk.d.ts +17 -17
- package/dist/Chunk.js +5 -5
- package/dist/Context.d.ts +3 -3
- package/dist/Context.js +1 -1
- package/dist/Cron.d.ts +4 -4
- package/dist/Cron.js +4 -4
- package/dist/Deferred.d.ts +37 -37
- package/dist/Deferred.js +13 -13
- package/dist/Duration.d.ts +6 -6
- package/dist/Duration.js +2 -2
- package/dist/Effect.d.ts +58 -58
- package/dist/Effect.js +39 -39
- package/dist/Equal.d.ts +2 -2
- package/dist/Equal.js +2 -2
- package/dist/Equivalence.d.ts +1 -1
- package/dist/Equivalence.js +1 -1
- package/dist/ExecutionPlan.d.ts +2 -2
- package/dist/ExecutionPlan.js +1 -1
- package/dist/FileSystem.d.ts +6 -6
- package/dist/FileSystem.js +2 -2
- package/dist/Function.d.ts +5 -5
- package/dist/Function.js +5 -5
- package/dist/Graph.d.ts +11 -11
- package/dist/Graph.js +5 -5
- package/dist/HKT.d.ts +1 -1
- package/dist/HashMap.d.ts +3 -3
- package/dist/HashSet.d.ts +1 -1
- package/dist/Iterable.d.ts +15 -15
- package/dist/Iterable.js +5 -5
- package/dist/Layer.d.ts +16 -16
- package/dist/Layer.js +5 -5
- package/dist/Logger.d.ts +5 -5
- package/dist/Logger.js +4 -4
- package/dist/ManagedRuntime.d.ts +2 -2
- package/dist/Match.d.ts +20 -20
- package/dist/Match.js +16 -16
- package/dist/Metric.d.ts +16 -16
- package/dist/Metric.js +3 -3
- package/dist/Option.d.ts +36 -36
- package/dist/Option.js +17 -17
- package/dist/Order.d.ts +1 -1
- package/dist/Order.js +1 -1
- package/dist/Path.d.ts +1 -1
- package/dist/Path.js +1 -1
- package/dist/Pipeable.d.ts +1 -1
- package/dist/Pipeable.js +1 -1
- package/dist/Predicate.d.ts +5 -5
- package/dist/PubSub.d.ts +9 -9
- package/dist/PubSub.js +5 -5
- package/dist/Queue.d.ts +24 -24
- package/dist/Queue.js +20 -20
- package/dist/Record.d.ts +15 -15
- package/dist/Record.js +5 -5
- package/dist/Redacted.d.ts +2 -2
- package/dist/Redacted.js +1 -1
- package/dist/Ref.d.ts +6 -6
- package/dist/Ref.js +6 -6
- package/dist/RegExp.d.ts +1 -1
- package/dist/RegExp.js +1 -1
- package/dist/Request.d.ts +4 -4
- package/dist/RequestResolver.d.ts +6 -6
- package/dist/RequestResolver.js +2 -2
- package/dist/Resource.d.ts +1 -1
- package/dist/Resource.js +1 -1
- package/dist/Result.d.ts +18 -18
- package/dist/Result.js +11 -11
- package/dist/Schedule.d.ts +44 -44
- package/dist/Schedule.js +18 -18
- package/dist/Schema.d.ts +177 -459
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +25 -25
- package/dist/Schema.js.map +1 -1
- package/dist/SchemaAST.d.ts +1 -1
- package/dist/SchemaGetter.d.ts +13 -13
- package/dist/SchemaGetter.js +12 -12
- package/dist/SchemaParser.d.ts +3 -3
- package/dist/SchemaParser.js +3 -3
- package/dist/Scope.d.ts +1 -1
- package/dist/Scope.js +1 -1
- package/dist/Sink.d.ts +5 -5
- package/dist/Sink.js +3 -3
- package/dist/Stream.d.ts +55 -55
- package/dist/Stream.js +21 -21
- package/dist/String.d.ts +5 -5
- package/dist/String.js +3 -3
- package/dist/Struct.d.ts +8 -8
- package/dist/Struct.js +3 -3
- package/dist/SynchronizedRef.d.ts +57 -57
- package/dist/SynchronizedRef.js +19 -19
- package/dist/Terminal.d.ts +1 -1
- package/dist/Terminal.js +1 -1
- package/dist/Tracer.d.ts +5 -5
- package/dist/Tracer.js +2 -2
- package/dist/Tuple.d.ts +14 -14
- package/dist/Tuple.js +6 -6
- package/dist/TxHashMap.d.ts +3 -3
- package/dist/TxHashSet.d.ts +1 -1
- package/dist/Unify.d.ts +7 -7
- package/dist/Unify.js +1 -1
- package/dist/testing/TestClock.d.ts +5 -5
- package/dist/testing/TestClock.js +4 -4
- package/dist/testing/TestConsole.d.ts +3 -3
- package/dist/testing/TestConsole.js +3 -3
- package/dist/unstable/ai/Chat.d.ts +2 -2
- package/dist/unstable/ai/Chat.js +2 -2
- package/dist/unstable/ai/EmbeddingModel.d.ts +1 -1
- package/dist/unstable/ai/IdGenerator.d.ts +2 -2
- package/dist/unstable/ai/IdGenerator.js +1 -1
- package/dist/unstable/ai/LanguageModel.d.ts +4 -4
- package/dist/unstable/ai/LanguageModel.js +1 -1
- package/dist/unstable/ai/Prompt.d.ts +15 -15
- package/dist/unstable/ai/Prompt.js +1 -1
- package/dist/unstable/ai/Telemetry.d.ts +5 -5
- package/dist/unstable/ai/Telemetry.js +2 -2
- package/dist/unstable/ai/Tokenizer.d.ts +1 -1
- package/dist/unstable/ai/Tokenizer.js +1 -1
- package/dist/unstable/ai/Tool.d.ts +6 -6
- package/dist/unstable/ai/Tool.js +6 -6
- package/dist/unstable/cli/Command.d.ts.map +1 -1
- package/dist/unstable/cli/Command.js +1 -1
- package/dist/unstable/cli/Command.js.map +1 -1
- package/dist/unstable/cli/Param.d.ts +1 -1
- package/dist/unstable/cli/Primitive.d.ts +3 -3
- package/dist/unstable/cli/Primitive.js +1 -1
- package/dist/unstable/cli/Prompt.d.ts +11 -11
- package/dist/unstable/cli/internal/parser.js +145 -10
- package/dist/unstable/cli/internal/parser.js.map +1 -1
- package/dist/unstable/cluster/Entity.d.ts +1 -1
- package/dist/unstable/cluster/Entity.js +1 -1
- package/dist/unstable/cluster/EntityResource.d.ts +1 -0
- package/dist/unstable/cluster/EntityResource.d.ts.map +1 -1
- package/dist/unstable/cluster/EntityResource.js +5 -3
- package/dist/unstable/cluster/EntityResource.js.map +1 -1
- package/dist/unstable/cluster/HttpRunner.d.ts +2 -2
- package/dist/unstable/cluster/HttpRunner.js +2 -2
- package/dist/unstable/cluster/K8sHttpClient.d.ts +1 -1
- package/dist/unstable/cluster/K8sHttpClient.js +1 -1
- package/dist/unstable/cluster/Runners.d.ts +1 -1
- package/dist/unstable/cluster/Runners.js +1 -1
- package/dist/unstable/cluster/Sharding.d.ts +1 -1
- package/dist/unstable/cluster/Sharding.js +1 -1
- package/dist/unstable/cluster/SingletonAddress.d.ts +1 -1
- package/dist/unstable/cluster/SingletonAddress.js +1 -1
- package/dist/unstable/cluster/Snowflake.d.ts +5 -5
- package/dist/unstable/cluster/Snowflake.js +5 -5
- package/dist/unstable/devtools/DevToolsClient.d.ts +1 -1
- package/dist/unstable/devtools/DevToolsClient.js +1 -1
- package/dist/unstable/eventlog/EventLog.d.ts +1 -1
- package/dist/unstable/eventlog/EventLog.js +1 -1
- package/dist/unstable/eventlog/EventLogEncryption.d.ts +1 -1
- package/dist/unstable/eventlog/EventLogEncryption.js +1 -1
- package/dist/unstable/eventlog/EventLogRemote.d.ts +1 -1
- package/dist/unstable/eventlog/EventLogRemote.js +1 -1
- package/dist/unstable/eventlog/EventLogServerUnencrypted.d.ts +3 -3
- package/dist/unstable/eventlog/EventLogServerUnencrypted.js +3 -3
- package/dist/unstable/http/Cookies.d.ts +1 -1
- package/dist/unstable/http/Etag.d.ts +1 -1
- package/dist/unstable/http/Etag.js +1 -1
- package/dist/unstable/http/FetchHttpClient.d.ts +2 -2
- package/dist/unstable/http/FetchHttpClient.js +2 -2
- package/dist/unstable/http/HttpClient.d.ts +1 -1
- package/dist/unstable/http/HttpClient.js +1 -1
- package/dist/unstable/http/HttpClientRequest.d.ts +2 -2
- package/dist/unstable/http/HttpMiddleware.d.ts +1 -1
- package/dist/unstable/http/HttpMiddleware.js +1 -1
- package/dist/unstable/http/HttpPlatform.d.ts +1 -1
- package/dist/unstable/http/HttpPlatform.js +1 -1
- package/dist/unstable/http/HttpRouter.d.ts +4 -4
- package/dist/unstable/http/HttpRouter.js +4 -4
- package/dist/unstable/http/HttpServerResponse.d.ts +3 -3
- package/dist/unstable/http/Url.d.ts +33 -33
- package/dist/unstable/http/Url.js +11 -11
- package/dist/unstable/httpapi/HttpApi.d.ts +1 -1
- package/dist/unstable/httpapi/HttpApi.js +1 -1
- package/dist/unstable/httpapi/HttpApiBuilder.js +2 -3
- package/dist/unstable/httpapi/HttpApiBuilder.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiError.d.ts +13 -13
- package/dist/unstable/httpapi/HttpApiError.js +13 -13
- package/dist/unstable/httpapi/HttpApiSecurity.d.ts +27 -5
- package/dist/unstable/httpapi/HttpApiSecurity.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiSecurity.js +26 -3
- package/dist/unstable/httpapi/HttpApiSecurity.js.map +1 -1
- package/dist/unstable/httpapi/OpenApi.js +2 -2
- package/dist/unstable/httpapi/OpenApi.js.map +1 -1
- package/dist/unstable/observability/PrometheusMetrics.d.ts +4 -4
- package/dist/unstable/observability/PrometheusMetrics.js +2 -2
- package/dist/unstable/persistence/KeyValueStore.d.ts +3 -3
- package/dist/unstable/persistence/KeyValueStore.js +1 -1
- package/dist/unstable/persistence/Persistable.d.ts +2 -2
- package/dist/unstable/persistence/Persistable.js +2 -2
- package/dist/unstable/persistence/PersistedQueue.d.ts +8 -8
- package/dist/unstable/persistence/PersistedQueue.js +8 -8
- package/dist/unstable/persistence/RateLimiter.d.ts +1 -1
- package/dist/unstable/persistence/RateLimiter.js +1 -1
- package/dist/unstable/process/ChildProcess.d.ts +5 -5
- package/dist/unstable/process/ChildProcess.js +2 -2
- package/dist/unstable/reactivity/AsyncResult.d.ts +4 -4
- package/dist/unstable/reactivity/AsyncResult.js +1 -1
- package/dist/unstable/reactivity/Atom.d.ts +1 -1
- package/dist/unstable/reactivity/Atom.js +1 -1
- package/dist/unstable/reactivity/AtomRegistry.d.ts +1 -1
- package/dist/unstable/reactivity/AtomRegistry.js +1 -1
- package/dist/unstable/reactivity/Reactivity.d.ts +1 -1
- package/dist/unstable/reactivity/Reactivity.js +1 -1
- package/dist/unstable/rpc/Rpc.d.ts +5 -5
- package/dist/unstable/rpc/Rpc.js +1 -1
- package/dist/unstable/rpc/RpcMiddleware.d.ts +1 -1
- package/dist/unstable/rpc/RpcMiddleware.js +1 -1
- package/dist/unstable/rpc/RpcSchema.d.ts +3 -3
- package/dist/unstable/rpc/RpcSchema.js +2 -2
- package/dist/unstable/schema/Model.d.ts +2 -2
- package/dist/unstable/schema/Model.js +1 -1
- package/dist/unstable/socket/Socket.d.ts +3 -3
- package/dist/unstable/socket/Socket.js +3 -3
- package/dist/unstable/socket/SocketServer.d.ts +1 -1
- package/dist/unstable/socket/SocketServer.js +1 -1
- package/dist/unstable/sql/Migrator.d.ts +1 -1
- package/dist/unstable/sql/SqlClient.d.ts +3 -3
- package/dist/unstable/sql/SqlClient.js +2 -2
- package/dist/unstable/sql/SqlConnection.d.ts +1 -1
- package/dist/unstable/sql/SqlConnection.js +1 -1
- package/dist/unstable/sql/Statement.d.ts +2 -2
- package/dist/unstable/sql/Statement.js +2 -2
- package/dist/unstable/workers/Transferable.d.ts +1 -1
- package/dist/unstable/workers/Transferable.js +1 -1
- package/dist/unstable/workers/Worker.d.ts +1 -1
- package/dist/unstable/workers/Worker.js +1 -1
- package/dist/unstable/workflow/Activity.d.ts +1 -1
- package/dist/unstable/workflow/Activity.js +1 -1
- package/dist/unstable/workflow/DurableDeferred.d.ts +1 -1
- package/dist/unstable/workflow/DurableDeferred.js +1 -1
- package/package.json +1 -1
- package/src/Array.ts +16 -16
- package/src/Boolean.ts +2 -2
- package/src/Channel.ts +67 -67
- package/src/Chunk.ts +18 -18
- package/src/Context.ts +4 -4
- package/src/Cron.ts +4 -4
- package/src/Deferred.ts +37 -37
- package/src/Duration.ts +6 -6
- package/src/Effect.ts +58 -58
- package/src/Equal.ts +2 -2
- package/src/Equivalence.ts +1 -1
- package/src/ExecutionPlan.ts +2 -2
- package/src/FileSystem.ts +6 -6
- package/src/Function.ts +5 -5
- package/src/Graph.ts +11 -11
- package/src/HKT.ts +1 -1
- package/src/HashMap.ts +3 -3
- package/src/HashSet.ts +1 -1
- package/src/Iterable.ts +15 -15
- package/src/Layer.ts +16 -16
- package/src/Logger.ts +7 -7
- package/src/ManagedRuntime.ts +2 -2
- package/src/Match.ts +20 -20
- package/src/Metric.ts +20 -20
- package/src/Option.ts +36 -36
- package/src/Order.ts +1 -1
- package/src/Path.ts +1 -1
- package/src/Pipeable.ts +1 -1
- package/src/Predicate.ts +5 -5
- package/src/PubSub.ts +9 -9
- package/src/Queue.ts +24 -24
- package/src/Record.ts +15 -15
- package/src/Redacted.ts +2 -2
- package/src/Ref.ts +18 -18
- package/src/RegExp.ts +1 -1
- package/src/Request.ts +4 -4
- package/src/RequestResolver.ts +8 -8
- package/src/Resource.ts +1 -1
- package/src/Result.ts +18 -18
- package/src/Schedule.ts +45 -45
- package/src/Schema.ts +177 -459
- package/src/SchemaAST.ts +1 -1
- package/src/SchemaGetter.ts +13 -13
- package/src/SchemaParser.ts +3 -3
- package/src/Scope.ts +1 -1
- package/src/Sink.ts +5 -5
- package/src/Stream.ts +57 -57
- package/src/String.ts +5 -5
- package/src/Struct.ts +8 -8
- package/src/SynchronizedRef.ts +57 -57
- package/src/Terminal.ts +1 -1
- package/src/Tracer.ts +5 -5
- package/src/Tuple.ts +14 -14
- package/src/TxHashMap.ts +3 -3
- package/src/TxHashSet.ts +1 -1
- package/src/Unify.ts +7 -7
- package/src/testing/TestClock.ts +5 -5
- package/src/testing/TestConsole.ts +3 -3
- package/src/unstable/ai/Chat.ts +2 -2
- package/src/unstable/ai/EmbeddingModel.ts +1 -1
- package/src/unstable/ai/IdGenerator.ts +2 -2
- package/src/unstable/ai/LanguageModel.ts +4 -4
- package/src/unstable/ai/Prompt.ts +15 -15
- package/src/unstable/ai/Telemetry.ts +5 -5
- package/src/unstable/ai/Tokenizer.ts +1 -1
- package/src/unstable/ai/Tool.ts +6 -6
- package/src/unstable/cli/Command.ts +5 -1
- package/src/unstable/cli/Param.ts +1 -1
- package/src/unstable/cli/Primitive.ts +3 -3
- package/src/unstable/cli/Prompt.ts +11 -11
- package/src/unstable/cli/internal/parser.ts +204 -10
- package/src/unstable/cluster/Entity.ts +1 -1
- package/src/unstable/cluster/EntityResource.ts +8 -4
- package/src/unstable/cluster/HttpRunner.ts +2 -2
- package/src/unstable/cluster/K8sHttpClient.ts +1 -1
- package/src/unstable/cluster/Runners.ts +1 -1
- package/src/unstable/cluster/Sharding.ts +1 -1
- package/src/unstable/cluster/SingletonAddress.ts +1 -1
- package/src/unstable/cluster/Snowflake.ts +5 -5
- package/src/unstable/devtools/DevToolsClient.ts +1 -1
- package/src/unstable/eventlog/EventLog.ts +1 -1
- package/src/unstable/eventlog/EventLogEncryption.ts +1 -1
- package/src/unstable/eventlog/EventLogRemote.ts +1 -1
- package/src/unstable/eventlog/EventLogServerUnencrypted.ts +3 -3
- package/src/unstable/http/Cookies.ts +1 -1
- package/src/unstable/http/Etag.ts +1 -1
- package/src/unstable/http/FetchHttpClient.ts +2 -2
- package/src/unstable/http/HttpClient.ts +1 -1
- package/src/unstable/http/HttpClientRequest.ts +2 -2
- package/src/unstable/http/HttpMiddleware.ts +1 -1
- package/src/unstable/http/HttpPlatform.ts +1 -1
- package/src/unstable/http/HttpRouter.ts +4 -4
- package/src/unstable/http/HttpServerResponse.ts +3 -3
- package/src/unstable/http/Url.ts +33 -33
- package/src/unstable/httpapi/HttpApi.ts +1 -1
- package/src/unstable/httpapi/HttpApiBuilder.ts +2 -3
- package/src/unstable/httpapi/HttpApiError.ts +13 -13
- package/src/unstable/httpapi/HttpApiSecurity.ts +36 -8
- package/src/unstable/httpapi/OpenApi.ts +2 -2
- package/src/unstable/observability/PrometheusMetrics.ts +4 -4
- package/src/unstable/persistence/KeyValueStore.ts +3 -3
- package/src/unstable/persistence/Persistable.ts +2 -2
- package/src/unstable/persistence/PersistedQueue.ts +8 -8
- package/src/unstable/persistence/RateLimiter.ts +1 -1
- package/src/unstable/process/ChildProcess.ts +5 -5
- package/src/unstable/reactivity/AsyncResult.ts +4 -4
- package/src/unstable/reactivity/Atom.ts +1 -1
- package/src/unstable/reactivity/AtomRegistry.ts +1 -1
- package/src/unstable/reactivity/Reactivity.ts +1 -1
- package/src/unstable/rpc/Rpc.ts +5 -5
- package/src/unstable/rpc/RpcMiddleware.ts +1 -1
- package/src/unstable/rpc/RpcSchema.ts +3 -3
- package/src/unstable/schema/Model.ts +2 -2
- package/src/unstable/socket/Socket.ts +3 -3
- package/src/unstable/socket/SocketServer.ts +1 -1
- package/src/unstable/sql/Migrator.ts +1 -1
- package/src/unstable/sql/SqlClient.ts +3 -3
- package/src/unstable/sql/SqlConnection.ts +1 -1
- package/src/unstable/sql/Statement.ts +2 -2
- package/src/unstable/workers/Transferable.ts +1 -1
- package/src/unstable/workers/Worker.ts +1 -1
- package/src/unstable/workflow/Activity.ts +1 -1
- package/src/unstable/workflow/DurableDeferred.ts +1 -1
package/dist/Array.d.ts
CHANGED
|
@@ -755,7 +755,7 @@ export declare const matchRight: {
|
|
|
755
755
|
* @see {@link append} — add to the end
|
|
756
756
|
* @see {@link prependAll} — prepend multiple elements
|
|
757
757
|
*
|
|
758
|
-
* @category
|
|
758
|
+
* @category combining
|
|
759
759
|
* @since 2.0.0
|
|
760
760
|
*/
|
|
761
761
|
export declare const prepend: {
|
|
@@ -782,7 +782,7 @@ export declare const prepend: {
|
|
|
782
782
|
* @see {@link append} — add to the end
|
|
783
783
|
* @see {@link prependAll} — prepend multiple elements
|
|
784
784
|
*
|
|
785
|
-
* @category
|
|
785
|
+
* @category combining
|
|
786
786
|
* @since 2.0.0
|
|
787
787
|
*/
|
|
788
788
|
<B>(head: B): <A>(self: Iterable<A>) => NonEmptyArray<A | B>;
|
|
@@ -809,7 +809,7 @@ export declare const prepend: {
|
|
|
809
809
|
* @see {@link append} — add to the end
|
|
810
810
|
* @see {@link prependAll} — prepend multiple elements
|
|
811
811
|
*
|
|
812
|
-
* @category
|
|
812
|
+
* @category combining
|
|
813
813
|
* @since 2.0.0
|
|
814
814
|
*/
|
|
815
815
|
<A, B>(self: Iterable<A>, head: B): NonEmptyArray<A | B>;
|
|
@@ -837,7 +837,7 @@ export declare const prepend: {
|
|
|
837
837
|
* @see {@link prepend} — add a single element to the front
|
|
838
838
|
* @see {@link appendAll} — add elements to the end
|
|
839
839
|
*
|
|
840
|
-
* @category
|
|
840
|
+
* @category combining
|
|
841
841
|
* @since 2.0.0
|
|
842
842
|
*/
|
|
843
843
|
export declare const prependAll: {
|
|
@@ -864,7 +864,7 @@ export declare const prependAll: {
|
|
|
864
864
|
* @see {@link prepend} — add a single element to the front
|
|
865
865
|
* @see {@link appendAll} — add elements to the end
|
|
866
866
|
*
|
|
867
|
-
* @category
|
|
867
|
+
* @category combining
|
|
868
868
|
* @since 2.0.0
|
|
869
869
|
*/
|
|
870
870
|
<S extends Iterable<any>, T extends Iterable<any>>(that: T): (self: S) => ReadonlyArray.OrNonEmpty<S, T, ReadonlyArray.Infer<S> | ReadonlyArray.Infer<T>>;
|
|
@@ -891,7 +891,7 @@ export declare const prependAll: {
|
|
|
891
891
|
* @see {@link prepend} — add a single element to the front
|
|
892
892
|
* @see {@link appendAll} — add elements to the end
|
|
893
893
|
*
|
|
894
|
-
* @category
|
|
894
|
+
* @category combining
|
|
895
895
|
* @since 2.0.0
|
|
896
896
|
*/
|
|
897
897
|
<A, B>(self: Iterable<A>, that: NonEmptyReadonlyArray<B>): NonEmptyArray<A | B>;
|
|
@@ -918,7 +918,7 @@ export declare const prependAll: {
|
|
|
918
918
|
* @see {@link prepend} — add a single element to the front
|
|
919
919
|
* @see {@link appendAll} — add elements to the end
|
|
920
920
|
*
|
|
921
|
-
* @category
|
|
921
|
+
* @category combining
|
|
922
922
|
* @since 2.0.0
|
|
923
923
|
*/
|
|
924
924
|
<A, B>(self: NonEmptyReadonlyArray<A>, that: Iterable<B>): NonEmptyArray<A | B>;
|
|
@@ -945,7 +945,7 @@ export declare const prependAll: {
|
|
|
945
945
|
* @see {@link prepend} — add a single element to the front
|
|
946
946
|
* @see {@link appendAll} — add elements to the end
|
|
947
947
|
*
|
|
948
|
-
* @category
|
|
948
|
+
* @category combining
|
|
949
949
|
* @since 2.0.0
|
|
950
950
|
*/
|
|
951
951
|
<A, B>(self: Iterable<A>, that: Iterable<B>): Array<A | B>;
|
|
@@ -974,7 +974,7 @@ export declare const prependAll: {
|
|
|
974
974
|
* @see {@link prepend} — add to the front
|
|
975
975
|
* @see {@link appendAll} — append multiple elements
|
|
976
976
|
*
|
|
977
|
-
* @category
|
|
977
|
+
* @category combining
|
|
978
978
|
* @since 2.0.0
|
|
979
979
|
*/
|
|
980
980
|
export declare const append: {
|
|
@@ -1002,7 +1002,7 @@ export declare const append: {
|
|
|
1002
1002
|
* @see {@link prepend} — add to the front
|
|
1003
1003
|
* @see {@link appendAll} — append multiple elements
|
|
1004
1004
|
*
|
|
1005
|
-
* @category
|
|
1005
|
+
* @category combining
|
|
1006
1006
|
* @since 2.0.0
|
|
1007
1007
|
*/
|
|
1008
1008
|
<B>(last: B): <A>(self: Iterable<A>) => NonEmptyArray<A | B>;
|
|
@@ -1030,7 +1030,7 @@ export declare const append: {
|
|
|
1030
1030
|
* @see {@link prepend} — add to the front
|
|
1031
1031
|
* @see {@link appendAll} — append multiple elements
|
|
1032
1032
|
*
|
|
1033
|
-
* @category
|
|
1033
|
+
* @category combining
|
|
1034
1034
|
* @since 2.0.0
|
|
1035
1035
|
*/
|
|
1036
1036
|
<A, B>(self: Iterable<A>, last: B): NonEmptyArray<A | B>;
|
|
@@ -1059,7 +1059,7 @@ export declare const append: {
|
|
|
1059
1059
|
* @see {@link append} — add a single element to the end
|
|
1060
1060
|
* @see {@link prependAll} — add elements to the front
|
|
1061
1061
|
*
|
|
1062
|
-
* @category
|
|
1062
|
+
* @category combining
|
|
1063
1063
|
* @since 2.0.0
|
|
1064
1064
|
*/
|
|
1065
1065
|
export declare const appendAll: {
|
|
@@ -1087,7 +1087,7 @@ export declare const appendAll: {
|
|
|
1087
1087
|
* @see {@link append} — add a single element to the end
|
|
1088
1088
|
* @see {@link prependAll} — add elements to the front
|
|
1089
1089
|
*
|
|
1090
|
-
* @category
|
|
1090
|
+
* @category combining
|
|
1091
1091
|
* @since 2.0.0
|
|
1092
1092
|
*/
|
|
1093
1093
|
<S extends Iterable<any>, T extends Iterable<any>>(that: T): (self: S) => ReadonlyArray.OrNonEmpty<S, T, ReadonlyArray.Infer<S> | ReadonlyArray.Infer<T>>;
|
|
@@ -1115,7 +1115,7 @@ export declare const appendAll: {
|
|
|
1115
1115
|
* @see {@link append} — add a single element to the end
|
|
1116
1116
|
* @see {@link prependAll} — add elements to the front
|
|
1117
1117
|
*
|
|
1118
|
-
* @category
|
|
1118
|
+
* @category combining
|
|
1119
1119
|
* @since 2.0.0
|
|
1120
1120
|
*/
|
|
1121
1121
|
<A, B>(self: Iterable<A>, that: NonEmptyReadonlyArray<B>): NonEmptyArray<A | B>;
|
|
@@ -1143,7 +1143,7 @@ export declare const appendAll: {
|
|
|
1143
1143
|
* @see {@link append} — add a single element to the end
|
|
1144
1144
|
* @see {@link prependAll} — add elements to the front
|
|
1145
1145
|
*
|
|
1146
|
-
* @category
|
|
1146
|
+
* @category combining
|
|
1147
1147
|
* @since 2.0.0
|
|
1148
1148
|
*/
|
|
1149
1149
|
<A, B>(self: NonEmptyReadonlyArray<A>, that: Iterable<B>): NonEmptyArray<A | B>;
|
|
@@ -1171,7 +1171,7 @@ export declare const appendAll: {
|
|
|
1171
1171
|
* @see {@link append} — add a single element to the end
|
|
1172
1172
|
* @see {@link prependAll} — add elements to the front
|
|
1173
1173
|
*
|
|
1174
|
-
* @category
|
|
1174
|
+
* @category combining
|
|
1175
1175
|
* @since 2.0.0
|
|
1176
1176
|
*/
|
|
1177
1177
|
<A, B>(self: Iterable<A>, that: Iterable<B>): Array<A | B>;
|
package/dist/Array.js
CHANGED
|
@@ -485,7 +485,7 @@ export const matchRight = /*#__PURE__*/dual(2, (self, {
|
|
|
485
485
|
* @see {@link append} — add to the end
|
|
486
486
|
* @see {@link prependAll} — prepend multiple elements
|
|
487
487
|
*
|
|
488
|
-
* @category
|
|
488
|
+
* @category combining
|
|
489
489
|
* @since 2.0.0
|
|
490
490
|
*/
|
|
491
491
|
export const prepend = /*#__PURE__*/dual(2, (self, head) => [head, ...self]);
|
|
@@ -512,7 +512,7 @@ export const prepend = /*#__PURE__*/dual(2, (self, head) => [head, ...self]);
|
|
|
512
512
|
* @see {@link prepend} — add a single element to the front
|
|
513
513
|
* @see {@link appendAll} — add elements to the end
|
|
514
514
|
*
|
|
515
|
-
* @category
|
|
515
|
+
* @category combining
|
|
516
516
|
* @since 2.0.0
|
|
517
517
|
*/
|
|
518
518
|
export const prependAll = /*#__PURE__*/dual(2, (self, that) => fromIterable(that).concat(fromIterable(self)));
|
|
@@ -540,7 +540,7 @@ export const prependAll = /*#__PURE__*/dual(2, (self, that) => fromIterable(that
|
|
|
540
540
|
* @see {@link prepend} — add to the front
|
|
541
541
|
* @see {@link appendAll} — append multiple elements
|
|
542
542
|
*
|
|
543
|
-
* @category
|
|
543
|
+
* @category combining
|
|
544
544
|
* @since 2.0.0
|
|
545
545
|
*/
|
|
546
546
|
export const append = /*#__PURE__*/dual(2, (self, last) => [...self, last]);
|
|
@@ -568,7 +568,7 @@ export const append = /*#__PURE__*/dual(2, (self, last) => [...self, last]);
|
|
|
568
568
|
* @see {@link append} — add a single element to the end
|
|
569
569
|
* @see {@link prependAll} — add elements to the front
|
|
570
570
|
*
|
|
571
|
-
* @category
|
|
571
|
+
* @category combining
|
|
572
572
|
* @since 2.0.0
|
|
573
573
|
*/
|
|
574
574
|
export const appendAll = /*#__PURE__*/dual(2, (self, that) => fromIterable(self).concat(fromIterable(that)));
|
package/dist/Boolean.d.ts
CHANGED
|
@@ -785,7 +785,7 @@ export declare const implies: {
|
|
|
785
785
|
* @see {@link some} for checking whether at least one value is `true`
|
|
786
786
|
* @see {@link ReducerAnd} for reducing booleans with AND through a `Reducer`
|
|
787
787
|
*
|
|
788
|
-
* @category
|
|
788
|
+
* @category predicates
|
|
789
789
|
* @since 2.0.0
|
|
790
790
|
*/
|
|
791
791
|
export declare const every: (collection: Iterable<boolean>) => boolean;
|
|
@@ -809,7 +809,7 @@ export declare const every: (collection: Iterable<boolean>) => boolean;
|
|
|
809
809
|
* @see {@link every} for checking whether all values are `true`
|
|
810
810
|
* @see {@link ReducerOr} for reducing booleans with OR through a `Reducer`
|
|
811
811
|
*
|
|
812
|
-
* @category
|
|
812
|
+
* @category predicates
|
|
813
813
|
* @since 2.0.0
|
|
814
814
|
*/
|
|
815
815
|
export declare const some: (collection: Iterable<boolean>) => boolean;
|
package/dist/Boolean.js
CHANGED
|
@@ -390,7 +390,7 @@ export const implies = /*#__PURE__*/dual(2, (self, that) => self ? that : true);
|
|
|
390
390
|
* @see {@link some} for checking whether at least one value is `true`
|
|
391
391
|
* @see {@link ReducerAnd} for reducing booleans with AND through a `Reducer`
|
|
392
392
|
*
|
|
393
|
-
* @category
|
|
393
|
+
* @category predicates
|
|
394
394
|
* @since 2.0.0
|
|
395
395
|
*/
|
|
396
396
|
export const every = collection => {
|
|
@@ -421,7 +421,7 @@ export const every = collection => {
|
|
|
421
421
|
* @see {@link every} for checking whether all values are `true`
|
|
422
422
|
* @see {@link ReducerOr} for reducing booleans with OR through a `Reducer`
|
|
423
423
|
*
|
|
424
|
-
* @category
|
|
424
|
+
* @category predicates
|
|
425
425
|
* @since 2.0.0
|
|
426
426
|
*/
|
|
427
427
|
export const some = collection => {
|