@forklaunch/validator 0.1.9 → 0.1.11

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 CHANGED
@@ -10,7 +10,13 @@ import { TOuterArray, TCatchall, TObject, TObjectShape, TResolve, TSchemaTransla
10
10
  import { ZodOuterArray, ZodCatchall, ZodObject, ZodObjectShape, ZodResolve, ZodSchemaTranslate } from "./zod/types/zod.schema.types";
11
11
  import { ZodSchemaValidator } from "./zod";
12
12
  import { TypeboxSchemaValidator } from "./typebox";
13
- import { AnySchemaValidator } from "./interfaces/schemaValidator.interfaces";
13
+ import { SchemaValidator } from "./interfaces/schemaValidator.interfaces";
14
+ /**
15
+ * Interface representing any schema validator.
16
+ * Extends the SchemaValidator interface with any schema types.
17
+ */
18
+ export interface AnySchemaValidator extends SchemaValidator<any, any, any> {
19
+ }
14
20
  /**
15
21
  * Type alias for a schema object shape.
16
22
  * Resolves to ZodObjectShape for Zod schemas and TObjectShape for TypeBox schemas.
@@ -1,11 +1,5 @@
1
1
  import { SchemaObject } from "openapi3-ts/oas31";
2
2
  import { LiteralSchema } from "../types/schema.types";
3
- /**
4
- * Interface representing any schema validator.
5
- * Extends the SchemaValidator interface with any schema types.
6
- */
7
- export interface AnySchemaValidator extends SchemaValidator<any, any, any> {
8
- }
9
3
  /**
10
4
  * Interface representing a schema validator.
11
5
  *
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@forklaunch/validator",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Schema validator for ForkLaunch components.",
5
- "files": ["dist/**"],
5
+ "files": ["dist"],
6
6
  "types": "dist/index.d.ts",
7
7
  "directories": {
8
8
  "test": "tests"