@effect-app/vue 4.0.0-beta.282 → 4.0.0-beta.284
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 +19 -0
- package/dist/atomQuery.d.ts.map +1 -1
- package/dist/atomQuery.js +40 -5
- package/dist/dependencyMetadata.d.ts +10 -0
- package/dist/dependencyMetadata.d.ts.map +1 -0
- package/dist/dependencyMetadata.js +29 -0
- package/dist/internal/tanstackQuery.d.ts.map +1 -1
- package/dist/internal/tanstackQuery.js +24 -5
- package/dist/mutate.d.ts +1 -1
- package/dist/mutate.d.ts.map +1 -1
- package/dist/mutate.js +27 -11
- package/package.json +2 -2
- package/src/atomQuery.ts +42 -4
- package/src/dependencyMetadata.ts +38 -0
- package/src/internal/tanstackQuery.ts +27 -7
- package/src/mutate.ts +27 -8
- package/test/dependencyInvalidation.test.ts +352 -0
- package/test/dist/dependencyInvalidation.test.d.ts.map +1 -0
- package/test/dist/stubs.d.ts +82 -82
- package/test/dist/patchableQueryAtom.test.d.ts.map +0 -1
- package/test/dist/queryOptions.test.d.ts.map +0 -1
- package/test/dist/retrySchedule.test.d.ts.map +0 -1
package/test/dist/stubs.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
38
38
|
success: Success;
|
|
39
39
|
error: Error;
|
|
40
40
|
final?: Final;
|
|
41
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
41
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
42
42
|
success: Success;
|
|
43
43
|
error: Error;
|
|
44
44
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -67,7 +67,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
67
67
|
success: Success;
|
|
68
68
|
error: Error;
|
|
69
69
|
} & Partial<{
|
|
70
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
70
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
71
71
|
success: Success;
|
|
72
72
|
error: Error;
|
|
73
73
|
} extends infer T_2 ? T_2 extends C & {
|
|
@@ -98,7 +98,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
98
98
|
stream: true;
|
|
99
99
|
success: Success;
|
|
100
100
|
final?: Final;
|
|
101
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
101
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
102
102
|
success: Success;
|
|
103
103
|
} extends infer T_1 ? T_1 extends C & {
|
|
104
104
|
success: Success;
|
|
@@ -122,7 +122,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
122
122
|
readonly config: Omit<Omit<C, "invalidatesQueries"> & {
|
|
123
123
|
success: Success;
|
|
124
124
|
} & Partial<{
|
|
125
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
125
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
126
126
|
success: Success;
|
|
127
127
|
} extends infer T_2 ? T_2 extends C & {
|
|
128
128
|
success: Success;
|
|
@@ -163,7 +163,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
163
163
|
readonly _tag: S.tag<Tag>;
|
|
164
164
|
} & Payload;
|
|
165
165
|
readonly _tag: Tag;
|
|
166
|
-
readonly success: S.
|
|
166
|
+
readonly success: S.Void;
|
|
167
167
|
readonly error: C & {
|
|
168
168
|
error: Error;
|
|
169
169
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -210,7 +210,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
210
210
|
readonly _tag: S.tag<Tag>;
|
|
211
211
|
} & Payload;
|
|
212
212
|
readonly _tag: Tag;
|
|
213
|
-
readonly success: S.
|
|
213
|
+
readonly success: S.Void;
|
|
214
214
|
readonly error: C extends {
|
|
215
215
|
error: infer E_1;
|
|
216
216
|
} ? E_1 extends S.Top ? E_1 : E_1 extends import("effect/Schema").Struct.Fields ? S.Struct<E_1> : S.Void : S.Never;
|
|
@@ -234,7 +234,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
234
234
|
success: Success;
|
|
235
235
|
error: Error;
|
|
236
236
|
final?: Final;
|
|
237
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
237
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
238
238
|
success: Success;
|
|
239
239
|
error: Error;
|
|
240
240
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -263,7 +263,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
263
263
|
success: Success;
|
|
264
264
|
error: Error;
|
|
265
265
|
} & Partial<{
|
|
266
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
266
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
267
267
|
success: Success;
|
|
268
268
|
error: Error;
|
|
269
269
|
} extends infer T_2 ? T_2 extends C & {
|
|
@@ -293,7 +293,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
293
293
|
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
294
294
|
success: Success;
|
|
295
295
|
final?: Final;
|
|
296
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
296
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
297
297
|
success: Success;
|
|
298
298
|
} extends infer T_1 ? T_1 extends C & {
|
|
299
299
|
success: Success;
|
|
@@ -317,7 +317,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
317
317
|
readonly config: Omit<Omit<C, "invalidatesQueries"> & {
|
|
318
318
|
success: Success;
|
|
319
319
|
} & Partial<{
|
|
320
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
320
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
321
321
|
success: Success;
|
|
322
322
|
} extends infer T_2 ? T_2 extends C & {
|
|
323
323
|
success: Success;
|
|
@@ -355,7 +355,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
355
355
|
readonly _tag: S.tag<Tag>;
|
|
356
356
|
} & Payload;
|
|
357
357
|
readonly _tag: Tag;
|
|
358
|
-
readonly success: S.
|
|
358
|
+
readonly success: S.Void;
|
|
359
359
|
readonly error: C & {
|
|
360
360
|
error: Error;
|
|
361
361
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -397,7 +397,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
397
397
|
readonly _tag: S.tag<Tag>;
|
|
398
398
|
} & Payload;
|
|
399
399
|
readonly _tag: Tag;
|
|
400
|
-
readonly success: S.
|
|
400
|
+
readonly success: S.Void;
|
|
401
401
|
readonly error: C extends {
|
|
402
402
|
error: infer E_1;
|
|
403
403
|
} ? E_1 extends S.Top ? E_1 : E_1 extends import("effect/Schema").Struct.Fields ? S.Struct<E_1> : S.Void : S.Never;
|
|
@@ -424,7 +424,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
424
424
|
readonly _tag: S.tag<Tag>;
|
|
425
425
|
} & Payload;
|
|
426
426
|
readonly _tag: Tag;
|
|
427
|
-
readonly success: S.
|
|
427
|
+
readonly success: S.Void;
|
|
428
428
|
readonly error: S.Never;
|
|
429
429
|
readonly config: Record<string, never>;
|
|
430
430
|
readonly id: `${ModuleName}.${Tag}`;
|
|
@@ -449,7 +449,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
449
449
|
success: Success;
|
|
450
450
|
error: Error;
|
|
451
451
|
final?: Final;
|
|
452
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
452
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
453
453
|
success: Success;
|
|
454
454
|
error: Error;
|
|
455
455
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -478,7 +478,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
478
478
|
success: Success;
|
|
479
479
|
error: Error;
|
|
480
480
|
} & Partial<{
|
|
481
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
481
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
482
482
|
success: Success;
|
|
483
483
|
error: Error;
|
|
484
484
|
} extends infer T_2 ? T_2 extends C & {
|
|
@@ -509,7 +509,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
509
509
|
stream: true;
|
|
510
510
|
success: Success;
|
|
511
511
|
final?: Final;
|
|
512
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
512
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
513
513
|
success: Success;
|
|
514
514
|
} extends infer T_1 ? T_1 extends C & {
|
|
515
515
|
success: Success;
|
|
@@ -533,7 +533,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
533
533
|
readonly config: Omit<Omit<C, "invalidatesQueries"> & {
|
|
534
534
|
success: Success;
|
|
535
535
|
} & Partial<{
|
|
536
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
536
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
537
537
|
success: Success;
|
|
538
538
|
} extends infer T_2 ? T_2 extends C & {
|
|
539
539
|
success: Success;
|
|
@@ -574,7 +574,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
574
574
|
readonly _tag: S.tag<Tag>;
|
|
575
575
|
} & Payload;
|
|
576
576
|
readonly _tag: Tag;
|
|
577
|
-
readonly success: S.
|
|
577
|
+
readonly success: S.Void;
|
|
578
578
|
readonly error: C & {
|
|
579
579
|
error: Error;
|
|
580
580
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -621,7 +621,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
621
621
|
readonly _tag: S.tag<Tag>;
|
|
622
622
|
} & Payload;
|
|
623
623
|
readonly _tag: Tag;
|
|
624
|
-
readonly success: S.
|
|
624
|
+
readonly success: S.Void;
|
|
625
625
|
readonly error: C extends {
|
|
626
626
|
error: infer E_1;
|
|
627
627
|
} ? E_1 extends S.Top ? E_1 : E_1 extends import("effect/Schema").Struct.Fields ? S.Struct<E_1> : S.Void : S.Never;
|
|
@@ -645,7 +645,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
645
645
|
success: Success;
|
|
646
646
|
error: Error;
|
|
647
647
|
final?: Final;
|
|
648
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
648
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
649
649
|
success: Success;
|
|
650
650
|
error: Error;
|
|
651
651
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -674,7 +674,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
674
674
|
success: Success;
|
|
675
675
|
error: Error;
|
|
676
676
|
} & Partial<{
|
|
677
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
677
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
678
678
|
success: Success;
|
|
679
679
|
error: Error;
|
|
680
680
|
} extends infer T_2 ? T_2 extends C & {
|
|
@@ -704,7 +704,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
704
704
|
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
705
705
|
success: Success;
|
|
706
706
|
final?: Final;
|
|
707
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
707
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
708
708
|
success: Success;
|
|
709
709
|
} extends infer T_1 ? T_1 extends C & {
|
|
710
710
|
success: Success;
|
|
@@ -728,7 +728,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
728
728
|
readonly config: Omit<Omit<C, "invalidatesQueries"> & {
|
|
729
729
|
success: Success;
|
|
730
730
|
} & Partial<{
|
|
731
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
731
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
732
732
|
success: Success;
|
|
733
733
|
} extends infer T_2 ? T_2 extends C & {
|
|
734
734
|
success: Success;
|
|
@@ -766,7 +766,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
766
766
|
readonly _tag: S.tag<Tag>;
|
|
767
767
|
} & Payload;
|
|
768
768
|
readonly _tag: Tag;
|
|
769
|
-
readonly success: S.
|
|
769
|
+
readonly success: S.Void;
|
|
770
770
|
readonly error: C & {
|
|
771
771
|
error: Error;
|
|
772
772
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -808,7 +808,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
808
808
|
readonly _tag: S.tag<Tag>;
|
|
809
809
|
} & Payload;
|
|
810
810
|
readonly _tag: Tag;
|
|
811
|
-
readonly success: S.
|
|
811
|
+
readonly success: S.Void;
|
|
812
812
|
readonly error: C extends {
|
|
813
813
|
error: infer E_1;
|
|
814
814
|
} ? E_1 extends S.Top ? E_1 : E_1 extends import("effect/Schema").Struct.Fields ? S.Struct<E_1> : S.Void : S.Never;
|
|
@@ -835,7 +835,7 @@ export declare const TaggedRequestFor: <ModuleName extends string>(moduleName: M
|
|
|
835
835
|
readonly _tag: S.tag<Tag>;
|
|
836
836
|
} & Payload;
|
|
837
837
|
readonly _tag: Tag;
|
|
838
|
-
readonly success: S.
|
|
838
|
+
readonly success: S.Void;
|
|
839
839
|
readonly error: S.Never;
|
|
840
840
|
readonly config: Record<string, never>;
|
|
841
841
|
readonly id: `${ModuleName}.${Tag}`;
|
|
@@ -863,7 +863,7 @@ export declare const SomethingReq: {
|
|
|
863
863
|
success: Success;
|
|
864
864
|
error: Error;
|
|
865
865
|
final?: Final;
|
|
866
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
866
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
867
867
|
success: Success;
|
|
868
868
|
error: Error;
|
|
869
869
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -892,7 +892,7 @@ export declare const SomethingReq: {
|
|
|
892
892
|
success: Success;
|
|
893
893
|
error: Error;
|
|
894
894
|
} & Partial<{
|
|
895
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
895
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
896
896
|
success: Success;
|
|
897
897
|
error: Error;
|
|
898
898
|
} extends infer T_2 ? T_2 extends C & {
|
|
@@ -923,7 +923,7 @@ export declare const SomethingReq: {
|
|
|
923
923
|
stream: true;
|
|
924
924
|
success: Success;
|
|
925
925
|
final?: Final;
|
|
926
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
926
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
927
927
|
success: Success;
|
|
928
928
|
} extends infer T_1 ? T_1 extends C & {
|
|
929
929
|
success: Success;
|
|
@@ -947,7 +947,7 @@ export declare const SomethingReq: {
|
|
|
947
947
|
readonly config: Omit<Omit<C, "invalidatesQueries"> & {
|
|
948
948
|
success: Success;
|
|
949
949
|
} & Partial<{
|
|
950
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
950
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
951
951
|
success: Success;
|
|
952
952
|
} extends infer T_2 ? T_2 extends C & {
|
|
953
953
|
success: Success;
|
|
@@ -988,7 +988,7 @@ export declare const SomethingReq: {
|
|
|
988
988
|
readonly _tag: S.tag<Tag>;
|
|
989
989
|
} & Payload;
|
|
990
990
|
readonly _tag: Tag;
|
|
991
|
-
readonly success: S.
|
|
991
|
+
readonly success: S.Void;
|
|
992
992
|
readonly error: C & {
|
|
993
993
|
error: Error;
|
|
994
994
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -1035,7 +1035,7 @@ export declare const SomethingReq: {
|
|
|
1035
1035
|
readonly _tag: S.tag<Tag>;
|
|
1036
1036
|
} & Payload;
|
|
1037
1037
|
readonly _tag: Tag;
|
|
1038
|
-
readonly success: S.
|
|
1038
|
+
readonly success: S.Void;
|
|
1039
1039
|
readonly error: C extends {
|
|
1040
1040
|
error: infer E_1;
|
|
1041
1041
|
} ? E_1 extends S.Top ? E_1 : E_1 extends import("effect/Schema").Struct.Fields ? S.Struct<E_1> : S.Void : S.Never;
|
|
@@ -1059,7 +1059,7 @@ export declare const SomethingReq: {
|
|
|
1059
1059
|
success: Success;
|
|
1060
1060
|
error: Error;
|
|
1061
1061
|
final?: Final;
|
|
1062
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
1062
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
1063
1063
|
success: Success;
|
|
1064
1064
|
error: Error;
|
|
1065
1065
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -1088,7 +1088,7 @@ export declare const SomethingReq: {
|
|
|
1088
1088
|
success: Success;
|
|
1089
1089
|
error: Error;
|
|
1090
1090
|
} & Partial<{
|
|
1091
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
1091
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
1092
1092
|
success: Success;
|
|
1093
1093
|
error: Error;
|
|
1094
1094
|
} extends infer T_2 ? T_2 extends C & {
|
|
@@ -1118,7 +1118,7 @@ export declare const SomethingReq: {
|
|
|
1118
1118
|
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
1119
1119
|
success: Success;
|
|
1120
1120
|
final?: Final;
|
|
1121
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
1121
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
1122
1122
|
success: Success;
|
|
1123
1123
|
} extends infer T_1 ? T_1 extends C & {
|
|
1124
1124
|
success: Success;
|
|
@@ -1142,7 +1142,7 @@ export declare const SomethingReq: {
|
|
|
1142
1142
|
readonly config: Omit<Omit<C, "invalidatesQueries"> & {
|
|
1143
1143
|
success: Success;
|
|
1144
1144
|
} & Partial<{
|
|
1145
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
1145
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
1146
1146
|
success: Success;
|
|
1147
1147
|
} extends infer T_2 ? T_2 extends C & {
|
|
1148
1148
|
success: Success;
|
|
@@ -1180,7 +1180,7 @@ export declare const SomethingReq: {
|
|
|
1180
1180
|
readonly _tag: S.tag<Tag>;
|
|
1181
1181
|
} & Payload;
|
|
1182
1182
|
readonly _tag: Tag;
|
|
1183
|
-
readonly success: S.
|
|
1183
|
+
readonly success: S.Void;
|
|
1184
1184
|
readonly error: C & {
|
|
1185
1185
|
error: Error;
|
|
1186
1186
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -1222,7 +1222,7 @@ export declare const SomethingReq: {
|
|
|
1222
1222
|
readonly _tag: S.tag<Tag>;
|
|
1223
1223
|
} & Payload;
|
|
1224
1224
|
readonly _tag: Tag;
|
|
1225
|
-
readonly success: S.
|
|
1225
|
+
readonly success: S.Void;
|
|
1226
1226
|
readonly error: C extends {
|
|
1227
1227
|
error: infer E_1;
|
|
1228
1228
|
} ? E_1 extends S.Top ? E_1 : E_1 extends import("effect/Schema").Struct.Fields ? S.Struct<E_1> : S.Void : S.Never;
|
|
@@ -1249,7 +1249,7 @@ export declare const SomethingReq: {
|
|
|
1249
1249
|
readonly _tag: S.tag<Tag>;
|
|
1250
1250
|
} & Payload;
|
|
1251
1251
|
readonly _tag: Tag;
|
|
1252
|
-
readonly success: S.
|
|
1252
|
+
readonly success: S.Void;
|
|
1253
1253
|
readonly error: S.Never;
|
|
1254
1254
|
readonly config: Record<string, never>;
|
|
1255
1255
|
readonly id: `Something.${Tag}`;
|
|
@@ -1274,7 +1274,7 @@ export declare const SomethingReq: {
|
|
|
1274
1274
|
success: Success;
|
|
1275
1275
|
error: Error;
|
|
1276
1276
|
final?: Final;
|
|
1277
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
1277
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
1278
1278
|
success: Success;
|
|
1279
1279
|
error: Error;
|
|
1280
1280
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -1303,7 +1303,7 @@ export declare const SomethingReq: {
|
|
|
1303
1303
|
success: Success;
|
|
1304
1304
|
error: Error;
|
|
1305
1305
|
} & Partial<{
|
|
1306
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
1306
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
1307
1307
|
success: Success;
|
|
1308
1308
|
error: Error;
|
|
1309
1309
|
} extends infer T_2 ? T_2 extends C & {
|
|
@@ -1334,7 +1334,7 @@ export declare const SomethingReq: {
|
|
|
1334
1334
|
stream: true;
|
|
1335
1335
|
success: Success;
|
|
1336
1336
|
final?: Final;
|
|
1337
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
1337
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
1338
1338
|
success: Success;
|
|
1339
1339
|
} extends infer T_1 ? T_1 extends C & {
|
|
1340
1340
|
success: Success;
|
|
@@ -1358,7 +1358,7 @@ export declare const SomethingReq: {
|
|
|
1358
1358
|
readonly config: Omit<Omit<C, "invalidatesQueries"> & {
|
|
1359
1359
|
success: Success;
|
|
1360
1360
|
} & Partial<{
|
|
1361
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
1361
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
1362
1362
|
success: Success;
|
|
1363
1363
|
} extends infer T_2 ? T_2 extends C & {
|
|
1364
1364
|
success: Success;
|
|
@@ -1399,7 +1399,7 @@ export declare const SomethingReq: {
|
|
|
1399
1399
|
readonly _tag: S.tag<Tag>;
|
|
1400
1400
|
} & Payload;
|
|
1401
1401
|
readonly _tag: Tag;
|
|
1402
|
-
readonly success: S.
|
|
1402
|
+
readonly success: S.Void;
|
|
1403
1403
|
readonly error: C & {
|
|
1404
1404
|
error: Error;
|
|
1405
1405
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -1446,7 +1446,7 @@ export declare const SomethingReq: {
|
|
|
1446
1446
|
readonly _tag: S.tag<Tag>;
|
|
1447
1447
|
} & Payload;
|
|
1448
1448
|
readonly _tag: Tag;
|
|
1449
|
-
readonly success: S.
|
|
1449
|
+
readonly success: S.Void;
|
|
1450
1450
|
readonly error: C extends {
|
|
1451
1451
|
error: infer E_1;
|
|
1452
1452
|
} ? E_1 extends S.Top ? E_1 : E_1 extends import("effect/Schema").Struct.Fields ? S.Struct<E_1> : S.Void : S.Never;
|
|
@@ -1470,7 +1470,7 @@ export declare const SomethingReq: {
|
|
|
1470
1470
|
success: Success;
|
|
1471
1471
|
error: Error;
|
|
1472
1472
|
final?: Final;
|
|
1473
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
1473
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
1474
1474
|
success: Success;
|
|
1475
1475
|
error: Error;
|
|
1476
1476
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -1499,7 +1499,7 @@ export declare const SomethingReq: {
|
|
|
1499
1499
|
success: Success;
|
|
1500
1500
|
error: Error;
|
|
1501
1501
|
} & Partial<{
|
|
1502
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
1502
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
1503
1503
|
success: Success;
|
|
1504
1504
|
error: Error;
|
|
1505
1505
|
} extends infer T_2 ? T_2 extends C & {
|
|
@@ -1529,7 +1529,7 @@ export declare const SomethingReq: {
|
|
|
1529
1529
|
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
1530
1530
|
success: Success;
|
|
1531
1531
|
final?: Final;
|
|
1532
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
1532
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
1533
1533
|
success: Success;
|
|
1534
1534
|
} extends infer T_1 ? T_1 extends C & {
|
|
1535
1535
|
success: Success;
|
|
@@ -1553,7 +1553,7 @@ export declare const SomethingReq: {
|
|
|
1553
1553
|
readonly config: Omit<Omit<C, "invalidatesQueries"> & {
|
|
1554
1554
|
success: Success;
|
|
1555
1555
|
} & Partial<{
|
|
1556
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
1556
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
1557
1557
|
success: Success;
|
|
1558
1558
|
} extends infer T_2 ? T_2 extends C & {
|
|
1559
1559
|
success: Success;
|
|
@@ -1591,7 +1591,7 @@ export declare const SomethingReq: {
|
|
|
1591
1591
|
readonly _tag: S.tag<Tag>;
|
|
1592
1592
|
} & Payload;
|
|
1593
1593
|
readonly _tag: Tag;
|
|
1594
|
-
readonly success: S.
|
|
1594
|
+
readonly success: S.Void;
|
|
1595
1595
|
readonly error: C & {
|
|
1596
1596
|
error: Error;
|
|
1597
1597
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -1633,7 +1633,7 @@ export declare const SomethingReq: {
|
|
|
1633
1633
|
readonly _tag: S.tag<Tag>;
|
|
1634
1634
|
} & Payload;
|
|
1635
1635
|
readonly _tag: Tag;
|
|
1636
|
-
readonly success: S.
|
|
1636
|
+
readonly success: S.Void;
|
|
1637
1637
|
readonly error: C extends {
|
|
1638
1638
|
error: infer E_1;
|
|
1639
1639
|
} ? E_1 extends S.Top ? E_1 : E_1 extends import("effect/Schema").Struct.Fields ? S.Struct<E_1> : S.Void : S.Never;
|
|
@@ -1660,7 +1660,7 @@ export declare const SomethingReq: {
|
|
|
1660
1660
|
readonly _tag: S.tag<Tag>;
|
|
1661
1661
|
} & Payload;
|
|
1662
1662
|
readonly _tag: Tag;
|
|
1663
|
-
readonly success: S.
|
|
1663
|
+
readonly success: S.Void;
|
|
1664
1664
|
readonly error: S.Never;
|
|
1665
1665
|
readonly config: Record<string, never>;
|
|
1666
1666
|
readonly id: `Something.${Tag}`;
|
|
@@ -1823,7 +1823,7 @@ declare const SomethingDoNoProps_base: S.Opaque<SomethingDoNoProps, typeof S.Ext
|
|
|
1823
1823
|
readonly _tag: S.tag<"DoNoProps">;
|
|
1824
1824
|
};
|
|
1825
1825
|
readonly _tag: "DoNoProps";
|
|
1826
|
-
readonly success: S.
|
|
1826
|
+
readonly success: S.Void;
|
|
1827
1827
|
readonly error: S.Never;
|
|
1828
1828
|
readonly config: Record<string, never>;
|
|
1829
1829
|
readonly id: "Something.DoNoProps";
|
|
@@ -1849,7 +1849,7 @@ declare const SomethingDoOptionalOnly_base: S.Opaque<SomethingDoOptionalOnly, ty
|
|
|
1849
1849
|
name: S.optional<S.String>;
|
|
1850
1850
|
};
|
|
1851
1851
|
readonly _tag: "DoOptionalOnly";
|
|
1852
|
-
readonly success: S.
|
|
1852
|
+
readonly success: S.Void;
|
|
1853
1853
|
readonly error: S.Never;
|
|
1854
1854
|
readonly config: Record<string, never>;
|
|
1855
1855
|
readonly id: "Something.DoOptionalOnly";
|
|
@@ -1875,7 +1875,7 @@ declare const SomethingDoRequiredOnly_base: S.Opaque<SomethingDoRequiredOnly, ty
|
|
|
1875
1875
|
id: S.String;
|
|
1876
1876
|
};
|
|
1877
1877
|
readonly _tag: "DoRequiredOnly";
|
|
1878
|
-
readonly success: S.
|
|
1878
|
+
readonly success: S.Void;
|
|
1879
1879
|
readonly error: S.Never;
|
|
1880
1880
|
readonly config: Record<string, never>;
|
|
1881
1881
|
readonly id: "Something.DoRequiredOnly";
|
|
@@ -1903,7 +1903,7 @@ declare const SomethingDoMixed_base: S.Opaque<SomethingDoMixed, typeof S.Extende
|
|
|
1903
1903
|
name: S.optional<S.String>;
|
|
1904
1904
|
};
|
|
1905
1905
|
readonly _tag: "DoMixed";
|
|
1906
|
-
readonly success: S.
|
|
1906
|
+
readonly success: S.Void;
|
|
1907
1907
|
readonly error: S.Never;
|
|
1908
1908
|
readonly config: Record<string, never>;
|
|
1909
1909
|
readonly id: "Something.DoMixed";
|
|
@@ -2154,7 +2154,7 @@ export declare const SomethingElseReq: {
|
|
|
2154
2154
|
success: Success;
|
|
2155
2155
|
error: Error;
|
|
2156
2156
|
final?: Final;
|
|
2157
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2157
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2158
2158
|
success: Success;
|
|
2159
2159
|
error: Error;
|
|
2160
2160
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -2183,7 +2183,7 @@ export declare const SomethingElseReq: {
|
|
|
2183
2183
|
success: Success;
|
|
2184
2184
|
error: Error;
|
|
2185
2185
|
} & Partial<{
|
|
2186
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2186
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2187
2187
|
success: Success;
|
|
2188
2188
|
error: Error;
|
|
2189
2189
|
} extends infer T_2 ? T_2 extends C & {
|
|
@@ -2214,7 +2214,7 @@ export declare const SomethingElseReq: {
|
|
|
2214
2214
|
stream: true;
|
|
2215
2215
|
success: Success;
|
|
2216
2216
|
final?: Final;
|
|
2217
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2217
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2218
2218
|
success: Success;
|
|
2219
2219
|
} extends infer T_1 ? T_1 extends C & {
|
|
2220
2220
|
success: Success;
|
|
@@ -2238,7 +2238,7 @@ export declare const SomethingElseReq: {
|
|
|
2238
2238
|
readonly config: Omit<Omit<C, "invalidatesQueries"> & {
|
|
2239
2239
|
success: Success;
|
|
2240
2240
|
} & Partial<{
|
|
2241
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2241
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2242
2242
|
success: Success;
|
|
2243
2243
|
} extends infer T_2 ? T_2 extends C & {
|
|
2244
2244
|
success: Success;
|
|
@@ -2279,7 +2279,7 @@ export declare const SomethingElseReq: {
|
|
|
2279
2279
|
readonly _tag: S.tag<Tag>;
|
|
2280
2280
|
} & Payload;
|
|
2281
2281
|
readonly _tag: Tag;
|
|
2282
|
-
readonly success: S.
|
|
2282
|
+
readonly success: S.Void;
|
|
2283
2283
|
readonly error: C & {
|
|
2284
2284
|
error: Error;
|
|
2285
2285
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -2326,7 +2326,7 @@ export declare const SomethingElseReq: {
|
|
|
2326
2326
|
readonly _tag: S.tag<Tag>;
|
|
2327
2327
|
} & Payload;
|
|
2328
2328
|
readonly _tag: Tag;
|
|
2329
|
-
readonly success: S.
|
|
2329
|
+
readonly success: S.Void;
|
|
2330
2330
|
readonly error: C extends {
|
|
2331
2331
|
error: infer E_1;
|
|
2332
2332
|
} ? E_1 extends S.Top ? E_1 : E_1 extends import("effect/Schema").Struct.Fields ? S.Struct<E_1> : S.Void : S.Never;
|
|
@@ -2350,7 +2350,7 @@ export declare const SomethingElseReq: {
|
|
|
2350
2350
|
success: Success;
|
|
2351
2351
|
error: Error;
|
|
2352
2352
|
final?: Final;
|
|
2353
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2353
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2354
2354
|
success: Success;
|
|
2355
2355
|
error: Error;
|
|
2356
2356
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -2379,7 +2379,7 @@ export declare const SomethingElseReq: {
|
|
|
2379
2379
|
success: Success;
|
|
2380
2380
|
error: Error;
|
|
2381
2381
|
} & Partial<{
|
|
2382
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2382
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2383
2383
|
success: Success;
|
|
2384
2384
|
error: Error;
|
|
2385
2385
|
} extends infer T_2 ? T_2 extends C & {
|
|
@@ -2409,7 +2409,7 @@ export declare const SomethingElseReq: {
|
|
|
2409
2409
|
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
2410
2410
|
success: Success;
|
|
2411
2411
|
final?: Final;
|
|
2412
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2412
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2413
2413
|
success: Success;
|
|
2414
2414
|
} extends infer T_1 ? T_1 extends C & {
|
|
2415
2415
|
success: Success;
|
|
@@ -2433,7 +2433,7 @@ export declare const SomethingElseReq: {
|
|
|
2433
2433
|
readonly config: Omit<Omit<C, "invalidatesQueries"> & {
|
|
2434
2434
|
success: Success;
|
|
2435
2435
|
} & Partial<{
|
|
2436
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2436
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2437
2437
|
success: Success;
|
|
2438
2438
|
} extends infer T_2 ? T_2 extends C & {
|
|
2439
2439
|
success: Success;
|
|
@@ -2471,7 +2471,7 @@ export declare const SomethingElseReq: {
|
|
|
2471
2471
|
readonly _tag: S.tag<Tag>;
|
|
2472
2472
|
} & Payload;
|
|
2473
2473
|
readonly _tag: Tag;
|
|
2474
|
-
readonly success: S.
|
|
2474
|
+
readonly success: S.Void;
|
|
2475
2475
|
readonly error: C & {
|
|
2476
2476
|
error: Error;
|
|
2477
2477
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -2513,7 +2513,7 @@ export declare const SomethingElseReq: {
|
|
|
2513
2513
|
readonly _tag: S.tag<Tag>;
|
|
2514
2514
|
} & Payload;
|
|
2515
2515
|
readonly _tag: Tag;
|
|
2516
|
-
readonly success: S.
|
|
2516
|
+
readonly success: S.Void;
|
|
2517
2517
|
readonly error: C extends {
|
|
2518
2518
|
error: infer E_1;
|
|
2519
2519
|
} ? E_1 extends S.Top ? E_1 : E_1 extends import("effect/Schema").Struct.Fields ? S.Struct<E_1> : S.Void : S.Never;
|
|
@@ -2540,7 +2540,7 @@ export declare const SomethingElseReq: {
|
|
|
2540
2540
|
readonly _tag: S.tag<Tag>;
|
|
2541
2541
|
} & Payload;
|
|
2542
2542
|
readonly _tag: Tag;
|
|
2543
|
-
readonly success: S.
|
|
2543
|
+
readonly success: S.Void;
|
|
2544
2544
|
readonly error: S.Never;
|
|
2545
2545
|
readonly config: Record<string, never>;
|
|
2546
2546
|
readonly id: `SomethingElse.${Tag}`;
|
|
@@ -2565,7 +2565,7 @@ export declare const SomethingElseReq: {
|
|
|
2565
2565
|
success: Success;
|
|
2566
2566
|
error: Error;
|
|
2567
2567
|
final?: Final;
|
|
2568
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2568
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2569
2569
|
success: Success;
|
|
2570
2570
|
error: Error;
|
|
2571
2571
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -2594,7 +2594,7 @@ export declare const SomethingElseReq: {
|
|
|
2594
2594
|
success: Success;
|
|
2595
2595
|
error: Error;
|
|
2596
2596
|
} & Partial<{
|
|
2597
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2597
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2598
2598
|
success: Success;
|
|
2599
2599
|
error: Error;
|
|
2600
2600
|
} extends infer T_2 ? T_2 extends C & {
|
|
@@ -2625,7 +2625,7 @@ export declare const SomethingElseReq: {
|
|
|
2625
2625
|
stream: true;
|
|
2626
2626
|
success: Success;
|
|
2627
2627
|
final?: Final;
|
|
2628
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2628
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2629
2629
|
success: Success;
|
|
2630
2630
|
} extends infer T_1 ? T_1 extends C & {
|
|
2631
2631
|
success: Success;
|
|
@@ -2649,7 +2649,7 @@ export declare const SomethingElseReq: {
|
|
|
2649
2649
|
readonly config: Omit<Omit<C, "invalidatesQueries"> & {
|
|
2650
2650
|
success: Success;
|
|
2651
2651
|
} & Partial<{
|
|
2652
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2652
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2653
2653
|
success: Success;
|
|
2654
2654
|
} extends infer T_2 ? T_2 extends C & {
|
|
2655
2655
|
success: Success;
|
|
@@ -2690,7 +2690,7 @@ export declare const SomethingElseReq: {
|
|
|
2690
2690
|
readonly _tag: S.tag<Tag>;
|
|
2691
2691
|
} & Payload;
|
|
2692
2692
|
readonly _tag: Tag;
|
|
2693
|
-
readonly success: S.
|
|
2693
|
+
readonly success: S.Void;
|
|
2694
2694
|
readonly error: C & {
|
|
2695
2695
|
error: Error;
|
|
2696
2696
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -2737,7 +2737,7 @@ export declare const SomethingElseReq: {
|
|
|
2737
2737
|
readonly _tag: S.tag<Tag>;
|
|
2738
2738
|
} & Payload;
|
|
2739
2739
|
readonly _tag: Tag;
|
|
2740
|
-
readonly success: S.
|
|
2740
|
+
readonly success: S.Void;
|
|
2741
2741
|
readonly error: C extends {
|
|
2742
2742
|
error: infer E_1;
|
|
2743
2743
|
} ? E_1 extends S.Top ? E_1 : E_1 extends import("effect/Schema").Struct.Fields ? S.Struct<E_1> : S.Void : S.Never;
|
|
@@ -2761,7 +2761,7 @@ export declare const SomethingElseReq: {
|
|
|
2761
2761
|
success: Success;
|
|
2762
2762
|
error: Error;
|
|
2763
2763
|
final?: Final;
|
|
2764
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2764
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2765
2765
|
success: Success;
|
|
2766
2766
|
error: Error;
|
|
2767
2767
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -2790,7 +2790,7 @@ export declare const SomethingElseReq: {
|
|
|
2790
2790
|
success: Success;
|
|
2791
2791
|
error: Error;
|
|
2792
2792
|
} & Partial<{
|
|
2793
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2793
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2794
2794
|
success: Success;
|
|
2795
2795
|
error: Error;
|
|
2796
2796
|
} extends infer T_2 ? T_2 extends C & {
|
|
@@ -2820,7 +2820,7 @@ export declare const SomethingElseReq: {
|
|
|
2820
2820
|
}>(tag: Tag, fields: Payload, config: Omit<C, "invalidatesQueries"> & {
|
|
2821
2821
|
success: Success;
|
|
2822
2822
|
final?: Final;
|
|
2823
|
-
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2823
|
+
}, invalidatesQueries?: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2824
2824
|
success: Success;
|
|
2825
2825
|
} extends infer T_1 ? T_1 extends C & {
|
|
2826
2826
|
success: Success;
|
|
@@ -2844,7 +2844,7 @@ export declare const SomethingElseReq: {
|
|
|
2844
2844
|
readonly config: Omit<Omit<C, "invalidatesQueries"> & {
|
|
2845
2845
|
success: Success;
|
|
2846
2846
|
} & Partial<{
|
|
2847
|
-
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.
|
|
2847
|
+
readonly invalidatesQueries: import("effect-app/client").InvalidationCallback<Resources, keyof Payload extends never ? void : import("effect/Schema").Struct.View<Payload, "Type", import("effect/Schema").Struct.TypeOptionalKeys<Payload>, import("effect/Schema").Struct.TypeMutableKeys<Payload>>, (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) extends infer T ? T extends (Success extends S.Top ? Success : Success extends import("effect/Schema").Struct.Fields ? S.Struct<Success> : S.Void) ? T extends S.Void ? void : T["Type"] : never : never, (C & {
|
|
2848
2848
|
success: Success;
|
|
2849
2849
|
} extends infer T_2 ? T_2 extends C & {
|
|
2850
2850
|
success: Success;
|
|
@@ -2882,7 +2882,7 @@ export declare const SomethingElseReq: {
|
|
|
2882
2882
|
readonly _tag: S.tag<Tag>;
|
|
2883
2883
|
} & Payload;
|
|
2884
2884
|
readonly _tag: Tag;
|
|
2885
|
-
readonly success: S.
|
|
2885
|
+
readonly success: S.Void;
|
|
2886
2886
|
readonly error: C & {
|
|
2887
2887
|
error: Error;
|
|
2888
2888
|
} extends infer T_1 ? T_1 extends C & {
|
|
@@ -2924,7 +2924,7 @@ export declare const SomethingElseReq: {
|
|
|
2924
2924
|
readonly _tag: S.tag<Tag>;
|
|
2925
2925
|
} & Payload;
|
|
2926
2926
|
readonly _tag: Tag;
|
|
2927
|
-
readonly success: S.
|
|
2927
|
+
readonly success: S.Void;
|
|
2928
2928
|
readonly error: C extends {
|
|
2929
2929
|
error: infer E_1;
|
|
2930
2930
|
} ? E_1 extends S.Top ? E_1 : E_1 extends import("effect/Schema").Struct.Fields ? S.Struct<E_1> : S.Void : S.Never;
|
|
@@ -2951,7 +2951,7 @@ export declare const SomethingElseReq: {
|
|
|
2951
2951
|
readonly _tag: S.tag<Tag>;
|
|
2952
2952
|
} & Payload;
|
|
2953
2953
|
readonly _tag: Tag;
|
|
2954
|
-
readonly success: S.
|
|
2954
|
+
readonly success: S.Void;
|
|
2955
2955
|
readonly error: S.Never;
|
|
2956
2956
|
readonly config: Record<string, never>;
|
|
2957
2957
|
readonly id: `SomethingElse.${Tag}`;
|