@rexeus/typeweaver-core 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -24,7 +24,8 @@ type HttpParamSchema = ZodObject<Record<string, HttpParamValue>>;
|
|
|
24
24
|
|
|
25
25
|
type IHttpQuery = Record<string, string | string[]> | undefined;
|
|
26
26
|
type HttpQueryValue = ZodString | ZodStringFormat | ZodLiteral<string> | ZodEnum<Record<string, string>>;
|
|
27
|
-
type
|
|
27
|
+
type HttpQueryObject = ZodObject<Record<string, HttpQueryValue | ZodOptional<HttpQueryValue> | ZodArray<HttpQueryValue> | ZodOptional<ZodArray<HttpQueryValue>>>>;
|
|
28
|
+
type HttpQuerySchema = HttpQueryObject | ZodOptional<HttpQueryObject>;
|
|
28
29
|
|
|
29
30
|
type IHttpRequest<Header extends IHttpHeader = IHttpHeader, Param extends IHttpParam = IHttpParam, Query extends IHttpQuery = IHttpQuery, Body extends IHttpBody = IHttpBody> = {
|
|
30
31
|
body?: Body;
|