@nhtio/validation 1.20250804.0 → 1.20250814.0

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.
@@ -1,4 +1,4 @@
1
- import type { AnySchema } from './schemas';
1
+ import type { Schema } from './schemas';
2
2
  /**
3
3
  * Encodes a validation schema into a compressed, base64-encoded string for transport between environments.
4
4
  *
@@ -46,7 +46,7 @@ import type { AnySchema } from './schemas';
46
46
  *
47
47
  * @see {@link decode} For decoding schemas from encoded strings
48
48
  */
49
- export declare const encode: (schema: AnySchema) => string;
49
+ export declare const encode: (schema: Schema) => string;
50
50
  /**
51
51
  * Decodes a base64-encoded schema string back into a usable validation schema.
52
52
  *
@@ -103,4 +103,4 @@ export declare const encode: (schema: AnySchema) => string;
103
103
  *
104
104
  * @see {@link encode} For encoding schemas into transportable strings
105
105
  */
106
- export declare const decode: (base64: string) => AnySchema;
106
+ export declare const decode: (base64: string) => Schema;