@ulb-darmstadt/shacl-form
Version:
SHACL form generator
9 lines (8 loc) • 536 B
TypeScript
import { Quad } from 'n3';
import { Term } from '@rdfjs/types';
import { ShaclNode } from "./node";
import { ShaclProperty } from "./property";
import { Config } from './config';
export declare function createShaclOrConstraint(options: Term[], context: ShaclNode | ShaclProperty, config: Config): HTMLElement;
export declare function resolveShaclOrConstraintOnProperty(subjects: Term[], value: Term, config: Config): Quad[];
export declare function resolveShaclOrConstraintOnNode(subjects: Term[], value: Term, config: Config): Term[];