@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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -1
  2. 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 HttpQuerySchema = ZodObject<Record<string, HttpQueryValue | ZodOptional<HttpQueryValue> | ZodArray<HttpQueryValue> | ZodOptional<ZodArray<HttpQueryValue>>>>;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rexeus/typeweaver-core",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Core TypeScript and Zod utilities for typeweaver API framework",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",