@shaclmate/shacl-ast 4.0.15 → 4.0.16
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type PrefixMap from "@rdfjs/prefix-map/PrefixMap.js";
|
|
2
2
|
import TermMap from "@rdfjs/term-map";
|
|
3
3
|
import type { BlankNode, DatasetCore, NamedNode } from "@rdfjs/types";
|
|
4
|
+
import { Resource, ResourceSet } from "@rdfx/resource";
|
|
4
5
|
import { Either } from "purify-ts";
|
|
5
|
-
import { Resource, ResourceSet } from "rdfjs-resource";
|
|
6
6
|
import type * as generated from "./generated.js";
|
|
7
7
|
export declare abstract class AbstractShapesGraph<NodeShapeT extends generated.NodeShape, OntologyT extends generated.Ontology, PropertyGroupT extends generated.PropertyGroup, PropertyShapeT extends generated.PropertyShape> {
|
|
8
8
|
private readonly nodeShapesByIdentifier;
|
|
@@ -2,9 +2,9 @@ import DataFactory from "@rdfjs/data-model";
|
|
|
2
2
|
import DatasetFactory from "@rdfjs/dataset";
|
|
3
3
|
import TermMap from "@rdfjs/term-map";
|
|
4
4
|
import TermSet from "@rdfjs/term-set";
|
|
5
|
+
import { Resource, ResourceSet } from "@rdfx/resource";
|
|
5
6
|
import { owl, sh } from "@tpluscode/rdf-ns-builders";
|
|
6
7
|
import { Either, Left } from "purify-ts";
|
|
7
|
-
import { Resource, ResourceSet } from "rdfjs-resource";
|
|
8
8
|
import { CurieFactory } from "./CurieFactory.js";
|
|
9
9
|
export class AbstractShapesGraph {
|
|
10
10
|
nodeShapesByIdentifier;
|
package/dist/generated.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BlankNode, DatasetCore, Literal, NamedNode, Quad_Graph, Variable } from "@rdfjs/types";
|
|
2
|
+
import { PropertyPath as RdfjsResourcePropertyPath, Resource, ResourceSet } from "@rdfx/resource";
|
|
2
3
|
import { Either, Maybe } from "purify-ts";
|
|
3
|
-
import { PropertyPath as RdfjsResourcePropertyPath, Resource, ResourceSet } from "rdfjs-resource";
|
|
4
4
|
interface $BooleanFilter {
|
|
5
5
|
readonly value?: boolean;
|
|
6
6
|
}
|
|
@@ -162,7 +162,7 @@ export declare namespace PropertyShape {
|
|
|
162
162
|
type $Identifier = BlankNode | NamedNode;
|
|
163
163
|
namespace $Identifier {
|
|
164
164
|
const fromString: typeof $identifierFromString;
|
|
165
|
-
const toString: typeof import("
|
|
165
|
+
const toString: typeof import("@rdfx/resource/dist/Identifier.js").Identifier.toString;
|
|
166
166
|
}
|
|
167
167
|
function $filter(filter: PropertyShape.$Filter, value: PropertyShape): boolean;
|
|
168
168
|
type $Filter = {
|
|
@@ -605,7 +605,7 @@ export declare namespace PropertyGroup {
|
|
|
605
605
|
type $Identifier = BlankNode | NamedNode;
|
|
606
606
|
namespace $Identifier {
|
|
607
607
|
const fromString: typeof $identifierFromString;
|
|
608
|
-
const toString: typeof import("
|
|
608
|
+
const toString: typeof import("@rdfx/resource/dist/Identifier.js").Identifier.toString;
|
|
609
609
|
}
|
|
610
610
|
function $filter(filter: PropertyGroup.$Filter, value: PropertyGroup): boolean;
|
|
611
611
|
type $Filter = {
|
|
@@ -677,7 +677,7 @@ export declare namespace Ontology {
|
|
|
677
677
|
type $Identifier = BlankNode | NamedNode;
|
|
678
678
|
namespace $Identifier {
|
|
679
679
|
const fromString: typeof $identifierFromString;
|
|
680
|
-
const toString: typeof import("
|
|
680
|
+
const toString: typeof import("@rdfx/resource/dist/Identifier.js").Identifier.toString;
|
|
681
681
|
}
|
|
682
682
|
function $filter(filter: Ontology.$Filter, value: Ontology): boolean;
|
|
683
683
|
type $Filter = {
|
|
@@ -805,7 +805,7 @@ export declare namespace NodeShape {
|
|
|
805
805
|
type $Identifier = BlankNode | NamedNode;
|
|
806
806
|
namespace $Identifier {
|
|
807
807
|
const fromString: typeof $identifierFromString;
|
|
808
|
-
const toString: typeof import("
|
|
808
|
+
const toString: typeof import("@rdfx/resource/dist/Identifier.js").Identifier.toString;
|
|
809
809
|
}
|
|
810
810
|
function $filter(filter: NodeShape.$Filter, value: NodeShape): boolean;
|
|
811
811
|
type $Filter = {
|
|
@@ -1232,7 +1232,7 @@ export declare namespace Shape {
|
|
|
1232
1232
|
type $Identifier = BlankNode | NamedNode;
|
|
1233
1233
|
namespace $Identifier {
|
|
1234
1234
|
const fromString: typeof $identifierFromString;
|
|
1235
|
-
const toString: typeof import("
|
|
1235
|
+
const toString: typeof import("@rdfx/resource/dist/Identifier.js").Identifier.toString;
|
|
1236
1236
|
}
|
|
1237
1237
|
const $schema: {
|
|
1238
1238
|
readonly kind: "NamedObjectUnion";
|
|
@@ -2218,7 +2218,7 @@ export declare namespace $Object {
|
|
|
2218
2218
|
type $Identifier = BlankNode | NamedNode;
|
|
2219
2219
|
namespace $Identifier {
|
|
2220
2220
|
const fromString: typeof $identifierFromString;
|
|
2221
|
-
const toString: typeof import("
|
|
2221
|
+
const toString: typeof import("@rdfx/resource/dist/Identifier.js").Identifier.toString;
|
|
2222
2222
|
}
|
|
2223
2223
|
const $schema: {
|
|
2224
2224
|
readonly kind: "NamedObjectUnion";
|
package/dist/generated.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import dataFactory from "@rdfjs/data-model";
|
|
2
2
|
import datasetFactory from "@rdfjs/dataset";
|
|
3
|
+
import { LiteralFactory } from "@rdfx/literal";
|
|
4
|
+
import { PropertyPath as RdfjsResourcePropertyPath, Resource, ResourceSet, } from "@rdfx/resource";
|
|
3
5
|
import { Either, Left, Maybe, Right } from "purify-ts";
|
|
4
|
-
import { LiteralFactory, PropertyPath as RdfjsResourcePropertyPath, Resource, ResourceSet, } from "rdfjs-resource";
|
|
5
6
|
function $filterArray(filterItem) {
|
|
6
7
|
return (filter, values) => {
|
|
7
8
|
for (const value of values) {
|
package/package.json
CHANGED
|
@@ -5,25 +5,19 @@
|
|
|
5
5
|
"@rdfjs/term-map": "~2.0.2",
|
|
6
6
|
"@rdfjs/term-set": "~2.0.3",
|
|
7
7
|
"@rdfjs/types": "~2.0.1",
|
|
8
|
+
"@rdfx/resource": "0.0.2",
|
|
8
9
|
"@tpluscode/rdf-ns-builders": "~4.3.0",
|
|
9
10
|
"@types/rdfjs__data-model": "~2.0.9",
|
|
10
11
|
"@types/rdfjs__dataset": "~2.0.7",
|
|
11
12
|
"@types/rdfjs__term-map": "~2.0.10",
|
|
12
13
|
"@types/rdfjs__term-set": "~2.0.9",
|
|
13
14
|
"purify-ts": "~2.1.4",
|
|
14
|
-
"rdfjs-resource": "3.0.7",
|
|
15
15
|
"typescript-memoize": "~1.1.1"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@tsconfig/node18": "~18.2.4",
|
|
19
|
-
"@tsconfig/strictest": "~2.0.8",
|
|
20
18
|
"@types/n3": "~1.26.0",
|
|
21
|
-
"@types/node": "~18",
|
|
22
|
-
"depcheck": "~1.4.7",
|
|
23
19
|
"n3": "~1.26.0",
|
|
24
|
-
"
|
|
25
|
-
"ts-invariant": "~0.10.3",
|
|
26
|
-
"typescript": "5.9.3"
|
|
20
|
+
"ts-invariant": "~0.10.3"
|
|
27
21
|
},
|
|
28
22
|
"files": [
|
|
29
23
|
"README.md",
|
|
@@ -50,5 +44,5 @@
|
|
|
50
44
|
},
|
|
51
45
|
"type": "module",
|
|
52
46
|
"types": "./dist/index.d.ts",
|
|
53
|
-
"version": "4.0.
|
|
47
|
+
"version": "4.0.16"
|
|
54
48
|
}
|