effect-app 4.0.0-beta.25 → 4.0.0-beta.250
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/CHANGELOG.md +1131 -0
- package/dist/Array.d.ts +3 -2
- package/dist/Array.d.ts.map +1 -1
- package/dist/Array.js +4 -4
- package/dist/Chunk.d.ts +1 -1
- package/dist/Chunk.d.ts.map +1 -1
- package/dist/Config/SecretURL.d.ts +4 -2
- package/dist/Config/SecretURL.d.ts.map +1 -1
- package/dist/Config/SecretURL.js +3 -6
- package/dist/Config/internal/configSecretURL.d.ts +1 -1
- package/dist/Config/internal/configSecretURL.d.ts.map +1 -1
- package/dist/Config/internal/configSecretURL.js +2 -2
- package/dist/Config.d.ts +7 -0
- package/dist/Config.d.ts.map +1 -0
- package/dist/Config.js +6 -0
- package/dist/ConfigProvider.d.ts +39 -0
- package/dist/ConfigProvider.d.ts.map +1 -0
- package/dist/ConfigProvider.js +42 -0
- package/dist/Context.d.ts +42 -0
- package/dist/Context.d.ts.map +1 -0
- package/dist/Context.js +67 -0
- package/dist/Effect.d.ts +13 -12
- package/dist/Effect.d.ts.map +1 -1
- package/dist/Effect.js +5 -8
- package/dist/Emailer.d.ts +51 -0
- package/dist/Emailer.d.ts.map +1 -0
- package/dist/Emailer.js +7 -0
- package/dist/Function.d.ts +1 -1
- package/dist/Function.d.ts.map +1 -1
- package/dist/Inputify.type.d.ts +1 -1
- package/dist/Layer.d.ts +11 -7
- package/dist/Layer.d.ts.map +1 -1
- package/dist/Layer.js +3 -2
- package/dist/Model/Repository/Registry.d.ts +21 -0
- package/dist/Model/Repository/Registry.d.ts.map +1 -0
- package/dist/Model/Repository/Registry.js +18 -0
- package/dist/Model/Repository/ext.d.ts +60 -0
- package/dist/Model/Repository/ext.d.ts.map +1 -0
- package/dist/Model/Repository/ext.js +122 -0
- package/dist/Model/Repository/internal/internal.d.ts +62 -0
- package/dist/Model/Repository/internal/internal.d.ts.map +1 -0
- package/dist/Model/Repository/internal/internal.js +398 -0
- package/dist/Model/Repository/legacy.d.ts +21 -0
- package/dist/Model/Repository/legacy.d.ts.map +1 -0
- package/dist/Model/Repository/legacy.js +2 -0
- package/dist/Model/Repository/makeRepo.d.ts +53 -0
- package/dist/Model/Repository/makeRepo.d.ts.map +1 -0
- package/dist/Model/Repository/makeRepo.js +27 -0
- package/dist/Model/Repository/service.d.ts +97 -0
- package/dist/Model/Repository/service.d.ts.map +1 -0
- package/dist/Model/Repository/service.js +2 -0
- package/dist/Model/Repository/validation.d.ts +71 -0
- package/dist/Model/Repository/validation.d.ts.map +1 -0
- package/dist/Model/Repository/validation.js +32 -0
- package/dist/Model/Repository.d.ts +7 -0
- package/dist/Model/Repository.d.ts.map +1 -0
- package/dist/Model/Repository.js +7 -0
- package/dist/Model/dsl.d.ts +33 -0
- package/dist/Model/dsl.d.ts.map +1 -0
- package/dist/Model/dsl.js +43 -0
- package/dist/Model/filter/filterApi.d.ts +30 -0
- package/dist/Model/filter/filterApi.d.ts.map +1 -0
- package/dist/Model/filter/filterApi.js +2 -0
- package/dist/Model/filter/types/errors.d.ts +29 -0
- package/dist/Model/filter/types/errors.d.ts.map +1 -0
- package/dist/Model/filter/types/errors.js +2 -0
- package/dist/Model/filter/types/fields.d.ts +15 -0
- package/dist/Model/filter/types/fields.d.ts.map +1 -0
- package/dist/Model/filter/types/fields.js +2 -0
- package/dist/Model/filter/types/path/common.d.ts +316 -0
- package/dist/Model/filter/types/path/common.d.ts.map +1 -0
- package/dist/Model/filter/types/path/common.js +2 -0
- package/dist/Model/filter/types/path/eager.d.ts +95 -0
- package/dist/Model/filter/types/path/eager.d.ts.map +1 -0
- package/dist/Model/filter/types/path/eager.js +31 -0
- package/dist/Model/filter/types/path/index.d.ts +4 -0
- package/dist/Model/filter/types/path/index.d.ts.map +1 -0
- package/dist/Model/filter/types/path/index.js +3 -0
- package/dist/Model/filter/types/utils.d.ts +79 -0
- package/dist/Model/filter/types/utils.d.ts.map +1 -0
- package/dist/Model/filter/types/utils.js +2 -0
- package/dist/Model/filter/types/validator.d.ts +30 -0
- package/dist/Model/filter/types/validator.d.ts.map +1 -0
- package/dist/Model/filter/types/validator.js +2 -0
- package/dist/Model/filter/types.d.ts +5 -0
- package/dist/Model/filter/types.d.ts.map +1 -0
- package/dist/Model/filter/types.js +7 -0
- package/dist/Model/query/dsl.d.ts +446 -0
- package/dist/Model/query/dsl.d.ts.map +1 -0
- package/dist/Model/query/dsl.js +342 -0
- package/dist/Model/query/new-kid-interpreter.d.ts +136 -0
- package/dist/Model/query/new-kid-interpreter.d.ts.map +1 -0
- package/dist/Model/query/new-kid-interpreter.js +336 -0
- package/dist/Model/query.d.ts +15 -0
- package/dist/Model/query.d.ts.map +1 -0
- package/dist/Model/query.js +3 -0
- package/dist/Model.d.ts +5 -0
- package/dist/Model.d.ts.map +1 -0
- package/dist/Model.js +5 -0
- package/dist/NonEmptySet.d.ts +4 -2
- package/dist/NonEmptySet.d.ts.map +1 -1
- package/dist/NonEmptySet.js +2 -2
- package/dist/Option.d.ts +2 -1
- package/dist/Option.d.ts.map +1 -1
- package/dist/Option.js +3 -1
- package/dist/Pure.d.ts +8 -6
- package/dist/Pure.d.ts.map +1 -1
- package/dist/Pure.js +17 -14
- package/dist/QueueMaker.d.ts +13 -0
- package/dist/QueueMaker.d.ts.map +1 -0
- package/dist/QueueMaker.js +4 -0
- package/dist/RequestContext.d.ts +103 -0
- package/dist/RequestContext.d.ts.map +1 -0
- package/dist/RequestContext.js +49 -0
- package/dist/Schema/Class.d.ts +66 -20
- package/dist/Schema/Class.d.ts.map +1 -1
- package/dist/Schema/Class.js +192 -23
- package/dist/Schema/FastCheck.d.ts +1 -1
- package/dist/Schema/FastCheck.d.ts.map +1 -1
- package/dist/Schema/Methods.d.ts +1 -1
- package/dist/Schema/SchemaParser.d.ts +5 -0
- package/dist/Schema/SchemaParser.d.ts.map +1 -0
- package/dist/Schema/SchemaParser.js +6 -0
- package/dist/Schema/SpecialJsonSchema.d.ts +34 -0
- package/dist/Schema/SpecialJsonSchema.d.ts.map +1 -0
- package/dist/Schema/SpecialJsonSchema.js +118 -0
- package/dist/Schema/SpecialOpenApi.d.ts +32 -0
- package/dist/Schema/SpecialOpenApi.d.ts.map +1 -0
- package/dist/Schema/SpecialOpenApi.js +123 -0
- package/dist/Schema/brand.d.ts +5 -3
- package/dist/Schema/brand.d.ts.map +1 -1
- package/dist/Schema/brand.js +3 -1
- package/dist/Schema/email.d.ts +1 -1
- package/dist/Schema/email.d.ts.map +1 -1
- package/dist/Schema/email.js +7 -4
- package/dist/Schema/ext.d.ts +339 -56
- package/dist/Schema/ext.d.ts.map +1 -1
- package/dist/Schema/ext.js +358 -53
- package/dist/Schema/moreStrings.d.ts +108 -26
- package/dist/Schema/moreStrings.d.ts.map +1 -1
- package/dist/Schema/moreStrings.js +45 -16
- package/dist/Schema/numbers.d.ts +55 -15
- package/dist/Schema/numbers.d.ts.map +1 -1
- package/dist/Schema/numbers.js +60 -12
- package/dist/Schema/phoneNumber.d.ts +1 -1
- package/dist/Schema/phoneNumber.d.ts.map +1 -1
- package/dist/Schema/phoneNumber.js +6 -3
- package/dist/Schema/schema.d.ts +1 -1
- package/dist/Schema/strings.d.ts +5 -5
- package/dist/Schema/strings.d.ts.map +1 -1
- package/dist/Schema/strings.js +1 -5
- package/dist/Schema.d.ts +214 -8
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +190 -11
- package/dist/Set.d.ts +5 -2
- package/dist/Set.d.ts.map +1 -1
- package/dist/Set.js +3 -2
- package/dist/Store.d.ts +166 -0
- package/dist/Store.d.ts.map +1 -0
- package/dist/Store.js +117 -0
- package/dist/TypeTest.d.ts +1 -1
- package/dist/Types.d.ts +1 -1
- package/dist/Widen.type.d.ts +1 -1
- package/dist/_ext/Array.d.ts +2 -2
- package/dist/_ext/Array.d.ts.map +1 -1
- package/dist/_ext/Array.js +4 -2
- package/dist/_ext/date.d.ts +1 -1
- package/dist/_ext/misc.d.ts +5 -2
- package/dist/_ext/misc.d.ts.map +1 -1
- package/dist/_ext/misc.js +4 -2
- package/dist/_ext/ord.ext.d.ts +3 -2
- package/dist/_ext/ord.ext.d.ts.map +1 -1
- package/dist/_ext/ord.ext.js +2 -2
- package/dist/builtin.d.ts +1 -1
- package/dist/builtin.d.ts.map +1 -1
- package/dist/client/InvalidationKeys.d.ts +29 -0
- package/dist/client/InvalidationKeys.d.ts.map +1 -0
- package/dist/client/InvalidationKeys.js +33 -0
- package/dist/client/apiClientFactory.d.ts +20 -32
- package/dist/client/apiClientFactory.d.ts.map +1 -1
- package/dist/client/apiClientFactory.js +104 -34
- package/dist/client/clientFor.d.ts +53 -19
- package/dist/client/clientFor.d.ts.map +1 -1
- package/dist/client/clientFor.js +9 -1
- package/dist/client/errors.d.ts +49 -25
- package/dist/client/errors.d.ts.map +1 -1
- package/dist/client/errors.js +43 -17
- package/dist/client/makeClient.d.ts +495 -33
- package/dist/client/makeClient.d.ts.map +1 -1
- package/dist/client/makeClient.js +66 -24
- package/dist/client.d.ts +6 -5
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -1
- package/dist/faker.d.ts +1 -1
- package/dist/faker.d.ts.map +1 -1
- package/dist/http/Request.d.ts +2 -2
- package/dist/http/Request.d.ts.map +1 -1
- package/dist/http/Request.js +2 -2
- package/dist/http/internal/lib.d.ts +1 -1
- package/dist/http.d.ts +1 -1
- package/dist/ids.d.ts +40 -12
- package/dist/ids.d.ts.map +1 -1
- package/dist/ids.js +25 -3
- package/dist/index.d.ts +7 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -8
- package/dist/logger.d.ts +1 -1
- package/dist/middleware.d.ts +14 -8
- package/dist/middleware.d.ts.map +1 -1
- package/dist/middleware.js +14 -8
- package/dist/rpc/Invalidation.d.ts +420 -0
- package/dist/rpc/Invalidation.d.ts.map +1 -0
- package/dist/rpc/Invalidation.js +168 -0
- package/dist/rpc/MiddlewareMaker.d.ts +12 -8
- package/dist/rpc/MiddlewareMaker.d.ts.map +1 -1
- package/dist/rpc/MiddlewareMaker.js +59 -38
- package/dist/rpc/RpcContextMap.d.ts +4 -4
- package/dist/rpc/RpcContextMap.d.ts.map +1 -1
- package/dist/rpc/RpcContextMap.js +4 -4
- package/dist/rpc/RpcMiddleware.d.ts +15 -11
- package/dist/rpc/RpcMiddleware.d.ts.map +1 -1
- package/dist/rpc/RpcMiddleware.js +1 -1
- package/dist/rpc.d.ts +2 -2
- package/dist/rpc.d.ts.map +1 -1
- package/dist/rpc.js +2 -2
- package/dist/runtime.d.ts +19 -0
- package/dist/runtime.d.ts.map +1 -0
- package/dist/runtime.js +40 -0
- package/dist/toast.d.ts +51 -0
- package/dist/toast.d.ts.map +1 -0
- package/dist/toast.js +34 -0
- package/dist/transform.d.ts +2 -2
- package/dist/transform.d.ts.map +1 -1
- package/dist/transform.js +4 -5
- package/dist/utils/effectify.d.ts +2 -2
- package/dist/utils/effectify.d.ts.map +1 -1
- package/dist/utils/effectify.js +2 -2
- package/dist/utils/extend.d.ts +1 -1
- package/dist/utils/extend.d.ts.map +1 -1
- package/dist/utils/gen.d.ts +5 -5
- package/dist/utils/gen.d.ts.map +1 -1
- package/dist/utils/logLevel.d.ts +3 -3
- package/dist/utils/logLevel.d.ts.map +1 -1
- package/dist/utils/logger.d.ts +5 -4
- package/dist/utils/logger.d.ts.map +1 -1
- package/dist/utils/logger.js +4 -4
- package/dist/utils.d.ts +40 -45
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +19 -27
- package/dist/validation/validators.d.ts +1 -1
- package/dist/validation/validators.d.ts.map +1 -1
- package/dist/validation.d.ts +1 -1
- package/dist/validation.d.ts.map +1 -1
- package/dist/withToast.d.ts +30 -0
- package/dist/withToast.d.ts.map +1 -0
- package/dist/withToast.js +64 -0
- package/package.json +158 -24
- package/src/Array.ts +3 -3
- package/src/Config/SecretURL.ts +5 -2
- package/src/Config/internal/configSecretURL.ts +1 -1
- package/src/Config.ts +14 -0
- package/src/ConfigProvider.ts +48 -0
- package/src/{ServiceMap.ts → Context.ts} +56 -63
- package/src/Effect.ts +12 -14
- package/src/Emailer.ts +51 -0
- package/src/Layer.ts +10 -6
- package/src/Model/Repository/Registry.ts +34 -0
- package/src/Model/Repository/ext.ts +375 -0
- package/src/Model/Repository/internal/internal.ts +692 -0
- package/src/Model/Repository/legacy.ts +29 -0
- package/src/Model/Repository/makeRepo.ts +144 -0
- package/src/Model/Repository/service.ts +639 -0
- package/src/Model/Repository/validation.ts +31 -0
- package/src/Model/Repository.ts +6 -0
- package/src/Model/dsl.ts +129 -0
- package/src/Model/filter/filterApi.ts +60 -0
- package/src/Model/filter/types/errors.ts +47 -0
- package/src/Model/filter/types/fields.ts +50 -0
- package/src/Model/filter/types/path/common.ts +404 -0
- package/src/Model/filter/types/path/eager.ts +297 -0
- package/src/Model/filter/types/path/index.ts +4 -0
- package/src/Model/filter/types/utils.ts +128 -0
- package/src/Model/filter/types/validator.ts +46 -0
- package/src/Model/filter/types.ts +6 -0
- package/src/Model/query/dsl.ts +2546 -0
- package/src/Model/query/new-kid-interpreter.ts +484 -0
- package/src/Model/query.ts +13 -0
- package/src/Model.ts +4 -0
- package/src/NonEmptySet.ts +3 -1
- package/src/Option.ts +2 -0
- package/src/Pure.ts +21 -19
- package/src/QueueMaker.ts +19 -0
- package/src/RequestContext.ts +62 -0
- package/src/Schema/Class.ts +274 -64
- package/src/Schema/SchemaParser.ts +12 -0
- package/src/Schema/SpecialJsonSchema.ts +139 -0
- package/src/Schema/SpecialOpenApi.ts +130 -0
- package/src/Schema/brand.ts +22 -2
- package/src/Schema/email.ts +7 -2
- package/src/Schema/ext.ts +443 -88
- package/src/Schema/moreStrings.ts +93 -37
- package/src/Schema/numbers.ts +64 -16
- package/src/Schema/phoneNumber.ts +5 -1
- package/src/Schema/strings.ts +4 -8
- package/src/Schema.ts +374 -10
- package/src/Set.ts +5 -1
- package/src/Store.ts +273 -0
- package/src/_ext/Array.ts +3 -1
- package/src/_ext/misc.ts +4 -1
- package/src/_ext/ord.ext.ts +2 -1
- package/src/client/InvalidationKeys.ts +50 -0
- package/src/client/apiClientFactory.ts +230 -131
- package/src/client/clientFor.ts +102 -31
- package/src/client/errors.ts +52 -26
- package/src/client/makeClient.ts +592 -71
- package/src/client.ts +5 -4
- package/src/http/Request.ts +1 -1
- package/src/ids.ts +25 -3
- package/src/index.ts +7 -10
- package/src/middleware.ts +13 -9
- package/src/rpc/Invalidation.ts +261 -0
- package/src/rpc/MiddlewareMaker.ts +83 -75
- package/src/rpc/README.md +2 -2
- package/src/rpc/RpcContextMap.ts +6 -5
- package/src/rpc/RpcMiddleware.ts +18 -12
- package/src/rpc.ts +1 -1
- package/src/runtime.ts +56 -0
- package/src/toast.ts +54 -0
- package/src/transform.ts +3 -3
- package/src/utils/effectify.ts +1 -1
- package/src/utils/gen.ts +8 -8
- package/src/utils/logLevel.ts +1 -1
- package/src/utils/logger.ts +4 -3
- package/src/utils.ts +62 -139
- package/src/withToast.ts +133 -0
- package/test/dist/rpc-dynamic-middleware.test.d.ts.map +1 -0
- package/test/dist/rpc.test.d.ts.map +1 -1
- package/test/dist/secretURL.test.d.ts.map +1 -0
- package/test/dist/special.test.d.ts.map +1 -0
- package/test/dist/stream-error.types.d.ts +2 -0
- package/test/dist/stream-error.types.d.ts.map +1 -0
- package/test/dist/stream-error.types.js +27 -0
- package/test/moreStrings.test.ts +1 -1
- package/test/rpc.test.ts +46 -6
- package/test/schema.test.ts +459 -30
- package/test/secretURL.test.ts +160 -0
- package/test/special.test.ts +1026 -0
- package/test/utils.test.ts +7 -7
- package/tsconfig.base.json +6 -5
- package/tsconfig.json +2 -1
- package/tsconfig.json.bak +2 -2
- package/tsconfig.src.json +29 -29
- package/tsconfig.test.json +2 -2
- package/dist/Operations.d.ts +0 -123
- package/dist/Operations.d.ts.map +0 -1
- package/dist/Operations.js +0 -29
- package/dist/ServiceMap.d.ts +0 -44
- package/dist/ServiceMap.d.ts.map +0 -1
- package/dist/ServiceMap.js +0 -91
- package/eslint.config.mjs +0 -26
- package/src/Operations.ts +0 -55
|
@@ -1,42 +1,504 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type * as Exit from "effect/Exit";
|
|
2
|
+
import { type GetContextConfig, type RpcContextMap } from "../rpc/RpcContextMap.js";
|
|
2
3
|
import * as S from "../Schema.js";
|
|
4
|
+
import type { ClientForOptions } from "./clientFor.js";
|
|
5
|
+
/**
|
|
6
|
+
* Minimal structural shape for an rpc-client middleware tag.
|
|
7
|
+
* Captures only what `makeRpcClient` and routing/client factory consume from it
|
|
8
|
+
* (no `Default` layer required — that is provided to `makeRouter`).
|
|
9
|
+
*/
|
|
10
|
+
export interface ClientMiddleware<RequestContextMap extends Record<string, RpcContextMap.Any>> {
|
|
11
|
+
readonly requestContextMap: RequestContextMap;
|
|
12
|
+
readonly requestContext: unknown;
|
|
13
|
+
readonly provides?: unknown;
|
|
14
|
+
readonly requires?: unknown;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Whatever the input, we will only decode or encode to void
|
|
18
|
+
*/
|
|
19
|
+
export declare const ForceVoid: S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>;
|
|
3
20
|
type SchemaOrFields<T> = T extends S.Top ? T : T extends S.Struct.Fields ? S.Struct<T> : S.Void;
|
|
4
|
-
type
|
|
5
|
-
|
|
21
|
+
type TaggedRequestSchema<Tag extends string, Payload extends S.Struct.Fields> = S.Struct<{
|
|
22
|
+
readonly _tag: S.tag<Tag>;
|
|
23
|
+
} & Payload>;
|
|
24
|
+
type QueryOnlyRequests<Resource> = {
|
|
25
|
+
[K in keyof Resource as Resource[K] extends {
|
|
26
|
+
readonly type: "query";
|
|
27
|
+
} ? K : never]: Resource[K];
|
|
28
|
+
};
|
|
29
|
+
type QueryOnlyResources<Resources> = {
|
|
30
|
+
[K in keyof Resources]: QueryOnlyRequests<Resources[K]>;
|
|
31
|
+
};
|
|
32
|
+
type InputFromPayload<Payload extends S.Struct.Fields> = keyof Payload extends never ? void : S.Struct<Payload>["Type"];
|
|
33
|
+
type OutputFromSuccess<Success extends S.Top> = Success extends typeof ForceVoid ? void : Success["Type"];
|
|
34
|
+
type InvalidationResources = Record<string, Record<string, unknown>>;
|
|
35
|
+
/**
|
|
36
|
+
* An invalidation instruction returned from `invalidatesQueries`. One of:
|
|
37
|
+
* - a raw query key (`ReadonlyArray<string>`)
|
|
38
|
+
* - an RPC handler object (`{ id, options? }`) — query key derived from `id`
|
|
39
|
+
* - the raw `{ filters, options }` tanstack-query shape
|
|
40
|
+
*
|
|
41
|
+
* `Filters` / `Options` are widened to `Record<string, unknown>` by default so
|
|
42
|
+
* the effect-app core has no dependency on `@tanstack/vue-query`. The vue
|
|
43
|
+
* adapter narrows them via the `InvalidationEntry` alias.
|
|
44
|
+
*/
|
|
45
|
+
export type InvalidateQueryInstruction<Filters = Record<string, unknown>, Options = Record<string, unknown>> = ReadonlyArray<string> | {
|
|
46
|
+
readonly id: string;
|
|
47
|
+
readonly options?: ClientForOptions;
|
|
48
|
+
} | {
|
|
49
|
+
readonly filters?: Filters;
|
|
50
|
+
readonly options?: Options;
|
|
51
|
+
};
|
|
52
|
+
export type InvalidationCallback<Resources, Input = unknown, Success = unknown, Failure = unknown> = (queryKey: readonly string[], resources: QueryOnlyResources<Resources>, ...args: [Input] extends [void] ? [exit: Exit.Exit<Success, Failure>] : [input: Input, exit: Exit.Exit<Success, Failure>]) => ReadonlyArray<InvalidateQueryInstruction>;
|
|
53
|
+
export type InvalidationConfig<Resources, Input = unknown, Success = unknown, Failure = unknown> = {
|
|
54
|
+
readonly invalidatesQueries: InvalidationCallback<Resources, Input, Success, Failure>;
|
|
55
|
+
readonly invalidationResources?: Resources;
|
|
56
|
+
};
|
|
57
|
+
type InvalidationConfigForCommand<Resources, Payload extends S.Struct.Fields, Success extends S.Top, Error extends S.Top> = InvalidationConfig<Resources, InputFromPayload<Payload>, OutputFromSuccess<Success>, Error["Type"]>;
|
|
58
|
+
export declare const configureInvalidation: <Resources>() => <Input, Success, Failure>(invalidatesQueries: InvalidationCallback<Resources, NoInfer<Input>, NoInfer<Success>, NoInfer<Failure>>) => InvalidationConfig<Resources, Input, Success, Failure>;
|
|
59
|
+
export declare const configureInvalidationCallback: <Resources>() => <Input, Success, Failure>(invalidatesQueries: InvalidationCallback<Resources, NoInfer<Input>, NoInfer<Success>, NoInfer<Failure>>) => InvalidationCallback<Resources, Input, Success, Failure>;
|
|
60
|
+
export declare const configureInvalidationResources: <Resources>() => Pick<InvalidationConfig<Resources>, "invalidationResources">;
|
|
61
|
+
type TaggedRequestForResult<Self, Tag extends string, Payload extends S.Struct.Fields, Success extends S.Top, Error extends S.Top, Config, ModuleName extends string, Type extends "command" | "query", Stream extends boolean, Resources = never, Final extends S.Top = never, Middleware = unknown> = S.Opaque<Self, S.ExtendedSchemaNoEncoded, TaggedRequestSchema<Tag, Payload>, {}> & {
|
|
62
|
+
readonly fields: TaggedRequestSchema<Tag, Payload>["fields"];
|
|
6
63
|
readonly _tag: Tag;
|
|
7
|
-
readonly fields: {
|
|
8
|
-
readonly _tag: S.tag<Tag>;
|
|
9
|
-
} & Payload;
|
|
10
64
|
readonly success: Success;
|
|
11
65
|
readonly error: Error;
|
|
12
66
|
readonly config: Config;
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
67
|
+
readonly id: `${ModuleName}.${Tag}`;
|
|
68
|
+
readonly moduleName: ModuleName;
|
|
69
|
+
readonly type: Type;
|
|
70
|
+
readonly stream: Stream;
|
|
71
|
+
readonly middleware?: Middleware;
|
|
72
|
+
readonly "~invalidationResources"?: Resources;
|
|
73
|
+
} & ([Final] extends [never] ? {} : {
|
|
74
|
+
readonly final: Final;
|
|
75
|
+
});
|
|
76
|
+
export declare const makeRpcClient: <Middleware extends ClientMiddleware<Record<string, RpcContextMap.Any>>, GeneralErrors extends S.Top = never>(middleware: Middleware, generalErrors?: GeneralErrors) => {
|
|
77
|
+
TaggedRequestFor: <ModuleName extends string>(moduleName: ModuleName) => {
|
|
78
|
+
readonly moduleName: ModuleName;
|
|
79
|
+
/**
|
|
80
|
+
* Create query request classes for this module.
|
|
81
|
+
* Queries read state and should not mutate server state.
|
|
82
|
+
* Pass `stream: true` in the config to produce a Stream of `success` values (QueryStream behaviour).
|
|
83
|
+
*/
|
|
84
|
+
readonly Query: (<Self, Resources extends InvalidationResources = never>() => {
|
|
85
|
+
<Tag extends string, Payload extends S.Struct.Fields, Success extends S.Top | S.Struct.Fields, Error extends S.Top | S.Struct.Fields, Final extends S.Top | S.Struct.Fields = never, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> = GetContextConfig<Middleware["requestContextMap"]> & Record<string, any>>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
86
|
+
stream: true;
|
|
87
|
+
success: Success;
|
|
88
|
+
error: Error;
|
|
89
|
+
final?: Final;
|
|
90
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, OutputFromSuccess<SchemaOrFields<Success>>, (C & {
|
|
91
|
+
success: Success;
|
|
92
|
+
error: Error;
|
|
93
|
+
} extends infer T ? T extends C & {
|
|
94
|
+
success: Success;
|
|
95
|
+
error: Error;
|
|
96
|
+
} ? T extends {
|
|
97
|
+
error: infer E;
|
|
98
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, SchemaOrFields<Success>, C & {
|
|
99
|
+
success: Success;
|
|
100
|
+
error: Error;
|
|
101
|
+
} extends infer T_1 ? T_1 extends C & {
|
|
102
|
+
success: Success;
|
|
103
|
+
error: Error;
|
|
104
|
+
} ? T_1 extends {
|
|
105
|
+
error: infer E;
|
|
106
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never, Omit<Omit<C, "invalidatesQueries"> & {
|
|
107
|
+
success: Success;
|
|
108
|
+
error: Error;
|
|
109
|
+
} & Partial<InvalidationConfigForCommand<Resources, Payload, SchemaOrFields<Success>, C & {
|
|
110
|
+
success: Success;
|
|
111
|
+
error: Error;
|
|
112
|
+
} extends infer T_2 ? T_2 extends C & {
|
|
113
|
+
success: Success;
|
|
114
|
+
error: Error;
|
|
115
|
+
} ? T_2 extends {
|
|
116
|
+
error: infer E;
|
|
117
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never>>, "error" | "stream" | "success">, ModuleName, "query", true, Resources, [Final] extends [never] ? never : SchemaOrFields<Final>, Middleware>;
|
|
118
|
+
<Tag extends string, Payload extends S.Struct.Fields, Success extends S.Top | S.Struct.Fields, Final extends S.Top | S.Struct.Fields = never, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
119
|
+
error?: never;
|
|
120
|
+
} = GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
121
|
+
error?: never;
|
|
122
|
+
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
123
|
+
stream: true;
|
|
124
|
+
success: Success;
|
|
125
|
+
final?: Final;
|
|
126
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, OutputFromSuccess<SchemaOrFields<Success>>, (C & {
|
|
127
|
+
success: Success;
|
|
128
|
+
} extends infer T ? T extends C & {
|
|
129
|
+
success: Success;
|
|
130
|
+
} ? T extends {
|
|
131
|
+
error: infer E;
|
|
132
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, SchemaOrFields<Success>, C & {
|
|
133
|
+
success: Success;
|
|
134
|
+
} extends infer T_1 ? T_1 extends C & {
|
|
135
|
+
success: Success;
|
|
136
|
+
} ? T_1 extends {
|
|
137
|
+
error: infer E;
|
|
138
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never, Omit<Omit<C, "invalidatesQueries"> & {
|
|
139
|
+
success: Success;
|
|
140
|
+
} & Partial<InvalidationConfigForCommand<Resources, Payload, SchemaOrFields<Success>, C & {
|
|
141
|
+
success: Success;
|
|
142
|
+
} extends infer T_2 ? T_2 extends C & {
|
|
143
|
+
success: Success;
|
|
144
|
+
} ? T_2 extends {
|
|
145
|
+
error: infer E;
|
|
146
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never>>, "error" | "stream" | "success">, ModuleName, "query", true, Resources, [Final] extends [never] ? never : SchemaOrFields<Final>, Middleware>;
|
|
147
|
+
<Tag extends string, Payload extends S.Struct.Fields, Error extends S.Top | S.Struct.Fields, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
148
|
+
success?: never;
|
|
149
|
+
} = GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
150
|
+
success?: never;
|
|
151
|
+
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
152
|
+
stream: true;
|
|
153
|
+
error: Error;
|
|
154
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, void, (C & {
|
|
155
|
+
error: Error;
|
|
156
|
+
} extends infer T ? T extends C & {
|
|
157
|
+
error: Error;
|
|
158
|
+
} ? T extends {
|
|
159
|
+
error: infer E;
|
|
160
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C & {
|
|
161
|
+
error: Error;
|
|
162
|
+
} extends infer T_1 ? T_1 extends C & {
|
|
163
|
+
error: Error;
|
|
164
|
+
} ? T_1 extends {
|
|
165
|
+
error: infer E;
|
|
166
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never, Omit<Omit<C, "invalidatesQueries"> & {
|
|
167
|
+
error: Error;
|
|
168
|
+
} & Partial<InvalidationConfigForCommand<Resources, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C & {
|
|
169
|
+
error: Error;
|
|
170
|
+
} extends infer T_2 ? T_2 extends C & {
|
|
171
|
+
error: Error;
|
|
172
|
+
} ? T_2 extends {
|
|
173
|
+
error: infer E;
|
|
174
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never>>, "error" | "stream" | "success">, ModuleName, "query", true, Resources, never, Middleware>;
|
|
175
|
+
<Tag extends string, Payload extends S.Struct.Fields, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
176
|
+
success?: never;
|
|
177
|
+
error?: never;
|
|
178
|
+
} = GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
179
|
+
success?: never;
|
|
180
|
+
error?: never;
|
|
181
|
+
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
182
|
+
stream: true;
|
|
183
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, void, (C extends {
|
|
184
|
+
error: infer E;
|
|
185
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C extends {
|
|
186
|
+
error: infer E;
|
|
187
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors, Omit<Omit<C, "invalidatesQueries"> & Partial<InvalidationConfigForCommand<Resources, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C extends {
|
|
188
|
+
error: infer E;
|
|
189
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors>>, "error" | "stream" | "success">, ModuleName, "query", true, Resources, never, Middleware>;
|
|
190
|
+
<Tag extends string, Payload extends S.Struct.Fields, Success extends S.Top | S.Struct.Fields, Error extends S.Top | S.Struct.Fields, Final extends S.Top | S.Struct.Fields = never, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> = GetContextConfig<Middleware["requestContextMap"]> & Record<string, any>>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
191
|
+
success: Success;
|
|
192
|
+
error: Error;
|
|
193
|
+
final?: Final;
|
|
194
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, OutputFromSuccess<SchemaOrFields<Success>>, (C & {
|
|
195
|
+
success: Success;
|
|
196
|
+
error: Error;
|
|
197
|
+
} extends infer T ? T extends C & {
|
|
198
|
+
success: Success;
|
|
199
|
+
error: Error;
|
|
200
|
+
} ? T extends {
|
|
201
|
+
error: infer E;
|
|
202
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, SchemaOrFields<Success>, C & {
|
|
203
|
+
success: Success;
|
|
204
|
+
error: Error;
|
|
205
|
+
} extends infer T_1 ? T_1 extends C & {
|
|
206
|
+
success: Success;
|
|
207
|
+
error: Error;
|
|
208
|
+
} ? T_1 extends {
|
|
209
|
+
error: infer E;
|
|
210
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never, Omit<Omit<C, "invalidatesQueries"> & {
|
|
211
|
+
success: Success;
|
|
212
|
+
error: Error;
|
|
213
|
+
} & Partial<InvalidationConfigForCommand<Resources, Payload, SchemaOrFields<Success>, C & {
|
|
214
|
+
success: Success;
|
|
215
|
+
error: Error;
|
|
216
|
+
} extends infer T_2 ? T_2 extends C & {
|
|
217
|
+
success: Success;
|
|
218
|
+
error: Error;
|
|
219
|
+
} ? T_2 extends {
|
|
220
|
+
error: infer E;
|
|
221
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never>>, "error" | "stream" | "success">, ModuleName, "query", false, Resources, [Final] extends [never] ? never : SchemaOrFields<Final>, Middleware>;
|
|
222
|
+
<Tag extends string, Payload extends S.Struct.Fields, Success extends S.Top | S.Struct.Fields, Final extends S.Top | S.Struct.Fields = never, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
223
|
+
error?: never;
|
|
224
|
+
} = GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
225
|
+
error?: never;
|
|
226
|
+
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
227
|
+
success: Success;
|
|
228
|
+
final?: Final;
|
|
229
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, OutputFromSuccess<SchemaOrFields<Success>>, (C & {
|
|
230
|
+
success: Success;
|
|
231
|
+
} extends infer T ? T extends C & {
|
|
232
|
+
success: Success;
|
|
233
|
+
} ? T extends {
|
|
234
|
+
error: infer E;
|
|
235
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, SchemaOrFields<Success>, C & {
|
|
236
|
+
success: Success;
|
|
237
|
+
} extends infer T_1 ? T_1 extends C & {
|
|
238
|
+
success: Success;
|
|
239
|
+
} ? T_1 extends {
|
|
240
|
+
error: infer E;
|
|
241
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never, Omit<Omit<C, "invalidatesQueries"> & {
|
|
242
|
+
success: Success;
|
|
243
|
+
} & Partial<InvalidationConfigForCommand<Resources, Payload, SchemaOrFields<Success>, C & {
|
|
244
|
+
success: Success;
|
|
245
|
+
} extends infer T_2 ? T_2 extends C & {
|
|
246
|
+
success: Success;
|
|
247
|
+
} ? T_2 extends {
|
|
248
|
+
error: infer E;
|
|
249
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never>>, "error" | "stream" | "success">, ModuleName, "query", false, Resources, [Final] extends [never] ? never : SchemaOrFields<Final>, Middleware>;
|
|
250
|
+
<Tag extends string, Payload extends S.Struct.Fields, Error extends S.Top | S.Struct.Fields, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
251
|
+
success?: never;
|
|
252
|
+
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
253
|
+
error: Error;
|
|
254
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, void, (C & {
|
|
255
|
+
error: Error;
|
|
256
|
+
} extends infer T ? T extends C & {
|
|
257
|
+
error: Error;
|
|
258
|
+
} ? T extends {
|
|
259
|
+
error: infer E;
|
|
260
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C & {
|
|
261
|
+
error: Error;
|
|
262
|
+
} extends infer T_1 ? T_1 extends C & {
|
|
263
|
+
error: Error;
|
|
264
|
+
} ? T_1 extends {
|
|
265
|
+
error: infer E;
|
|
266
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never, Omit<Omit<C, "invalidatesQueries"> & {
|
|
267
|
+
error: Error;
|
|
268
|
+
} & Partial<InvalidationConfigForCommand<Resources, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C & {
|
|
269
|
+
error: Error;
|
|
270
|
+
} extends infer T_2 ? T_2 extends C & {
|
|
271
|
+
error: Error;
|
|
272
|
+
} ? T_2 extends {
|
|
273
|
+
error: infer E;
|
|
274
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never>>, "error" | "stream" | "success">, ModuleName, "query", false, Resources, never, Middleware>;
|
|
275
|
+
<Tag extends string, Payload extends S.Struct.Fields, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
276
|
+
success?: never;
|
|
277
|
+
error?: never;
|
|
278
|
+
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries">, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, void, (C extends {
|
|
279
|
+
error: infer E;
|
|
280
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C extends {
|
|
281
|
+
error: infer E;
|
|
282
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors, Omit<Omit<C, "invalidatesQueries"> & Partial<InvalidationConfigForCommand<Resources, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C extends {
|
|
283
|
+
error: infer E;
|
|
284
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors>>, "error" | "stream" | "success">, ModuleName, "query", false, Resources, never, Middleware>;
|
|
285
|
+
<Tag extends string, Payload extends S.Struct.Fields>(tag: Tag, fields: Payload): TaggedRequestForResult<Self, Tag, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, [GeneralErrors] extends [never] ? S.Never : GeneralErrors, Record<string, never>, ModuleName, "query", false, never, never, Middleware>;
|
|
286
|
+
}) & {
|
|
287
|
+
readonly moduleName: ModuleName;
|
|
288
|
+
readonly type: "query";
|
|
289
|
+
};
|
|
290
|
+
/**
|
|
291
|
+
* Create command request classes for this module.
|
|
292
|
+
* Commands mutate state and should avoid returning complex read models.
|
|
293
|
+
* Pass `stream: true` in the config to produce a Stream of `success` values (CommandStream behaviour).
|
|
294
|
+
*/
|
|
295
|
+
readonly Command: (<Self, Resources extends InvalidationResources = never>() => {
|
|
296
|
+
<Tag extends string, Payload extends S.Struct.Fields, Success extends S.Top | S.Struct.Fields, Error extends S.Top | S.Struct.Fields, Final extends S.Top | S.Struct.Fields = never, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> = GetContextConfig<Middleware["requestContextMap"]> & Record<string, any>>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
297
|
+
stream: true;
|
|
298
|
+
success: Success;
|
|
299
|
+
error: Error;
|
|
300
|
+
final?: Final;
|
|
301
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, OutputFromSuccess<SchemaOrFields<Success>>, (C & {
|
|
302
|
+
success: Success;
|
|
303
|
+
error: Error;
|
|
304
|
+
} extends infer T ? T extends C & {
|
|
305
|
+
success: Success;
|
|
306
|
+
error: Error;
|
|
307
|
+
} ? T extends {
|
|
308
|
+
error: infer E;
|
|
309
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, SchemaOrFields<Success>, C & {
|
|
310
|
+
success: Success;
|
|
311
|
+
error: Error;
|
|
312
|
+
} extends infer T_1 ? T_1 extends C & {
|
|
313
|
+
success: Success;
|
|
314
|
+
error: Error;
|
|
315
|
+
} ? T_1 extends {
|
|
316
|
+
error: infer E;
|
|
317
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never, Omit<Omit<C, "invalidatesQueries"> & {
|
|
318
|
+
success: Success;
|
|
319
|
+
error: Error;
|
|
320
|
+
} & Partial<InvalidationConfigForCommand<Resources, Payload, SchemaOrFields<Success>, C & {
|
|
321
|
+
success: Success;
|
|
322
|
+
error: Error;
|
|
323
|
+
} extends infer T_2 ? T_2 extends C & {
|
|
324
|
+
success: Success;
|
|
325
|
+
error: Error;
|
|
326
|
+
} ? T_2 extends {
|
|
327
|
+
error: infer E;
|
|
328
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never>>, "error" | "stream" | "success">, ModuleName, "command", true, Resources, [Final] extends [never] ? never : SchemaOrFields<Final>, Middleware>;
|
|
329
|
+
<Tag extends string, Payload extends S.Struct.Fields, Success extends S.Top | S.Struct.Fields, Final extends S.Top | S.Struct.Fields = never, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
330
|
+
error?: never;
|
|
331
|
+
} = GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
332
|
+
error?: never;
|
|
333
|
+
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
334
|
+
stream: true;
|
|
335
|
+
success: Success;
|
|
336
|
+
final?: Final;
|
|
337
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, OutputFromSuccess<SchemaOrFields<Success>>, (C & {
|
|
338
|
+
success: Success;
|
|
339
|
+
} extends infer T ? T extends C & {
|
|
340
|
+
success: Success;
|
|
341
|
+
} ? T extends {
|
|
342
|
+
error: infer E;
|
|
343
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, SchemaOrFields<Success>, C & {
|
|
344
|
+
success: Success;
|
|
345
|
+
} extends infer T_1 ? T_1 extends C & {
|
|
346
|
+
success: Success;
|
|
347
|
+
} ? T_1 extends {
|
|
348
|
+
error: infer E;
|
|
349
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never, Omit<Omit<C, "invalidatesQueries"> & {
|
|
350
|
+
success: Success;
|
|
351
|
+
} & Partial<InvalidationConfigForCommand<Resources, Payload, SchemaOrFields<Success>, C & {
|
|
352
|
+
success: Success;
|
|
353
|
+
} extends infer T_2 ? T_2 extends C & {
|
|
354
|
+
success: Success;
|
|
355
|
+
} ? T_2 extends {
|
|
356
|
+
error: infer E;
|
|
357
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never>>, "error" | "stream" | "success">, ModuleName, "command", true, Resources, [Final] extends [never] ? never : SchemaOrFields<Final>, Middleware>;
|
|
358
|
+
<Tag extends string, Payload extends S.Struct.Fields, Error extends S.Top | S.Struct.Fields, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
359
|
+
success?: never;
|
|
360
|
+
} = GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
361
|
+
success?: never;
|
|
362
|
+
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
363
|
+
stream: true;
|
|
364
|
+
error: Error;
|
|
365
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, void, (C & {
|
|
366
|
+
error: Error;
|
|
367
|
+
} extends infer T ? T extends C & {
|
|
368
|
+
error: Error;
|
|
369
|
+
} ? T extends {
|
|
370
|
+
error: infer E;
|
|
371
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C & {
|
|
372
|
+
error: Error;
|
|
373
|
+
} extends infer T_1 ? T_1 extends C & {
|
|
374
|
+
error: Error;
|
|
375
|
+
} ? T_1 extends {
|
|
376
|
+
error: infer E;
|
|
377
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never, Omit<Omit<C, "invalidatesQueries"> & {
|
|
378
|
+
error: Error;
|
|
379
|
+
} & Partial<InvalidationConfigForCommand<Resources, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C & {
|
|
380
|
+
error: Error;
|
|
381
|
+
} extends infer T_2 ? T_2 extends C & {
|
|
382
|
+
error: Error;
|
|
383
|
+
} ? T_2 extends {
|
|
384
|
+
error: infer E;
|
|
385
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never>>, "error" | "stream" | "success">, ModuleName, "command", true, Resources, never, Middleware>;
|
|
386
|
+
<Tag extends string, Payload extends S.Struct.Fields, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
387
|
+
success?: never;
|
|
388
|
+
error?: never;
|
|
389
|
+
} = GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
390
|
+
success?: never;
|
|
391
|
+
error?: never;
|
|
392
|
+
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
393
|
+
stream: true;
|
|
394
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, void, (C extends {
|
|
395
|
+
error: infer E;
|
|
396
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C extends {
|
|
397
|
+
error: infer E;
|
|
398
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors, Omit<Omit<C, "invalidatesQueries"> & Partial<InvalidationConfigForCommand<Resources, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C extends {
|
|
399
|
+
error: infer E;
|
|
400
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors>>, "error" | "stream" | "success">, ModuleName, "command", true, Resources, never, Middleware>;
|
|
401
|
+
<Tag extends string, Payload extends S.Struct.Fields, Success extends S.Top | S.Struct.Fields, Error extends S.Top | S.Struct.Fields, Final extends S.Top | S.Struct.Fields = never, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> = GetContextConfig<Middleware["requestContextMap"]> & Record<string, any>>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
402
|
+
success: Success;
|
|
403
|
+
error: Error;
|
|
404
|
+
final?: Final;
|
|
405
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, OutputFromSuccess<SchemaOrFields<Success>>, (C & {
|
|
406
|
+
success: Success;
|
|
407
|
+
error: Error;
|
|
408
|
+
} extends infer T ? T extends C & {
|
|
409
|
+
success: Success;
|
|
410
|
+
error: Error;
|
|
411
|
+
} ? T extends {
|
|
412
|
+
error: infer E;
|
|
413
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, SchemaOrFields<Success>, C & {
|
|
414
|
+
success: Success;
|
|
415
|
+
error: Error;
|
|
416
|
+
} extends infer T_1 ? T_1 extends C & {
|
|
417
|
+
success: Success;
|
|
418
|
+
error: Error;
|
|
419
|
+
} ? T_1 extends {
|
|
420
|
+
error: infer E;
|
|
421
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never, Omit<Omit<C, "invalidatesQueries"> & {
|
|
422
|
+
success: Success;
|
|
423
|
+
error: Error;
|
|
424
|
+
} & Partial<InvalidationConfigForCommand<Resources, Payload, SchemaOrFields<Success>, C & {
|
|
425
|
+
success: Success;
|
|
426
|
+
error: Error;
|
|
427
|
+
} extends infer T_2 ? T_2 extends C & {
|
|
428
|
+
success: Success;
|
|
429
|
+
error: Error;
|
|
430
|
+
} ? T_2 extends {
|
|
431
|
+
error: infer E;
|
|
432
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never>>, "error" | "stream" | "success">, ModuleName, "command", false, Resources, [Final] extends [never] ? never : SchemaOrFields<Final>, Middleware>;
|
|
433
|
+
<Tag extends string, Payload extends S.Struct.Fields, Success extends S.Top | S.Struct.Fields, Final extends S.Top | S.Struct.Fields = never, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
434
|
+
error?: never;
|
|
435
|
+
} = GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
436
|
+
error?: never;
|
|
437
|
+
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
438
|
+
success: Success;
|
|
439
|
+
final?: Final;
|
|
440
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, OutputFromSuccess<SchemaOrFields<Success>>, (C & {
|
|
441
|
+
success: Success;
|
|
442
|
+
} extends infer T ? T extends C & {
|
|
443
|
+
success: Success;
|
|
444
|
+
} ? T extends {
|
|
445
|
+
error: infer E;
|
|
446
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, SchemaOrFields<Success>, C & {
|
|
447
|
+
success: Success;
|
|
448
|
+
} extends infer T_1 ? T_1 extends C & {
|
|
449
|
+
success: Success;
|
|
450
|
+
} ? T_1 extends {
|
|
451
|
+
error: infer E;
|
|
452
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never, Omit<Omit<C, "invalidatesQueries"> & {
|
|
453
|
+
success: Success;
|
|
454
|
+
} & Partial<InvalidationConfigForCommand<Resources, Payload, SchemaOrFields<Success>, C & {
|
|
455
|
+
success: Success;
|
|
456
|
+
} extends infer T_2 ? T_2 extends C & {
|
|
457
|
+
success: Success;
|
|
458
|
+
} ? T_2 extends {
|
|
459
|
+
error: infer E;
|
|
460
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never>>, "error" | "stream" | "success">, ModuleName, "command", false, Resources, [Final] extends [never] ? never : SchemaOrFields<Final>, Middleware>;
|
|
461
|
+
<Tag extends string, Payload extends S.Struct.Fields, Error extends S.Top | S.Struct.Fields, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
462
|
+
success?: never;
|
|
463
|
+
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
464
|
+
error: Error;
|
|
465
|
+
}, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, void, (C & {
|
|
466
|
+
error: Error;
|
|
467
|
+
} extends infer T ? T extends C & {
|
|
468
|
+
error: Error;
|
|
469
|
+
} ? T extends {
|
|
470
|
+
error: infer E;
|
|
471
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C & {
|
|
472
|
+
error: Error;
|
|
473
|
+
} extends infer T_1 ? T_1 extends C & {
|
|
474
|
+
error: Error;
|
|
475
|
+
} ? T_1 extends {
|
|
476
|
+
error: infer E;
|
|
477
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never, Omit<Omit<C, "invalidatesQueries"> & {
|
|
478
|
+
error: Error;
|
|
479
|
+
} & Partial<InvalidationConfigForCommand<Resources, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C & {
|
|
480
|
+
error: Error;
|
|
481
|
+
} extends infer T_2 ? T_2 extends C & {
|
|
482
|
+
error: Error;
|
|
483
|
+
} ? T_2 extends {
|
|
484
|
+
error: infer E;
|
|
485
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors : never : never>>, "error" | "stream" | "success">, ModuleName, "command", false, Resources, never, Middleware>;
|
|
486
|
+
<Tag extends string, Payload extends S.Struct.Fields, C extends GetContextConfig<Middleware["requestContextMap"]> & Record<string, any> & {
|
|
487
|
+
success?: never;
|
|
488
|
+
error?: never;
|
|
489
|
+
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries">, invalidatesQueries?: InvalidationCallback<Resources, InputFromPayload<Payload>, void, (C extends {
|
|
490
|
+
error: infer E;
|
|
491
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors)["Type"]> | undefined): TaggedRequestForResult<Self, Tag, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C extends {
|
|
492
|
+
error: infer E;
|
|
493
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors, Omit<Omit<C, "invalidatesQueries"> & Partial<InvalidationConfigForCommand<Resources, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, C extends {
|
|
494
|
+
error: infer E;
|
|
495
|
+
} ? [GeneralErrors] extends [never] ? SchemaOrFields<E> : S.Union<[SchemaOrFields<E>, GeneralErrors]> : [GeneralErrors] extends [never] ? S.Never : GeneralErrors>>, "error" | "stream" | "success">, ModuleName, "command", false, Resources, never, Middleware>;
|
|
496
|
+
<Tag extends string, Payload extends S.Struct.Fields>(tag: Tag, fields: Payload): TaggedRequestForResult<Self, Tag, Payload, S.decodeTo<S.Any, S.declare<unknown, unknown>, never, never>, [GeneralErrors] extends [never] ? S.Never : GeneralErrors, Record<string, never>, ModuleName, "command", false, never, never, Middleware>;
|
|
497
|
+
}) & {
|
|
498
|
+
readonly moduleName: ModuleName;
|
|
499
|
+
readonly type: "command";
|
|
500
|
+
};
|
|
39
501
|
};
|
|
40
502
|
};
|
|
41
503
|
export {};
|
|
42
|
-
//# sourceMappingURL=makeClient.d.ts.map
|
|
504
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFrZUNsaWVudC5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NsaWVudC9tYWtlQ2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxLQUFLLElBQUksT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