Comparing version 0.4.6 to 0.4.7
@@ -33,7 +33,11 @@ declare type JSValue = string | number | bigint | boolean | symbol | Function | Array<any> | undefined | object | null; | ||
interface InputObject { | ||
[key: string]: any; | ||
$schema?: Schema; | ||
$resolve?: ResolveFn; | ||
$default?: any; | ||
[key: string]: any; | ||
} | ||
declare type InputValue = InputObject | JSValue; | ||
declare type SchemaDefinition = { | ||
[x: string]: JSValue | InputObject | SchemaDefinition; | ||
}; | ||
@@ -56,2 +60,4 @@ declare function resolveSchema(obj: InputObject, defaults?: InputObject): Schema; | ||
export { FunctionArg, InputObject, InputValue, JSType, JSValue, ResolveFn, Schema, TypeDescriptor, applyDefaults, generateMarkdown, generateTypes, resolveSchema }; | ||
declare function defineUntypedSchema(options: SchemaDefinition): SchemaDefinition; | ||
export { FunctionArg, InputObject, InputValue, JSType, JSValue, ResolveFn, Schema, SchemaDefinition, TypeDescriptor, applyDefaults, defineUntypedSchema, generateMarkdown, generateTypes, resolveSchema }; |
{ | ||
"name": "untyped", | ||
"version": "0.4.6", | ||
"version": "0.4.7", | ||
"description": "", | ||
@@ -61,4 +61,4 @@ "repository": "unjs/untyped", | ||
"unbuild": "latest", | ||
"vitest": "latest" | ||
"vitest": "^0.22.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52494
1438