- Add GETTING_STARTED.md with quick start guide and development modes - Add INSTALL.sh automated installation script - Add INSTALLATION_CHECKLIST.md, INSTALLATION_SUCCESS.md, and INSTALLATION_SUMMARY.md - Add QUICK_REFERENCE.md for common commands - Add SETUP_GUIDE.md with detailed setup instructions - Update README.md with improved project overview - Add did-wallet app dependencies and node_modules
23 lines
879 B
TypeScript
23 lines
879 B
TypeScript
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;
|