@rest-vir/define-service 0.5.1 → 0.5.3
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.
|
@@ -118,7 +118,7 @@ export type WithFinalEndpointProps<Init, EndpointPath extends EndpointPathBase>
|
|
|
118
118
|
RequestType: Init['requestDataShape'] extends NoParam ? any : undefined extends Init['requestDataShape'] ? undefined : ShapeToRuntimeType<ShapeDefinition<Init['requestDataShape'], true>, false, true>;
|
|
119
119
|
ResponseType: Init['responseDataShape'] extends NoParam ? any : undefined extends Init['responseDataShape'] ? undefined : ShapeToRuntimeType<ShapeDefinition<Init['responseDataShape'], true>, false, true>;
|
|
120
120
|
searchParamsShape: 'searchParamsShape' extends keyof Init ? ShapeDefinition<Init['searchParamsShape'], true> | undefined : undefined;
|
|
121
|
-
SearchParamsType:
|
|
121
|
+
SearchParamsType: 'searchParamsShape' extends keyof Init ? ShapeToRuntimeType<ShapeDefinition<Init['searchParamsShape'], true>, false, true> : BaseSearchParams;
|
|
122
122
|
customProps: 'customProps' extends keyof Init ? Init['customProps'] : undefined;
|
|
123
123
|
}> : never) & {
|
|
124
124
|
path: EndpointPath;
|