@ulb-darmstadt/shacl-form 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.d.ts +4 -1
- package/dist/constants.d.ts +0 -9
- package/dist/index-with-plugins.js +1 -1
- package/dist/index-with-plugins.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.d.ts +2 -2
- package/dist/serialize.d.ts +2 -2
- package/dist/util.d.ts +2 -2
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Store } from 'n3';
|
|
1
|
+
import { Prefixes, Store } from 'n3';
|
|
2
2
|
import { Term } from '@rdfjs/types';
|
|
3
3
|
import { Theme } from './theme';
|
|
4
4
|
import { Plugins } from './plugin';
|
|
@@ -18,6 +18,7 @@ export declare class Config {
|
|
|
18
18
|
private _shapesGraph;
|
|
19
19
|
private _dataGraph;
|
|
20
20
|
private _plugins;
|
|
21
|
+
private _prefixes;
|
|
21
22
|
equals(other: Config): boolean;
|
|
22
23
|
get shapesGraph(): Store;
|
|
23
24
|
set shapesGraph(graph: Store);
|
|
@@ -26,6 +27,8 @@ export declare class Config {
|
|
|
26
27
|
get lists(): Record<string, Term[]>;
|
|
27
28
|
get groups(): string[];
|
|
28
29
|
set theme(theme: Theme);
|
|
30
|
+
get prefixes(): Prefixes<import("@rdfjs/types").NamedNode<string>>;
|
|
31
|
+
registerPrefixes(prefixes: Prefixes): void;
|
|
29
32
|
get plugins(): Plugins;
|
|
30
33
|
set plugins(plugins: Plugins);
|
|
31
34
|
static from(elem: HTMLElement): Config;
|
package/dist/constants.d.ts
CHANGED
|
@@ -3,17 +3,8 @@ export declare const PREFIX_DASH = "http://datashapes.org/dash#";
|
|
|
3
3
|
export declare const PREFIX_XSD = "http://www.w3.org/2001/XMLSchema#";
|
|
4
4
|
export declare const PREFIX_RDF = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
|
|
5
5
|
export declare const PREFIX_RDFS = "http://www.w3.org/2000/01/rdf-schema#";
|
|
6
|
-
export declare const PREFIX_SCHEMA = "http://schema.org/";
|
|
7
6
|
export declare const PREFIX_SKOS = "http://www.w3.org/2004/02/skos/core#";
|
|
8
7
|
export declare const PREFIX_OWL = "http://www.w3.org/2002/07/owl#";
|
|
9
|
-
export declare const PREFIX_FOAF = "http://xmlns.com/foaf/0.1/";
|
|
10
|
-
export declare const PREFIX_DCTERMS = "http://purl.org/dc/terms/";
|
|
11
|
-
export declare const DEFAULT_PREFIXES: {
|
|
12
|
-
xsd: string;
|
|
13
|
-
rdf: string;
|
|
14
|
-
schema: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const KNOWN_PREFIXES: string[];
|
|
17
8
|
export declare const SHAPES_GRAPH: import("n3").NamedNode<"shapes">;
|
|
18
9
|
export declare const OWL_IMPORTS: import("n3").NamedNode<string>;
|
|
19
10
|
export declare const RDF_PREDICATE_TYPE: import("n3").NamedNode<string>;
|