Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99727753
dependencies.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Jan 26, 08:42
Size
839 B
Mime Type
text/x-java
Expires
Tue, Jan 28, 08:42 (2 d)
Engine
blob
Format
Raw Data
Handle
23814499
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
dependencies.d.ts
View Options
import type { CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition, SchemaMap, AnySchema } from "../../types";
import type { KeywordCxt } from "../../compile/validate";
export type PropertyDependencies = {
[K in string]?: string[];
};
export interface DependenciesErrorParams {
property: string;
missingProperty: string;
depsCount: number;
deps: string;
}
export type DependenciesError = ErrorObject<"dependencies", DependenciesErrorParams, {
[K in string]?: string[] | AnySchema;
}>;
export declare const error: KeywordErrorDefinition;
declare const def: CodeKeywordDefinition;
export declare function validatePropertyDeps(cxt: KeywordCxt, propertyDeps?: {
[K in string]?: string[];
}): void;
export declare function validateSchemaDeps(cxt: KeywordCxt, schemaDeps?: SchemaMap): void;
export default def;
Event Timeline
Log In to Comment