effect 4.0.0-beta.85 → 4.0.0-beta.86
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/ChannelSchema.d.ts +8 -8
- package/dist/ChannelSchema.d.ts.map +1 -1
- package/dist/Config.d.ts +2 -2
- package/dist/Config.d.ts.map +1 -1
- package/dist/Config.js +10 -3
- package/dist/Config.js.map +1 -1
- package/dist/Cron.d.ts.map +1 -1
- package/dist/Cron.js +4 -0
- package/dist/Cron.js.map +1 -1
- package/dist/Schema.d.ts +745 -393
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +90 -64
- package/dist/Schema.js.map +1 -1
- package/dist/SchemaAST.d.ts.map +1 -1
- package/dist/SchemaAST.js +20 -29
- package/dist/SchemaAST.js.map +1 -1
- package/dist/SchemaParser.d.ts +24 -24
- package/dist/SchemaParser.d.ts.map +1 -1
- package/dist/SchemaParser.js +43 -39
- package/dist/SchemaParser.js.map +1 -1
- package/dist/SchemaRepresentation.d.ts +300 -300
- package/dist/internal/effect.js +6 -7
- package/dist/internal/effect.js.map +1 -1
- package/dist/internal/matcher.js +0 -2
- package/dist/internal/matcher.js.map +1 -1
- package/dist/internal/schema/representation.js +1 -5
- package/dist/internal/schema/representation.js.map +1 -1
- package/dist/internal/schema/schema.js.map +1 -1
- package/dist/testing/TestSchema.d.ts +9 -9
- package/dist/testing/TestSchema.d.ts.map +1 -1
- package/dist/testing/TestSchema.js +3 -2
- package/dist/testing/TestSchema.js.map +1 -1
- package/dist/unstable/ai/AnthropicStructuredOutput.d.ts +2 -2
- package/dist/unstable/ai/AnthropicStructuredOutput.d.ts.map +1 -1
- package/dist/unstable/ai/AnthropicStructuredOutput.js.map +1 -1
- package/dist/unstable/ai/Chat.d.ts +1 -1
- package/dist/unstable/ai/Chat.d.ts.map +1 -1
- package/dist/unstable/ai/LanguageModel.d.ts +4 -4
- package/dist/unstable/ai/LanguageModel.d.ts.map +1 -1
- package/dist/unstable/ai/McpSchema.d.ts +13 -6
- package/dist/unstable/ai/McpSchema.d.ts.map +1 -1
- package/dist/unstable/ai/McpSchema.js.map +1 -1
- package/dist/unstable/ai/McpServer.d.ts +4 -4
- package/dist/unstable/ai/McpServer.d.ts.map +1 -1
- package/dist/unstable/ai/McpServer.js.map +1 -1
- package/dist/unstable/ai/OpenAiStructuredOutput.d.ts +2 -2
- package/dist/unstable/ai/OpenAiStructuredOutput.d.ts.map +1 -1
- package/dist/unstable/ai/OpenAiStructuredOutput.js.map +1 -1
- package/dist/unstable/ai/Response.d.ts +2 -2
- package/dist/unstable/ai/Response.d.ts.map +1 -1
- package/dist/unstable/ai/Response.js.map +1 -1
- package/dist/unstable/ai/Tool.d.ts +26 -26
- package/dist/unstable/ai/Tool.d.ts.map +1 -1
- package/dist/unstable/ai/Tool.js.map +1 -1
- package/dist/unstable/cli/Argument.d.ts +8 -7
- package/dist/unstable/cli/Argument.d.ts.map +1 -1
- package/dist/unstable/cli/Argument.js.map +1 -1
- package/dist/unstable/cli/Flag.d.ts +8 -7
- package/dist/unstable/cli/Flag.d.ts.map +1 -1
- package/dist/unstable/cli/Flag.js.map +1 -1
- package/dist/unstable/cli/Param.d.ts +1806 -168
- package/dist/unstable/cli/Param.d.ts.map +1 -1
- package/dist/unstable/cli/Param.js +0 -70
- package/dist/unstable/cli/Param.js.map +1 -1
- package/dist/unstable/cli/Primitive.d.ts +3 -4
- package/dist/unstable/cli/Primitive.d.ts.map +1 -1
- package/dist/unstable/cli/Primitive.js.map +1 -1
- package/dist/unstable/cli/internal/ansi.d.ts.map +1 -1
- package/dist/unstable/cli/internal/ansi.js +0 -22
- package/dist/unstable/cli/internal/ansi.js.map +1 -1
- package/dist/unstable/cli/internal/config.d.ts +48 -0
- package/dist/unstable/cli/internal/config.d.ts.map +1 -1
- package/dist/unstable/cli/internal/config.js +0 -6
- package/dist/unstable/cli/internal/config.js.map +1 -1
- package/dist/unstable/cluster/ClusterWorkflowEngine.d.ts +3 -3
- package/dist/unstable/cluster/Reply.d.ts +2 -2
- package/dist/unstable/cluster/Reply.d.ts.map +1 -1
- package/dist/unstable/cluster/Reply.js.map +1 -1
- package/dist/unstable/devtools/DevToolsSchema.js.map +1 -1
- package/dist/unstable/encoding/Msgpack.d.ts +6 -6
- package/dist/unstable/encoding/Msgpack.d.ts.map +1 -1
- package/dist/unstable/encoding/Msgpack.js.map +1 -1
- package/dist/unstable/encoding/Ndjson.d.ts +8 -8
- package/dist/unstable/encoding/Ndjson.d.ts.map +1 -1
- package/dist/unstable/encoding/Sse.d.ts +1 -1
- package/dist/unstable/encoding/Sse.d.ts.map +1 -1
- package/dist/unstable/encoding/Sse.js.map +1 -1
- package/dist/unstable/eventlog/EventLogMessage.d.ts +22 -22
- package/dist/unstable/eventlog/EventLogMessage.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogRemote.d.ts +15 -15
- package/dist/unstable/http/HttpBody.d.ts +1 -1
- package/dist/unstable/http/HttpBody.d.ts.map +1 -1
- package/dist/unstable/http/HttpClientRequest.d.ts +1 -1
- package/dist/unstable/http/HttpClientRequest.d.ts.map +1 -1
- package/dist/unstable/http/HttpIncomingMessage.d.ts +1 -1
- package/dist/unstable/http/HttpIncomingMessage.d.ts.map +1 -1
- package/dist/unstable/http/HttpIncomingMessage.js.map +1 -1
- package/dist/unstable/http/HttpMiddleware.d.ts.map +1 -1
- package/dist/unstable/http/HttpMiddleware.js +12 -3
- package/dist/unstable/http/HttpMiddleware.js.map +1 -1
- package/dist/unstable/httpapi/HttpApi.d.ts +1 -1
- package/dist/unstable/httpapi/HttpApiBuilder.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiClient.d.ts +2 -2
- package/dist/unstable/httpapi/HttpApiClient.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiClient.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiEndpoint.d.ts +32 -32
- package/dist/unstable/httpapi/HttpApiEndpoint.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiEndpoint.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiMiddleware.d.ts +1 -1
- package/dist/unstable/httpapi/HttpApiMiddleware.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiSchema.d.ts +13 -6
- package/dist/unstable/httpapi/HttpApiSchema.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiSchema.js +0 -13
- package/dist/unstable/httpapi/HttpApiSchema.js.map +1 -1
- package/dist/unstable/httpapi/OpenApi.js.map +1 -1
- package/dist/unstable/observability/internal/otlpProtobuf.js +0 -68
- package/dist/unstable/observability/internal/otlpProtobuf.js.map +1 -1
- package/dist/unstable/observability/internal/protobuf.js +0 -28
- package/dist/unstable/observability/internal/protobuf.js.map +1 -1
- package/dist/unstable/persistence/KeyValueStore.d.ts +2 -2
- package/dist/unstable/persistence/KeyValueStore.d.ts.map +1 -1
- package/dist/unstable/persistence/KeyValueStore.js.map +1 -1
- package/dist/unstable/persistence/Persistable.d.ts +6 -6
- package/dist/unstable/persistence/Persistable.d.ts.map +1 -1
- package/dist/unstable/persistence/PersistedQueue.d.ts +3 -3
- package/dist/unstable/persistence/PersistedQueue.d.ts.map +1 -1
- package/dist/unstable/persistence/PersistedQueue.js.map +1 -1
- package/dist/unstable/persistence/Persistence.d.ts +5 -5
- package/dist/unstable/persistence/Persistence.d.ts.map +1 -1
- package/dist/unstable/reactivity/AsyncResult.d.ts +2 -2
- package/dist/unstable/reactivity/AsyncResult.d.ts.map +1 -1
- package/dist/unstable/reactivity/Atom.d.ts +1 -1
- package/dist/unstable/reactivity/Atom.d.ts.map +1 -1
- package/dist/unstable/reactivity/AtomHttpApi.d.ts +1 -1
- package/dist/unstable/reactivity/AtomHttpApi.d.ts.map +1 -1
- package/dist/unstable/rpc/Rpc.d.ts +3 -4
- package/dist/unstable/rpc/Rpc.d.ts.map +1 -1
- package/dist/unstable/rpc/Rpc.js +1 -1
- package/dist/unstable/rpc/Rpc.js.map +1 -1
- package/dist/unstable/rpc/RpcClient.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcClient.js +25 -4
- package/dist/unstable/rpc/RpcClient.js.map +1 -1
- package/dist/unstable/rpc/RpcMessage.d.ts +7 -0
- package/dist/unstable/rpc/RpcMessage.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcMessage.js +20 -0
- package/dist/unstable/rpc/RpcMessage.js.map +1 -1
- package/dist/unstable/rpc/RpcMiddleware.d.ts +2 -2
- package/dist/unstable/rpc/RpcMiddleware.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcSchema.d.ts +10 -3
- package/dist/unstable/rpc/RpcSchema.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcSchema.js.map +1 -1
- package/dist/unstable/rpc/RpcWorker.d.ts +3 -3
- package/dist/unstable/rpc/RpcWorker.d.ts.map +1 -1
- package/dist/unstable/schema/Model.d.ts +2 -2
- package/dist/unstable/schema/Model.d.ts.map +1 -1
- package/dist/unstable/schema/Model.js.map +1 -1
- package/dist/unstable/schema/VariantSchema.d.ts +16 -2
- package/dist/unstable/schema/VariantSchema.d.ts.map +1 -1
- package/dist/unstable/schema/VariantSchema.js.map +1 -1
- package/dist/unstable/sql/SqlConnection.d.ts +1 -0
- package/dist/unstable/sql/SqlConnection.d.ts.map +1 -1
- package/dist/unstable/sql/SqlConnection.js.map +1 -1
- package/dist/unstable/sql/SqlModel.js.map +1 -1
- package/dist/unstable/sql/SqlResolver.d.ts +4 -4
- package/dist/unstable/sql/SqlResolver.d.ts.map +1 -1
- package/dist/unstable/sql/SqlResolver.js.map +1 -1
- package/dist/unstable/sql/SqlSchema.d.ts +5 -5
- package/dist/unstable/sql/SqlSchema.d.ts.map +1 -1
- package/dist/unstable/sql/Statement.d.ts +1 -0
- package/dist/unstable/sql/Statement.d.ts.map +1 -1
- package/dist/unstable/sql/Statement.js +3 -0
- package/dist/unstable/sql/Statement.js.map +1 -1
- package/dist/unstable/workflow/Activity.d.ts +2 -2
- package/dist/unstable/workflow/Activity.d.ts.map +1 -1
- package/dist/unstable/workflow/DurableDeferred.d.ts +18 -18
- package/dist/unstable/workflow/DurableDeferred.d.ts.map +1 -1
- package/dist/unstable/workflow/Workflow.d.ts +3 -3
- package/dist/unstable/workflow/Workflow.d.ts.map +1 -1
- package/dist/unstable/workflow/Workflow.js.map +1 -1
- package/dist/unstable/workflow/WorkflowEngine.d.ts +3 -3
- package/dist/unstable/workflow/WorkflowEngine.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/ChannelSchema.ts +9 -9
- package/src/Config.ts +12 -5
- package/src/Cron.ts +4 -0
- package/src/Schema.ts +963 -688
- package/src/SchemaAST.ts +25 -35
- package/src/SchemaParser.ts +85 -77
- package/src/internal/effect.ts +6 -22
- package/src/internal/matcher.ts +0 -5
- package/src/internal/schema/arbitrary.ts +1 -1
- package/src/internal/schema/representation.ts +1 -5
- package/src/internal/schema/schema.ts +1 -1
- package/src/testing/TestSchema.ts +14 -13
- package/src/unstable/ai/AnthropicStructuredOutput.ts +2 -2
- package/src/unstable/ai/Chat.ts +1 -1
- package/src/unstable/ai/LanguageModel.ts +7 -7
- package/src/unstable/ai/McpSchema.ts +16 -14
- package/src/unstable/ai/McpServer.ts +7 -7
- package/src/unstable/ai/OpenAiStructuredOutput.ts +2 -2
- package/src/unstable/ai/Response.ts +9 -5
- package/src/unstable/ai/Tool.ts +49 -47
- package/src/unstable/cli/Argument.ts +9 -8
- package/src/unstable/cli/Flag.ts +9 -8
- package/src/unstable/cli/Param.ts +6 -146
- package/src/unstable/cli/Primitive.ts +5 -6
- package/src/unstable/cli/internal/ansi.ts +0 -33
- package/src/unstable/cli/internal/config.ts +0 -8
- package/src/unstable/cli/internal/parser.ts +2 -2
- package/src/unstable/cluster/MessageStorage.ts +1 -1
- package/src/unstable/cluster/Reply.ts +6 -2
- package/src/unstable/devtools/DevToolsSchema.ts +1 -1
- package/src/unstable/encoding/Msgpack.ts +9 -7
- package/src/unstable/encoding/Ndjson.ts +10 -10
- package/src/unstable/encoding/Sse.ts +1 -1
- package/src/unstable/eventlog/Event.ts +3 -3
- package/src/unstable/http/HttpBody.ts +1 -1
- package/src/unstable/http/HttpClientRequest.ts +1 -1
- package/src/unstable/http/HttpIncomingMessage.ts +1 -1
- package/src/unstable/http/HttpMiddleware.ts +12 -3
- package/src/unstable/httpapi/HttpApi.ts +1 -1
- package/src/unstable/httpapi/HttpApiBuilder.ts +9 -5
- package/src/unstable/httpapi/HttpApiClient.ts +10 -10
- package/src/unstable/httpapi/HttpApiEndpoint.ts +45 -33
- package/src/unstable/httpapi/HttpApiMiddleware.ts +2 -2
- package/src/unstable/httpapi/HttpApiSchema.ts +16 -43
- package/src/unstable/httpapi/OpenApi.ts +5 -5
- package/src/unstable/observability/internal/otlpProtobuf.ts +0 -75
- package/src/unstable/observability/internal/protobuf.ts +0 -42
- package/src/unstable/persistence/KeyValueStore.ts +2 -2
- package/src/unstable/persistence/Persistable.ts +7 -7
- package/src/unstable/persistence/PersistedQueue.ts +3 -3
- package/src/unstable/persistence/Persistence.ts +5 -5
- package/src/unstable/reactivity/AsyncResult.ts +4 -4
- package/src/unstable/reactivity/Atom.ts +1 -1
- package/src/unstable/reactivity/AtomHttpApi.ts +1 -1
- package/src/unstable/rpc/Rpc.ts +7 -8
- package/src/unstable/rpc/RpcClient.ts +26 -4
- package/src/unstable/rpc/RpcMessage.ts +19 -0
- package/src/unstable/rpc/RpcMiddleware.ts +2 -2
- package/src/unstable/rpc/RpcSchema.ts +12 -9
- package/src/unstable/rpc/RpcWorker.ts +3 -3
- package/src/unstable/schema/Model.ts +2 -2
- package/src/unstable/schema/VariantSchema.ts +19 -17
- package/src/unstable/sql/SqlConnection.ts +5 -0
- package/src/unstable/sql/SqlModel.ts +2 -2
- package/src/unstable/sql/SqlResolver.ts +6 -6
- package/src/unstable/sql/SqlSchema.ts +5 -5
- package/src/unstable/sql/Statement.ts +11 -0
- package/src/unstable/workflow/Activity.ts +6 -6
- package/src/unstable/workflow/DurableDeferred.ts +33 -33
- package/src/unstable/workflow/Workflow.ts +5 -5
- package/src/unstable/workflow/WorkflowEngine.ts +10 -10
- package/dist/internal/concurrency.d.ts +0 -2
- package/dist/internal/concurrency.d.ts.map +0 -1
- package/dist/internal/concurrency.js +0 -29
- package/dist/internal/concurrency.js.map +0 -1
- package/src/internal/concurrency.ts +0 -52
|
@@ -761,137 +761,137 @@ export declare const $StringMeta: Schema.Union<readonly [Schema.Struct<{
|
|
|
761
761
|
export declare const $String: Schema.Struct<{
|
|
762
762
|
readonly _tag: Schema.tag<"String">;
|
|
763
763
|
readonly annotations: Schema.optional<Schema.decodeTo<Schema.$Record<Schema.String, Schema.Unknown>, Schema.$Record<Schema.String, Schema.Codec<PrimitiveTree, PrimitiveTree, never, never>>, never, never>>;
|
|
764
|
-
readonly checks: Schema.$Array<Schema.Codec<Check<{
|
|
765
|
-
readonly _tag: "isStringFinite"
|
|
766
|
-
readonly regExp: RegExp;
|
|
767
|
-
} | {
|
|
768
|
-
readonly _tag: "isStringBigInt"
|
|
769
|
-
readonly regExp: RegExp;
|
|
770
|
-
} | {
|
|
771
|
-
readonly _tag: "isStringSymbol"
|
|
772
|
-
readonly regExp: RegExp;
|
|
773
|
-
} | {
|
|
774
|
-
readonly _tag: "isTrimmed"
|
|
775
|
-
readonly regExp: RegExp;
|
|
776
|
-
} | {
|
|
777
|
-
readonly _tag: "isUUID"
|
|
778
|
-
readonly regExp: RegExp;
|
|
779
|
-
readonly version: 1
|
|
780
|
-
} | {
|
|
781
|
-
readonly _tag: "isGUID"
|
|
782
|
-
readonly regExp: RegExp;
|
|
783
|
-
} | {
|
|
784
|
-
readonly _tag: "isULID"
|
|
785
|
-
readonly regExp: RegExp;
|
|
786
|
-
} | {
|
|
787
|
-
readonly _tag: "isBase64"
|
|
788
|
-
readonly regExp: RegExp;
|
|
789
|
-
} | {
|
|
790
|
-
readonly _tag: "isBase64Url"
|
|
791
|
-
readonly regExp: RegExp;
|
|
792
|
-
} | {
|
|
793
|
-
readonly _tag: "isStartsWith"
|
|
794
|
-
readonly startsWith:
|
|
795
|
-
readonly regExp: RegExp;
|
|
796
|
-
} | {
|
|
797
|
-
readonly _tag: "isEndsWith"
|
|
798
|
-
readonly endsWith:
|
|
799
|
-
readonly regExp: RegExp;
|
|
800
|
-
} | {
|
|
801
|
-
readonly _tag: "isIncludes"
|
|
802
|
-
readonly includes:
|
|
803
|
-
readonly regExp: RegExp;
|
|
804
|
-
} | {
|
|
805
|
-
readonly _tag: "isUppercased"
|
|
806
|
-
readonly regExp: RegExp;
|
|
807
|
-
} | {
|
|
808
|
-
readonly _tag: "isLowercased"
|
|
809
|
-
readonly regExp: RegExp;
|
|
810
|
-
} | {
|
|
811
|
-
readonly _tag: "isCapitalized"
|
|
812
|
-
readonly regExp: RegExp;
|
|
813
|
-
} | {
|
|
814
|
-
readonly _tag: "isUncapitalized"
|
|
815
|
-
readonly regExp: RegExp;
|
|
816
|
-
} | {
|
|
817
|
-
readonly _tag: "isMinLength"
|
|
818
|
-
readonly minLength:
|
|
819
|
-
} | {
|
|
820
|
-
readonly _tag: "isMaxLength"
|
|
821
|
-
readonly maxLength:
|
|
822
|
-
} | {
|
|
823
|
-
readonly _tag: "isLengthBetween"
|
|
824
|
-
readonly minimum:
|
|
825
|
-
readonly maximum:
|
|
826
|
-
} | {
|
|
827
|
-
readonly _tag: "isPattern"
|
|
828
|
-
readonly regExp: RegExp;
|
|
829
|
-
}
|
|
830
|
-
readonly _tag: "isStringFinite"
|
|
831
|
-
readonly regExp: RegExp;
|
|
832
|
-
} | {
|
|
833
|
-
readonly _tag: "isStringBigInt"
|
|
834
|
-
readonly regExp: RegExp;
|
|
835
|
-
} | {
|
|
836
|
-
readonly _tag: "isStringSymbol"
|
|
837
|
-
readonly regExp: RegExp;
|
|
838
|
-
} | {
|
|
839
|
-
readonly _tag: "isTrimmed"
|
|
840
|
-
readonly regExp: RegExp;
|
|
841
|
-
} | {
|
|
842
|
-
readonly _tag: "isUUID"
|
|
843
|
-
readonly regExp: RegExp;
|
|
844
|
-
readonly version: 1
|
|
845
|
-
} | {
|
|
846
|
-
readonly _tag: "isGUID"
|
|
847
|
-
readonly regExp: RegExp;
|
|
848
|
-
} | {
|
|
849
|
-
readonly _tag: "isULID"
|
|
850
|
-
readonly regExp: RegExp;
|
|
851
|
-
} | {
|
|
852
|
-
readonly _tag: "isBase64"
|
|
853
|
-
readonly regExp: RegExp;
|
|
854
|
-
} | {
|
|
855
|
-
readonly _tag: "isBase64Url"
|
|
856
|
-
readonly regExp: RegExp;
|
|
857
|
-
} | {
|
|
858
|
-
readonly _tag: "isStartsWith"
|
|
859
|
-
readonly startsWith:
|
|
860
|
-
readonly regExp: RegExp;
|
|
861
|
-
} | {
|
|
862
|
-
readonly _tag: "isEndsWith"
|
|
863
|
-
readonly endsWith:
|
|
864
|
-
readonly regExp: RegExp;
|
|
865
|
-
} | {
|
|
866
|
-
readonly _tag: "isIncludes"
|
|
867
|
-
readonly includes:
|
|
868
|
-
readonly regExp: RegExp;
|
|
869
|
-
} | {
|
|
870
|
-
readonly _tag: "isUppercased"
|
|
871
|
-
readonly regExp: RegExp;
|
|
872
|
-
} | {
|
|
873
|
-
readonly _tag: "isLowercased"
|
|
874
|
-
readonly regExp: RegExp;
|
|
875
|
-
} | {
|
|
876
|
-
readonly _tag: "isCapitalized"
|
|
877
|
-
readonly regExp: RegExp;
|
|
878
|
-
} | {
|
|
879
|
-
readonly _tag: "isUncapitalized"
|
|
880
|
-
readonly regExp: RegExp;
|
|
881
|
-
} | {
|
|
882
|
-
readonly _tag: "isMinLength"
|
|
883
|
-
readonly minLength:
|
|
884
|
-
} | {
|
|
885
|
-
readonly _tag: "isMaxLength"
|
|
886
|
-
readonly maxLength:
|
|
887
|
-
} | {
|
|
888
|
-
readonly _tag: "isLengthBetween"
|
|
889
|
-
readonly minimum:
|
|
890
|
-
readonly maximum:
|
|
891
|
-
} | {
|
|
892
|
-
readonly _tag: "isPattern"
|
|
893
|
-
readonly regExp: RegExp;
|
|
894
|
-
}
|
|
764
|
+
readonly checks: Schema.$Array<Schema.Codec<Check<Schema.Struct.ReadonlySide<{
|
|
765
|
+
readonly _tag: Schema.tag<"isStringFinite">;
|
|
766
|
+
readonly regExp: Schema.RegExp;
|
|
767
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
768
|
+
readonly _tag: Schema.tag<"isStringBigInt">;
|
|
769
|
+
readonly regExp: Schema.RegExp;
|
|
770
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
771
|
+
readonly _tag: Schema.tag<"isStringSymbol">;
|
|
772
|
+
readonly regExp: Schema.RegExp;
|
|
773
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
774
|
+
readonly _tag: Schema.tag<"isTrimmed">;
|
|
775
|
+
readonly regExp: Schema.RegExp;
|
|
776
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
777
|
+
readonly _tag: Schema.tag<"isUUID">;
|
|
778
|
+
readonly regExp: Schema.RegExp;
|
|
779
|
+
readonly version: Schema.UndefinedOr<Schema.Literals<readonly [1, 2, 3, 4, 5, 6, 7, 8]>>;
|
|
780
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
781
|
+
readonly _tag: Schema.tag<"isGUID">;
|
|
782
|
+
readonly regExp: Schema.RegExp;
|
|
783
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
784
|
+
readonly _tag: Schema.tag<"isULID">;
|
|
785
|
+
readonly regExp: Schema.RegExp;
|
|
786
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
787
|
+
readonly _tag: Schema.tag<"isBase64">;
|
|
788
|
+
readonly regExp: Schema.RegExp;
|
|
789
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
790
|
+
readonly _tag: Schema.tag<"isBase64Url">;
|
|
791
|
+
readonly regExp: Schema.RegExp;
|
|
792
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
793
|
+
readonly _tag: Schema.tag<"isStartsWith">;
|
|
794
|
+
readonly startsWith: Schema.String;
|
|
795
|
+
readonly regExp: Schema.RegExp;
|
|
796
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
797
|
+
readonly _tag: Schema.tag<"isEndsWith">;
|
|
798
|
+
readonly endsWith: Schema.String;
|
|
799
|
+
readonly regExp: Schema.RegExp;
|
|
800
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
801
|
+
readonly _tag: Schema.tag<"isIncludes">;
|
|
802
|
+
readonly includes: Schema.String;
|
|
803
|
+
readonly regExp: Schema.RegExp;
|
|
804
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
805
|
+
readonly _tag: Schema.tag<"isUppercased">;
|
|
806
|
+
readonly regExp: Schema.RegExp;
|
|
807
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
808
|
+
readonly _tag: Schema.tag<"isLowercased">;
|
|
809
|
+
readonly regExp: Schema.RegExp;
|
|
810
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
811
|
+
readonly _tag: Schema.tag<"isCapitalized">;
|
|
812
|
+
readonly regExp: Schema.RegExp;
|
|
813
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
814
|
+
readonly _tag: Schema.tag<"isUncapitalized">;
|
|
815
|
+
readonly regExp: Schema.RegExp;
|
|
816
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
817
|
+
readonly _tag: Schema.tag<"isMinLength">;
|
|
818
|
+
readonly minLength: Schema.Int;
|
|
819
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
820
|
+
readonly _tag: Schema.tag<"isMaxLength">;
|
|
821
|
+
readonly maxLength: Schema.Int;
|
|
822
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
823
|
+
readonly _tag: Schema.tag<"isLengthBetween">;
|
|
824
|
+
readonly minimum: Schema.Int;
|
|
825
|
+
readonly maximum: Schema.Int;
|
|
826
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
827
|
+
readonly _tag: Schema.tag<"isPattern">;
|
|
828
|
+
readonly regExp: Schema.RegExp;
|
|
829
|
+
}, "Type">>, Check<Schema.Struct.ReadonlySide<{
|
|
830
|
+
readonly _tag: Schema.tag<"isStringFinite">;
|
|
831
|
+
readonly regExp: Schema.RegExp;
|
|
832
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
833
|
+
readonly _tag: Schema.tag<"isStringBigInt">;
|
|
834
|
+
readonly regExp: Schema.RegExp;
|
|
835
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
836
|
+
readonly _tag: Schema.tag<"isStringSymbol">;
|
|
837
|
+
readonly regExp: Schema.RegExp;
|
|
838
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
839
|
+
readonly _tag: Schema.tag<"isTrimmed">;
|
|
840
|
+
readonly regExp: Schema.RegExp;
|
|
841
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
842
|
+
readonly _tag: Schema.tag<"isUUID">;
|
|
843
|
+
readonly regExp: Schema.RegExp;
|
|
844
|
+
readonly version: Schema.UndefinedOr<Schema.Literals<readonly [1, 2, 3, 4, 5, 6, 7, 8]>>;
|
|
845
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
846
|
+
readonly _tag: Schema.tag<"isGUID">;
|
|
847
|
+
readonly regExp: Schema.RegExp;
|
|
848
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
849
|
+
readonly _tag: Schema.tag<"isULID">;
|
|
850
|
+
readonly regExp: Schema.RegExp;
|
|
851
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
852
|
+
readonly _tag: Schema.tag<"isBase64">;
|
|
853
|
+
readonly regExp: Schema.RegExp;
|
|
854
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
855
|
+
readonly _tag: Schema.tag<"isBase64Url">;
|
|
856
|
+
readonly regExp: Schema.RegExp;
|
|
857
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
858
|
+
readonly _tag: Schema.tag<"isStartsWith">;
|
|
859
|
+
readonly startsWith: Schema.String;
|
|
860
|
+
readonly regExp: Schema.RegExp;
|
|
861
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
862
|
+
readonly _tag: Schema.tag<"isEndsWith">;
|
|
863
|
+
readonly endsWith: Schema.String;
|
|
864
|
+
readonly regExp: Schema.RegExp;
|
|
865
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
866
|
+
readonly _tag: Schema.tag<"isIncludes">;
|
|
867
|
+
readonly includes: Schema.String;
|
|
868
|
+
readonly regExp: Schema.RegExp;
|
|
869
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
870
|
+
readonly _tag: Schema.tag<"isUppercased">;
|
|
871
|
+
readonly regExp: Schema.RegExp;
|
|
872
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
873
|
+
readonly _tag: Schema.tag<"isLowercased">;
|
|
874
|
+
readonly regExp: Schema.RegExp;
|
|
875
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
876
|
+
readonly _tag: Schema.tag<"isCapitalized">;
|
|
877
|
+
readonly regExp: Schema.RegExp;
|
|
878
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
879
|
+
readonly _tag: Schema.tag<"isUncapitalized">;
|
|
880
|
+
readonly regExp: Schema.RegExp;
|
|
881
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
882
|
+
readonly _tag: Schema.tag<"isMinLength">;
|
|
883
|
+
readonly minLength: Schema.Int;
|
|
884
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
885
|
+
readonly _tag: Schema.tag<"isMaxLength">;
|
|
886
|
+
readonly maxLength: Schema.Int;
|
|
887
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
888
|
+
readonly _tag: Schema.tag<"isLengthBetween">;
|
|
889
|
+
readonly minimum: Schema.Int;
|
|
890
|
+
readonly maximum: Schema.Int;
|
|
891
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
892
|
+
readonly _tag: Schema.tag<"isPattern">;
|
|
893
|
+
readonly regExp: Schema.RegExp;
|
|
894
|
+
}, "Type">>, never, never>>;
|
|
895
895
|
readonly contentMediaType: Schema.optional<Schema.String>;
|
|
896
896
|
readonly contentSchema: Schema.optional<Schema.suspend<$Representation>>;
|
|
897
897
|
}>;
|
|
@@ -936,51 +936,51 @@ export declare const $NumberMeta: Schema.Union<readonly [Schema.Struct<{
|
|
|
936
936
|
export declare const $Number: Schema.Struct<{
|
|
937
937
|
readonly _tag: Schema.tag<"Number">;
|
|
938
938
|
readonly annotations: Schema.optional<Schema.decodeTo<Schema.$Record<Schema.String, Schema.Unknown>, Schema.$Record<Schema.String, Schema.Codec<PrimitiveTree, PrimitiveTree, never, never>>, never, never>>;
|
|
939
|
-
readonly checks: Schema.$Array<Schema.Codec<Check<{
|
|
940
|
-
readonly _tag: "isInt"
|
|
941
|
-
} | {
|
|
942
|
-
readonly _tag: "isMultipleOf"
|
|
943
|
-
readonly divisor:
|
|
944
|
-
} | {
|
|
945
|
-
readonly _tag: "isFinite"
|
|
946
|
-
} | {
|
|
947
|
-
readonly _tag: "isGreaterThan"
|
|
948
|
-
readonly exclusiveMinimum:
|
|
949
|
-
} | {
|
|
950
|
-
readonly _tag: "isGreaterThanOrEqualTo"
|
|
951
|
-
readonly minimum:
|
|
952
|
-
} | {
|
|
953
|
-
readonly _tag: "isLessThan"
|
|
954
|
-
readonly exclusiveMaximum:
|
|
955
|
-
} | {
|
|
956
|
-
readonly _tag: "isLessThanOrEqualTo"
|
|
957
|
-
readonly maximum:
|
|
958
|
-
} | {
|
|
939
|
+
readonly checks: Schema.$Array<Schema.Codec<Check<Schema.Struct.ReadonlySide<{
|
|
940
|
+
readonly _tag: Schema.tag<"isInt">;
|
|
941
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
942
|
+
readonly _tag: Schema.tag<"isMultipleOf">;
|
|
943
|
+
readonly divisor: Schema.Finite;
|
|
944
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
945
|
+
readonly _tag: Schema.tag<"isFinite">;
|
|
946
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
947
|
+
readonly _tag: Schema.tag<"isGreaterThan">;
|
|
948
|
+
readonly exclusiveMinimum: Schema.Finite;
|
|
949
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
950
|
+
readonly _tag: Schema.tag<"isGreaterThanOrEqualTo">;
|
|
951
|
+
readonly minimum: Schema.Finite;
|
|
952
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
953
|
+
readonly _tag: Schema.tag<"isLessThan">;
|
|
954
|
+
readonly exclusiveMaximum: Schema.Finite;
|
|
955
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
956
|
+
readonly _tag: Schema.tag<"isLessThanOrEqualTo">;
|
|
957
|
+
readonly maximum: Schema.Finite;
|
|
958
|
+
}, "Type"> | {
|
|
959
959
|
readonly _tag: "isBetween";
|
|
960
960
|
readonly minimum: number;
|
|
961
961
|
readonly maximum: number;
|
|
962
962
|
readonly exclusiveMinimum?: boolean | undefined;
|
|
963
963
|
readonly exclusiveMaximum?: boolean | undefined;
|
|
964
|
-
}>, Check<{
|
|
965
|
-
readonly _tag: "isInt"
|
|
966
|
-
} | {
|
|
967
|
-
readonly _tag: "isMultipleOf"
|
|
968
|
-
readonly divisor:
|
|
969
|
-
} | {
|
|
970
|
-
readonly _tag: "isFinite"
|
|
971
|
-
} | {
|
|
972
|
-
readonly _tag: "isGreaterThan"
|
|
973
|
-
readonly exclusiveMinimum:
|
|
974
|
-
} | {
|
|
975
|
-
readonly _tag: "isGreaterThanOrEqualTo"
|
|
976
|
-
readonly minimum:
|
|
977
|
-
} | {
|
|
978
|
-
readonly _tag: "isLessThan"
|
|
979
|
-
readonly exclusiveMaximum:
|
|
980
|
-
} | {
|
|
981
|
-
readonly _tag: "isLessThanOrEqualTo"
|
|
982
|
-
readonly maximum:
|
|
983
|
-
} | {
|
|
964
|
+
}>, Check<Schema.Struct.ReadonlySide<{
|
|
965
|
+
readonly _tag: Schema.tag<"isInt">;
|
|
966
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
967
|
+
readonly _tag: Schema.tag<"isMultipleOf">;
|
|
968
|
+
readonly divisor: Schema.Finite;
|
|
969
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
970
|
+
readonly _tag: Schema.tag<"isFinite">;
|
|
971
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
972
|
+
readonly _tag: Schema.tag<"isGreaterThan">;
|
|
973
|
+
readonly exclusiveMinimum: Schema.Finite;
|
|
974
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
975
|
+
readonly _tag: Schema.tag<"isGreaterThanOrEqualTo">;
|
|
976
|
+
readonly minimum: Schema.Finite;
|
|
977
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
978
|
+
readonly _tag: Schema.tag<"isLessThan">;
|
|
979
|
+
readonly exclusiveMaximum: Schema.Finite;
|
|
980
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
981
|
+
readonly _tag: Schema.tag<"isLessThanOrEqualTo">;
|
|
982
|
+
readonly maximum: Schema.Finite;
|
|
983
|
+
}, "Type"> | {
|
|
984
984
|
readonly _tag: "isBetween";
|
|
985
985
|
readonly minimum: number;
|
|
986
986
|
readonly maximum: number;
|
|
@@ -1019,37 +1019,37 @@ export declare const $Boolean: Schema.Struct<{
|
|
|
1019
1019
|
export declare const $BigInt: Schema.Struct<{
|
|
1020
1020
|
readonly _tag: Schema.tag<"BigInt">;
|
|
1021
1021
|
readonly annotations: Schema.optional<Schema.decodeTo<Schema.$Record<Schema.String, Schema.Unknown>, Schema.$Record<Schema.String, Schema.Codec<PrimitiveTree, PrimitiveTree, never, never>>, never, never>>;
|
|
1022
|
-
readonly checks: Schema.$Array<Schema.Codec<Check<{
|
|
1023
|
-
readonly _tag: "isGreaterThanBigInt"
|
|
1024
|
-
readonly exclusiveMinimum:
|
|
1025
|
-
} | {
|
|
1026
|
-
readonly _tag: "isGreaterThanOrEqualToBigInt"
|
|
1027
|
-
readonly minimum:
|
|
1028
|
-
} | {
|
|
1029
|
-
readonly _tag: "isLessThanBigInt"
|
|
1030
|
-
readonly exclusiveMaximum:
|
|
1031
|
-
} | {
|
|
1032
|
-
readonly _tag: "isLessThanOrEqualToBigInt"
|
|
1033
|
-
readonly maximum:
|
|
1034
|
-
} | {
|
|
1022
|
+
readonly checks: Schema.$Array<Schema.Codec<Check<Schema.Struct.ReadonlySide<{
|
|
1023
|
+
readonly _tag: Schema.tag<"isGreaterThanBigInt">;
|
|
1024
|
+
readonly exclusiveMinimum: Schema.BigInt;
|
|
1025
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1026
|
+
readonly _tag: Schema.tag<"isGreaterThanOrEqualToBigInt">;
|
|
1027
|
+
readonly minimum: Schema.BigInt;
|
|
1028
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1029
|
+
readonly _tag: Schema.tag<"isLessThanBigInt">;
|
|
1030
|
+
readonly exclusiveMaximum: Schema.BigInt;
|
|
1031
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1032
|
+
readonly _tag: Schema.tag<"isLessThanOrEqualToBigInt">;
|
|
1033
|
+
readonly maximum: Schema.BigInt;
|
|
1034
|
+
}, "Type"> | {
|
|
1035
1035
|
readonly _tag: "isBetweenBigInt";
|
|
1036
1036
|
readonly minimum: bigint;
|
|
1037
1037
|
readonly maximum: bigint;
|
|
1038
1038
|
readonly exclusiveMinimum?: boolean | undefined;
|
|
1039
1039
|
readonly exclusiveMaximum?: boolean | undefined;
|
|
1040
|
-
}>, Check<{
|
|
1041
|
-
readonly _tag: "isGreaterThanBigInt"
|
|
1042
|
-
readonly exclusiveMinimum:
|
|
1043
|
-
} | {
|
|
1044
|
-
readonly _tag: "isGreaterThanOrEqualToBigInt"
|
|
1045
|
-
readonly minimum:
|
|
1046
|
-
} | {
|
|
1047
|
-
readonly _tag: "isLessThanBigInt"
|
|
1048
|
-
readonly exclusiveMaximum:
|
|
1049
|
-
} | {
|
|
1050
|
-
readonly _tag: "isLessThanOrEqualToBigInt"
|
|
1051
|
-
readonly maximum:
|
|
1052
|
-
} | {
|
|
1040
|
+
}>, Check<Schema.Struct.ReadonlySide<{
|
|
1041
|
+
readonly _tag: Schema.tag<"isGreaterThanBigInt">;
|
|
1042
|
+
readonly exclusiveMinimum: Schema.BigInt;
|
|
1043
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1044
|
+
readonly _tag: Schema.tag<"isGreaterThanOrEqualToBigInt">;
|
|
1045
|
+
readonly minimum: Schema.BigInt;
|
|
1046
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1047
|
+
readonly _tag: Schema.tag<"isLessThanBigInt">;
|
|
1048
|
+
readonly exclusiveMaximum: Schema.BigInt;
|
|
1049
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1050
|
+
readonly _tag: Schema.tag<"isLessThanOrEqualToBigInt">;
|
|
1051
|
+
readonly maximum: Schema.BigInt;
|
|
1052
|
+
}, "Type"> | {
|
|
1053
1053
|
readonly _tag: "isBetweenBigInt";
|
|
1054
1054
|
readonly minimum: bigint;
|
|
1055
1055
|
readonly maximum: bigint;
|
|
@@ -1155,31 +1155,31 @@ export declare const $Arrays: Schema.Struct<{
|
|
|
1155
1155
|
readonly annotations: Schema.optional<Schema.decodeTo<Schema.$Record<Schema.String, Schema.Unknown>, Schema.$Record<Schema.String, Schema.Codec<PrimitiveTree, PrimitiveTree, never, never>>, never, never>>;
|
|
1156
1156
|
}>>;
|
|
1157
1157
|
readonly rest: Schema.$Array<Schema.suspend<$Representation>>;
|
|
1158
|
-
readonly checks: Schema.$Array<Schema.Codec<Check<{
|
|
1159
|
-
readonly _tag: "isMinLength"
|
|
1160
|
-
readonly minLength:
|
|
1161
|
-
} | {
|
|
1162
|
-
readonly _tag: "isMaxLength"
|
|
1163
|
-
readonly maxLength:
|
|
1164
|
-
} | {
|
|
1165
|
-
readonly _tag: "isLengthBetween"
|
|
1166
|
-
readonly minimum:
|
|
1167
|
-
readonly maximum:
|
|
1168
|
-
} | {
|
|
1169
|
-
readonly _tag: "isUnique"
|
|
1170
|
-
}
|
|
1171
|
-
readonly _tag: "isMinLength"
|
|
1172
|
-
readonly minLength:
|
|
1173
|
-
} | {
|
|
1174
|
-
readonly _tag: "isMaxLength"
|
|
1175
|
-
readonly maxLength:
|
|
1176
|
-
} | {
|
|
1177
|
-
readonly _tag: "isLengthBetween"
|
|
1178
|
-
readonly minimum:
|
|
1179
|
-
readonly maximum:
|
|
1180
|
-
} | {
|
|
1181
|
-
readonly _tag: "isUnique"
|
|
1182
|
-
}
|
|
1158
|
+
readonly checks: Schema.$Array<Schema.Codec<Check<Schema.Struct.ReadonlySide<{
|
|
1159
|
+
readonly _tag: Schema.tag<"isMinLength">;
|
|
1160
|
+
readonly minLength: Schema.Int;
|
|
1161
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1162
|
+
readonly _tag: Schema.tag<"isMaxLength">;
|
|
1163
|
+
readonly maxLength: Schema.Int;
|
|
1164
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1165
|
+
readonly _tag: Schema.tag<"isLengthBetween">;
|
|
1166
|
+
readonly minimum: Schema.Int;
|
|
1167
|
+
readonly maximum: Schema.Int;
|
|
1168
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1169
|
+
readonly _tag: Schema.tag<"isUnique">;
|
|
1170
|
+
}, "Type">>, Check<Schema.Struct.ReadonlySide<{
|
|
1171
|
+
readonly _tag: Schema.tag<"isMinLength">;
|
|
1172
|
+
readonly minLength: Schema.Int;
|
|
1173
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1174
|
+
readonly _tag: Schema.tag<"isMaxLength">;
|
|
1175
|
+
readonly maxLength: Schema.Int;
|
|
1176
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1177
|
+
readonly _tag: Schema.tag<"isLengthBetween">;
|
|
1178
|
+
readonly minimum: Schema.Int;
|
|
1179
|
+
readonly maximum: Schema.Int;
|
|
1180
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1181
|
+
readonly _tag: Schema.tag<"isUnique">;
|
|
1182
|
+
}, "Type">>, never, never>>;
|
|
1183
1183
|
}>;
|
|
1184
1184
|
/**
|
|
1185
1185
|
* Schema for the {@link PropertySignature} type.
|
|
@@ -1244,33 +1244,33 @@ export declare const $Objects: Schema.Struct<{
|
|
|
1244
1244
|
readonly parameter: Schema.suspend<$Representation>;
|
|
1245
1245
|
readonly type: Schema.suspend<$Representation>;
|
|
1246
1246
|
}>>;
|
|
1247
|
-
readonly checks: Schema.$Array<Schema.Codec<Check<{
|
|
1248
|
-
readonly _tag: "isMinProperties"
|
|
1249
|
-
readonly minProperties:
|
|
1250
|
-
} | {
|
|
1251
|
-
readonly _tag: "isMaxProperties"
|
|
1252
|
-
readonly maxProperties:
|
|
1253
|
-
} | {
|
|
1254
|
-
readonly _tag: "isPropertiesLengthBetween"
|
|
1255
|
-
readonly minimum:
|
|
1256
|
-
readonly maximum:
|
|
1257
|
-
} | {
|
|
1258
|
-
readonly _tag: "isPropertyNames"
|
|
1259
|
-
readonly propertyNames: Representation
|
|
1260
|
-
}
|
|
1261
|
-
readonly _tag: "isMinProperties"
|
|
1262
|
-
readonly minProperties:
|
|
1263
|
-
} | {
|
|
1264
|
-
readonly _tag: "isMaxProperties"
|
|
1265
|
-
readonly maxProperties:
|
|
1266
|
-
} | {
|
|
1267
|
-
readonly _tag: "isPropertiesLengthBetween"
|
|
1268
|
-
readonly minimum:
|
|
1269
|
-
readonly maximum:
|
|
1270
|
-
} | {
|
|
1271
|
-
readonly _tag: "isPropertyNames"
|
|
1272
|
-
readonly propertyNames: Representation
|
|
1273
|
-
}
|
|
1247
|
+
readonly checks: Schema.$Array<Schema.Codec<Check<Schema.Struct.ReadonlySide<{
|
|
1248
|
+
readonly _tag: Schema.tag<"isMinProperties">;
|
|
1249
|
+
readonly minProperties: Schema.Int;
|
|
1250
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1251
|
+
readonly _tag: Schema.tag<"isMaxProperties">;
|
|
1252
|
+
readonly maxProperties: Schema.Int;
|
|
1253
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1254
|
+
readonly _tag: Schema.tag<"isPropertiesLengthBetween">;
|
|
1255
|
+
readonly minimum: Schema.Int;
|
|
1256
|
+
readonly maximum: Schema.Int;
|
|
1257
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1258
|
+
readonly _tag: Schema.tag<"isPropertyNames">;
|
|
1259
|
+
readonly propertyNames: Schema.suspend<$Representation>;
|
|
1260
|
+
}, "Type">>, Check<Schema.Struct.ReadonlySide<{
|
|
1261
|
+
readonly _tag: Schema.tag<"isMinProperties">;
|
|
1262
|
+
readonly minProperties: Schema.Int;
|
|
1263
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1264
|
+
readonly _tag: Schema.tag<"isMaxProperties">;
|
|
1265
|
+
readonly maxProperties: Schema.Int;
|
|
1266
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1267
|
+
readonly _tag: Schema.tag<"isPropertiesLengthBetween">;
|
|
1268
|
+
readonly minimum: Schema.Int;
|
|
1269
|
+
readonly maximum: Schema.Int;
|
|
1270
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1271
|
+
readonly _tag: Schema.tag<"isPropertyNames">;
|
|
1272
|
+
readonly propertyNames: Schema.suspend<$Representation>;
|
|
1273
|
+
}, "Type">>, never, never>>;
|
|
1274
1274
|
}>;
|
|
1275
1275
|
/**
|
|
1276
1276
|
* Schema for the {@link Union} representation node.
|
|
@@ -1385,67 +1385,67 @@ export declare const $Declaration: Schema.Struct<{
|
|
|
1385
1385
|
readonly _tag: Schema.tag<"Declaration">;
|
|
1386
1386
|
readonly annotations: Schema.optional<Schema.decodeTo<Schema.$Record<Schema.String, Schema.Unknown>, Schema.$Record<Schema.String, Schema.Codec<PrimitiveTree, PrimitiveTree, never, never>>, never, never>>;
|
|
1387
1387
|
readonly typeParameters: Schema.$Array<Schema.suspend<$Representation>>;
|
|
1388
|
-
readonly checks: Schema.$Array<Schema.Codec<Check<{
|
|
1389
|
-
readonly _tag: "isDateValid"
|
|
1390
|
-
} | {
|
|
1391
|
-
readonly _tag: "isGreaterThanDate"
|
|
1392
|
-
readonly exclusiveMinimum: Date;
|
|
1393
|
-
} | {
|
|
1394
|
-
readonly _tag: "isGreaterThanOrEqualToDate"
|
|
1395
|
-
readonly minimum: Date;
|
|
1396
|
-
} | {
|
|
1397
|
-
readonly _tag: "isLessThanDate"
|
|
1398
|
-
readonly exclusiveMaximum: Date;
|
|
1399
|
-
} | {
|
|
1400
|
-
readonly _tag: "isLessThanOrEqualToDate"
|
|
1401
|
-
readonly maximum: Date;
|
|
1402
|
-
} | {
|
|
1388
|
+
readonly checks: Schema.$Array<Schema.Codec<Check<Schema.Struct.ReadonlySide<{
|
|
1389
|
+
readonly _tag: Schema.tag<"isDateValid">;
|
|
1390
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1391
|
+
readonly _tag: Schema.tag<"isGreaterThanDate">;
|
|
1392
|
+
readonly exclusiveMinimum: Schema.Date;
|
|
1393
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1394
|
+
readonly _tag: Schema.tag<"isGreaterThanOrEqualToDate">;
|
|
1395
|
+
readonly minimum: Schema.Date;
|
|
1396
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1397
|
+
readonly _tag: Schema.tag<"isLessThanDate">;
|
|
1398
|
+
readonly exclusiveMaximum: Schema.Date;
|
|
1399
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1400
|
+
readonly _tag: Schema.tag<"isLessThanOrEqualToDate">;
|
|
1401
|
+
readonly maximum: Schema.Date;
|
|
1402
|
+
}, "Type"> | {
|
|
1403
1403
|
readonly _tag: "isBetweenDate";
|
|
1404
1404
|
readonly minimum: Date;
|
|
1405
1405
|
readonly maximum: Date;
|
|
1406
1406
|
readonly exclusiveMinimum?: boolean | undefined;
|
|
1407
1407
|
readonly exclusiveMaximum?: boolean | undefined;
|
|
1408
|
-
} | {
|
|
1409
|
-
readonly _tag: "isMinSize"
|
|
1410
|
-
readonly minSize:
|
|
1411
|
-
} | {
|
|
1412
|
-
readonly _tag: "isMaxSize"
|
|
1413
|
-
readonly maxSize:
|
|
1414
|
-
} | {
|
|
1415
|
-
readonly _tag: "isSizeBetween"
|
|
1416
|
-
readonly minimum:
|
|
1417
|
-
readonly maximum:
|
|
1418
|
-
}
|
|
1419
|
-
readonly _tag: "isDateValid"
|
|
1420
|
-
} | {
|
|
1421
|
-
readonly _tag: "isGreaterThanDate"
|
|
1422
|
-
readonly exclusiveMinimum: Date;
|
|
1423
|
-
} | {
|
|
1424
|
-
readonly _tag: "isGreaterThanOrEqualToDate"
|
|
1425
|
-
readonly minimum: Date;
|
|
1426
|
-
} | {
|
|
1427
|
-
readonly _tag: "isLessThanDate"
|
|
1428
|
-
readonly exclusiveMaximum: Date;
|
|
1429
|
-
} | {
|
|
1430
|
-
readonly _tag: "isLessThanOrEqualToDate"
|
|
1431
|
-
readonly maximum: Date;
|
|
1432
|
-
} | {
|
|
1408
|
+
} | Schema.Struct.ReadonlySide<{
|
|
1409
|
+
readonly _tag: Schema.tag<"isMinSize">;
|
|
1410
|
+
readonly minSize: Schema.Int;
|
|
1411
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1412
|
+
readonly _tag: Schema.tag<"isMaxSize">;
|
|
1413
|
+
readonly maxSize: Schema.Int;
|
|
1414
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1415
|
+
readonly _tag: Schema.tag<"isSizeBetween">;
|
|
1416
|
+
readonly minimum: Schema.Int;
|
|
1417
|
+
readonly maximum: Schema.Int;
|
|
1418
|
+
}, "Type">>, Check<Schema.Struct.ReadonlySide<{
|
|
1419
|
+
readonly _tag: Schema.tag<"isDateValid">;
|
|
1420
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1421
|
+
readonly _tag: Schema.tag<"isGreaterThanDate">;
|
|
1422
|
+
readonly exclusiveMinimum: Schema.Date;
|
|
1423
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1424
|
+
readonly _tag: Schema.tag<"isGreaterThanOrEqualToDate">;
|
|
1425
|
+
readonly minimum: Schema.Date;
|
|
1426
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1427
|
+
readonly _tag: Schema.tag<"isLessThanDate">;
|
|
1428
|
+
readonly exclusiveMaximum: Schema.Date;
|
|
1429
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1430
|
+
readonly _tag: Schema.tag<"isLessThanOrEqualToDate">;
|
|
1431
|
+
readonly maximum: Schema.Date;
|
|
1432
|
+
}, "Type"> | {
|
|
1433
1433
|
readonly _tag: "isBetweenDate";
|
|
1434
1434
|
readonly minimum: Date;
|
|
1435
1435
|
readonly maximum: Date;
|
|
1436
1436
|
readonly exclusiveMinimum?: boolean | undefined;
|
|
1437
1437
|
readonly exclusiveMaximum?: boolean | undefined;
|
|
1438
|
-
} | {
|
|
1439
|
-
readonly _tag: "isMinSize"
|
|
1440
|
-
readonly minSize:
|
|
1441
|
-
} | {
|
|
1442
|
-
readonly _tag: "isMaxSize"
|
|
1443
|
-
readonly maxSize:
|
|
1444
|
-
} | {
|
|
1445
|
-
readonly _tag: "isSizeBetween"
|
|
1446
|
-
readonly minimum:
|
|
1447
|
-
readonly maximum:
|
|
1448
|
-
}
|
|
1438
|
+
} | Schema.Struct.ReadonlySide<{
|
|
1439
|
+
readonly _tag: Schema.tag<"isMinSize">;
|
|
1440
|
+
readonly minSize: Schema.Int;
|
|
1441
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1442
|
+
readonly _tag: Schema.tag<"isMaxSize">;
|
|
1443
|
+
readonly maxSize: Schema.Int;
|
|
1444
|
+
}, "Type"> | Schema.Struct.ReadonlySide<{
|
|
1445
|
+
readonly _tag: Schema.tag<"isSizeBetween">;
|
|
1446
|
+
readonly minimum: Schema.Int;
|
|
1447
|
+
readonly maximum: Schema.Int;
|
|
1448
|
+
}, "Type">>, never, never>>;
|
|
1449
1449
|
readonly encodedSchema: Schema.suspend<$Representation>;
|
|
1450
1450
|
}>;
|
|
1451
1451
|
/**
|