Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
22
my-app/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts
generated
vendored
Executable file
22
my-app/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts
generated
vendored
Executable file
|
@ -0,0 +1,22 @@
|
|||
import type { CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition, SchemaObject } from "../../types";
|
||||
import type { KeywordCxt } from "../../compile/validate";
|
||||
import { _JTDTypeError } from "./error";
|
||||
declare enum PropError {
|
||||
Additional = "additional",
|
||||
Missing = "missing"
|
||||
}
|
||||
type PropKeyword = "properties" | "optionalProperties";
|
||||
type PropSchema = {
|
||||
[P in string]?: SchemaObject;
|
||||
};
|
||||
export type JTDPropertiesError = _JTDTypeError<PropKeyword, "object", PropSchema> | ErrorObject<PropKeyword, {
|
||||
error: PropError.Additional;
|
||||
additionalProperty: string;
|
||||
}, PropSchema> | ErrorObject<PropKeyword, {
|
||||
error: PropError.Missing;
|
||||
missingProperty: string;
|
||||
}, PropSchema>;
|
||||
export declare const error: KeywordErrorDefinition;
|
||||
declare const def: CodeKeywordDefinition;
|
||||
export declare function validateProperties(cxt: KeywordCxt): void;
|
||||
export default def;
|
Loading…
Add table
Add a link
Reference in a new issue