@shaclmate/compiler 4.0.14 → 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.
- package/dist/Compiler.d.ts +4 -1
- package/dist/Compiler.js +3 -1
- package/dist/ShapesGraphToAstTransformer.d.ts +10 -2
- package/dist/ShapesGraphToAstTransformer.js +72 -1
- package/dist/_ShapesGraphToAstTransformer/nodeShapeIdentifierMintingStrategy.js +14 -13
- package/dist/_ShapesGraphToAstTransformer/shapeNodeKinds.js +18 -17
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstCompoundType.js +6 -2
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstListType.js +8 -8
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstObjectType.js +10 -5
- package/dist/ast/ObjectCompoundType.js +1 -1
- package/dist/ast/ObjectType.d.ts +1 -1
- package/dist/ast/ObjectType.js +1 -1
- package/dist/generators/json/AstJsonGenerator.js +1 -1
- package/dist/generators/ts/AbstractCollectionType.js +1 -7
- package/dist/generators/ts/AbstractTermType.d.ts +1 -0
- package/dist/generators/ts/AbstractTermType.js +6 -0
- package/dist/generators/ts/AbstractUnionType.d.ts +31 -9
- package/dist/generators/ts/AbstractUnionType.js +252 -126
- package/dist/generators/ts/DefaultValueType.js +1 -1
- package/dist/generators/ts/NamedObjectUnionType.js +1 -1
- package/dist/generators/ts/SetType.d.ts +1 -0
- package/dist/generators/ts/SetType.js +12 -0
- package/dist/generators/ts/TypeFactory.js +1 -1
- package/dist/generators/ts/_NamedObjectType/ShaclProperty.d.ts +1 -1
- package/dist/generators/ts/imports.js +4 -4
- package/dist/input/ShapesGraph.d.ts +38 -21
- package/dist/input/ShapesGraph.js +56 -58
- package/dist/input/generated.d.ts +211 -46
- package/dist/input/generated.js +2283 -677
- package/dist/input/index.d.ts +1 -3
- package/dist/input/index.js +1 -3
- package/package.json +5 -10
- package/dist/input/NodeShape.d.ts +0 -11
- package/dist/input/NodeShape.js +0 -2
- package/dist/input/Shape.d.ts +0 -4
- package/dist/input/Shape.js +0 -2
- package/dist/input/ancestorClassIris.d.ts +0 -4
- package/dist/input/ancestorClassIris.js +0 -24
- package/dist/input/descendantClassIris.d.ts +0 -4
- package/dist/input/descendantClassIris.js +0 -27
|
@@ -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
|
}
|
|
@@ -90,7 +90,7 @@ export type $ToRdfResourceValuesFunction<T> = (value: T, options: {
|
|
|
90
90
|
export interface PropertyShape {
|
|
91
91
|
readonly $identifier: PropertyShape.$Identifier;
|
|
92
92
|
readonly $type: "PropertyShape";
|
|
93
|
-
readonly and: readonly (
|
|
93
|
+
readonly and: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
94
94
|
readonly classes: readonly NamedNode[];
|
|
95
95
|
readonly comment: Maybe<string>;
|
|
96
96
|
readonly datatype: Maybe<NamedNode>;
|
|
@@ -117,7 +117,7 @@ export interface PropertyShape {
|
|
|
117
117
|
readonly nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
|
|
118
118
|
readonly nodes: readonly (BlankNode | NamedNode)[];
|
|
119
119
|
readonly not: readonly (BlankNode | NamedNode)[];
|
|
120
|
-
readonly or: readonly (
|
|
120
|
+
readonly or: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
121
121
|
readonly order: Maybe<number>;
|
|
122
122
|
readonly path: $PropertyPath;
|
|
123
123
|
readonly patterns: readonly string[];
|
|
@@ -125,18 +125,57 @@ export interface PropertyShape {
|
|
|
125
125
|
readonly shaclmateName: Maybe<string>;
|
|
126
126
|
readonly uniqueLang: Maybe<boolean>;
|
|
127
127
|
readonly visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
|
|
128
|
-
readonly xone: readonly (
|
|
128
|
+
readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
129
129
|
}
|
|
130
130
|
export declare namespace PropertyShape {
|
|
131
|
+
function $create(parameters: {
|
|
132
|
+
readonly $identifier?: (BlankNode | NamedNode) | string;
|
|
133
|
+
readonly and?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
134
|
+
readonly classes?: readonly NamedNode[] | readonly string[];
|
|
135
|
+
readonly comment?: Maybe<string> | string;
|
|
136
|
+
readonly datatype?: Maybe<NamedNode> | NamedNode | string;
|
|
137
|
+
readonly deactivated?: Maybe<boolean> | boolean;
|
|
138
|
+
readonly defaultValue?: Maybe<NamedNode | Literal> | bigint | boolean | Date | number | string | (NamedNode | Literal);
|
|
139
|
+
readonly description?: Maybe<string> | string;
|
|
140
|
+
readonly flags?: readonly string[];
|
|
141
|
+
readonly groups?: readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
142
|
+
readonly hasValues?: readonly (NamedNode | Literal)[] | readonly bigint[] | readonly boolean[] | readonly number[] | readonly string[];
|
|
143
|
+
readonly in_?: Maybe<readonly (NamedNode | Literal)[]> | readonly (NamedNode | Literal)[] | readonly bigint[] | readonly boolean[] | readonly number[] | readonly string[];
|
|
144
|
+
readonly isDefinedBy?: Maybe<BlankNode | NamedNode> | (BlankNode | NamedNode) | string;
|
|
145
|
+
readonly label?: Maybe<string> | string;
|
|
146
|
+
readonly languageIn?: Maybe<readonly string[]> | readonly string[];
|
|
147
|
+
readonly maxCount?: Maybe<number> | number;
|
|
148
|
+
readonly maxExclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
|
|
149
|
+
readonly maxInclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
|
|
150
|
+
readonly maxLength?: Maybe<number> | number;
|
|
151
|
+
readonly minCount?: Maybe<number> | number;
|
|
152
|
+
readonly minExclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
|
|
153
|
+
readonly minInclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
|
|
154
|
+
readonly minLength?: Maybe<number> | number;
|
|
155
|
+
readonly mutable?: Maybe<boolean> | boolean;
|
|
156
|
+
readonly name?: Maybe<string> | string;
|
|
157
|
+
readonly nodeKind?: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">> | NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal"> | "http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal";
|
|
158
|
+
readonly nodes?: readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
159
|
+
readonly not?: readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
160
|
+
readonly or?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
161
|
+
readonly order?: Maybe<number> | number;
|
|
162
|
+
readonly path: $PropertyPath;
|
|
163
|
+
readonly patterns?: readonly string[];
|
|
164
|
+
readonly resolve?: Maybe<BlankNode | NamedNode> | (BlankNode | NamedNode) | string;
|
|
165
|
+
readonly shaclmateName?: Maybe<string> | string;
|
|
166
|
+
readonly uniqueLang?: Maybe<boolean> | boolean;
|
|
167
|
+
readonly visibility?: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">> | NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public"> | "http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public";
|
|
168
|
+
readonly xone?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
169
|
+
}): PropertyShape;
|
|
131
170
|
type $Identifier = BlankNode | NamedNode;
|
|
132
171
|
namespace $Identifier {
|
|
133
172
|
const fromString: typeof $identifierFromString;
|
|
134
|
-
const toString: typeof import("
|
|
173
|
+
const toString: typeof import("@rdfx/resource/dist/Identifier.js").Identifier.toString;
|
|
135
174
|
}
|
|
136
175
|
function $filter(filter: PropertyShape.$Filter, value: PropertyShape): boolean;
|
|
137
176
|
type $Filter = {
|
|
138
177
|
readonly $identifier?: $IdentifierFilter;
|
|
139
|
-
readonly and?: $
|
|
178
|
+
readonly and?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
140
179
|
readonly classes?: $CollectionFilter<$IriFilter>;
|
|
141
180
|
readonly comment?: $MaybeFilter<$StringFilter>;
|
|
142
181
|
readonly datatype?: $MaybeFilter<$IriFilter>;
|
|
@@ -163,7 +202,7 @@ export declare namespace PropertyShape {
|
|
|
163
202
|
readonly nodeKind?: $MaybeFilter<$IriFilter>;
|
|
164
203
|
readonly nodes?: $CollectionFilter<$IdentifierFilter>;
|
|
165
204
|
readonly not?: $CollectionFilter<$IdentifierFilter>;
|
|
166
|
-
readonly or?: $
|
|
205
|
+
readonly or?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
167
206
|
readonly order?: $MaybeFilter<$NumericFilter<number>>;
|
|
168
207
|
readonly path?: $PropertyPath.$Filter;
|
|
169
208
|
readonly patterns?: $CollectionFilter<$StringFilter>;
|
|
@@ -171,7 +210,7 @@ export declare namespace PropertyShape {
|
|
|
171
210
|
readonly shaclmateName?: $MaybeFilter<$StringFilter>;
|
|
172
211
|
readonly uniqueLang?: $MaybeFilter<$BooleanFilter>;
|
|
173
212
|
readonly visibility?: $MaybeFilter<$IriFilter>;
|
|
174
|
-
readonly xone?: $
|
|
213
|
+
readonly xone?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
175
214
|
};
|
|
176
215
|
const $fromRdfResource: $FromRdfResourceFunction<PropertyShape>;
|
|
177
216
|
const $fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyShape>;
|
|
@@ -180,7 +219,7 @@ export declare namespace PropertyShape {
|
|
|
180
219
|
const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
|
|
181
220
|
$identifier: BlankNode | NamedNode;
|
|
182
221
|
$type: "PropertyShape";
|
|
183
|
-
and: readonly (
|
|
222
|
+
and: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
184
223
|
classes: readonly NamedNode[];
|
|
185
224
|
comment: Maybe<string>;
|
|
186
225
|
datatype: Maybe<NamedNode>;
|
|
@@ -207,7 +246,7 @@ export declare namespace PropertyShape {
|
|
|
207
246
|
nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
|
|
208
247
|
nodes: readonly (BlankNode | NamedNode)[];
|
|
209
248
|
not: readonly (BlankNode | NamedNode)[];
|
|
210
|
-
or: readonly (
|
|
249
|
+
or: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
211
250
|
order: Maybe<number>;
|
|
212
251
|
path: $PropertyPath;
|
|
213
252
|
patterns: readonly string[];
|
|
@@ -215,7 +254,7 @@ export declare namespace PropertyShape {
|
|
|
215
254
|
shaclmateName: Maybe<string>;
|
|
216
255
|
uniqueLang: Maybe<boolean>;
|
|
217
256
|
visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
|
|
218
|
-
xone: readonly (
|
|
257
|
+
xone: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
219
258
|
}>;
|
|
220
259
|
const $schema: {
|
|
221
260
|
readonly properties: {
|
|
@@ -235,7 +274,7 @@ export declare namespace PropertyShape {
|
|
|
235
274
|
readonly and: {
|
|
236
275
|
readonly kind: "Shacl";
|
|
237
276
|
readonly type: () => {
|
|
238
|
-
kind: "
|
|
277
|
+
kind: "Maybe";
|
|
239
278
|
item: () => {
|
|
240
279
|
kind: "List";
|
|
241
280
|
item: () => {
|
|
@@ -515,7 +554,7 @@ export declare namespace PropertyShape {
|
|
|
515
554
|
readonly or: {
|
|
516
555
|
readonly kind: "Shacl";
|
|
517
556
|
readonly type: () => {
|
|
518
|
-
kind: "
|
|
557
|
+
kind: "Maybe";
|
|
519
558
|
item: () => {
|
|
520
559
|
kind: "List";
|
|
521
560
|
item: () => {
|
|
@@ -594,7 +633,7 @@ export declare namespace PropertyShape {
|
|
|
594
633
|
readonly xone: {
|
|
595
634
|
readonly kind: "Shacl";
|
|
596
635
|
readonly type: () => {
|
|
597
|
-
kind: "
|
|
636
|
+
kind: "Maybe";
|
|
598
637
|
item: () => {
|
|
599
638
|
kind: "List";
|
|
600
639
|
item: () => {
|
|
@@ -615,10 +654,15 @@ export interface PropertyGroup {
|
|
|
615
654
|
readonly label: Maybe<string>;
|
|
616
655
|
}
|
|
617
656
|
export declare namespace PropertyGroup {
|
|
657
|
+
function $create(parameters?: {
|
|
658
|
+
readonly $identifier?: (BlankNode | NamedNode) | string;
|
|
659
|
+
readonly comment?: Maybe<string> | string;
|
|
660
|
+
readonly label?: Maybe<string> | string;
|
|
661
|
+
}): PropertyGroup;
|
|
618
662
|
type $Identifier = BlankNode | NamedNode;
|
|
619
663
|
namespace $Identifier {
|
|
620
664
|
const fromString: typeof $identifierFromString;
|
|
621
|
-
const toString: typeof import("
|
|
665
|
+
const toString: typeof import("@rdfx/resource/dist/Identifier.js").Identifier.toString;
|
|
622
666
|
}
|
|
623
667
|
function $filter(filter: PropertyGroup.$Filter, value: PropertyGroup): boolean;
|
|
624
668
|
type $Filter = {
|
|
@@ -686,10 +730,19 @@ export interface Ontology {
|
|
|
686
730
|
readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
687
731
|
}
|
|
688
732
|
export declare namespace Ontology {
|
|
733
|
+
function $create(parameters?: {
|
|
734
|
+
readonly $identifier?: (BlankNode | NamedNode) | string;
|
|
735
|
+
readonly comment?: Maybe<string> | string;
|
|
736
|
+
readonly label?: Maybe<string> | string;
|
|
737
|
+
readonly tsFeatureExcludes?: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[] | readonly ("http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql")[];
|
|
738
|
+
readonly tsFeatureIncludes?: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[] | readonly ("http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql")[];
|
|
739
|
+
readonly tsImports?: readonly string[];
|
|
740
|
+
readonly tsObjectDeclarationType?: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">> | NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface"> | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface";
|
|
741
|
+
}): Ontology;
|
|
689
742
|
type $Identifier = BlankNode | NamedNode;
|
|
690
743
|
namespace $Identifier {
|
|
691
744
|
const fromString: typeof $identifierFromString;
|
|
692
|
-
const toString: typeof import("
|
|
745
|
+
const toString: typeof import("@rdfx/resource/dist/Identifier.js").Identifier.toString;
|
|
693
746
|
}
|
|
694
747
|
function $filter(filter: Ontology.$Filter, value: Ontology): boolean;
|
|
695
748
|
type $Filter = {
|
|
@@ -801,7 +854,7 @@ export interface NodeShape {
|
|
|
801
854
|
readonly $identifier: NodeShape.$Identifier;
|
|
802
855
|
readonly $type: "NodeShape";
|
|
803
856
|
readonly abstract: Maybe<boolean>;
|
|
804
|
-
readonly and: readonly (
|
|
857
|
+
readonly and: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
805
858
|
readonly classes: readonly NamedNode[];
|
|
806
859
|
readonly closed: Maybe<boolean>;
|
|
807
860
|
readonly comment: Maybe<string>;
|
|
@@ -830,29 +883,77 @@ export interface NodeShape {
|
|
|
830
883
|
readonly nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
|
|
831
884
|
readonly nodes: readonly (BlankNode | NamedNode)[];
|
|
832
885
|
readonly not: readonly (BlankNode | NamedNode)[];
|
|
833
|
-
readonly or: readonly (
|
|
886
|
+
readonly or: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
834
887
|
readonly patterns: readonly string[];
|
|
835
888
|
readonly properties: readonly (BlankNode | NamedNode)[];
|
|
836
889
|
readonly rdfType: Maybe<NamedNode>;
|
|
837
890
|
readonly shaclmateName: Maybe<string>;
|
|
891
|
+
readonly subClassOf: readonly NamedNode[];
|
|
838
892
|
readonly toRdfTypes: readonly NamedNode[];
|
|
839
893
|
readonly tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
840
894
|
readonly tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
841
895
|
readonly tsImports: readonly string[];
|
|
842
896
|
readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
843
|
-
readonly
|
|
897
|
+
readonly types: readonly NamedNode[];
|
|
898
|
+
readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
844
899
|
}
|
|
845
900
|
export declare namespace NodeShape {
|
|
901
|
+
function $create(parameters?: {
|
|
902
|
+
readonly $identifier?: (BlankNode | NamedNode) | string;
|
|
903
|
+
readonly abstract?: Maybe<boolean> | boolean;
|
|
904
|
+
readonly and?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
905
|
+
readonly classes?: readonly NamedNode[] | readonly string[];
|
|
906
|
+
readonly closed?: Maybe<boolean> | boolean;
|
|
907
|
+
readonly comment?: Maybe<string> | string;
|
|
908
|
+
readonly datatype?: Maybe<NamedNode> | NamedNode | string;
|
|
909
|
+
readonly deactivated?: Maybe<boolean> | boolean;
|
|
910
|
+
readonly discriminantValue?: Maybe<string> | string;
|
|
911
|
+
readonly extern?: Maybe<boolean> | boolean;
|
|
912
|
+
readonly flags?: readonly string[];
|
|
913
|
+
readonly fromRdfType?: Maybe<NamedNode> | NamedNode | string;
|
|
914
|
+
readonly hasValues?: readonly (NamedNode | Literal)[] | readonly bigint[] | readonly boolean[] | readonly number[] | readonly string[];
|
|
915
|
+
readonly identifierMintingStrategy?: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4">> | NamedNode<"http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4"> | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_BlankNode" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_SHA256" | "http://purl.org/shaclmate/ontology#_IdentifierMintingStrategy_UUIDv4";
|
|
916
|
+
readonly ignoredProperties?: Maybe<readonly NamedNode[]> | readonly NamedNode[] | readonly string[];
|
|
917
|
+
readonly in_?: Maybe<readonly (NamedNode | Literal)[]> | readonly (NamedNode | Literal)[] | readonly bigint[] | readonly boolean[] | readonly number[] | readonly string[];
|
|
918
|
+
readonly isDefinedBy?: Maybe<BlankNode | NamedNode> | (BlankNode | NamedNode) | string;
|
|
919
|
+
readonly label?: Maybe<string> | string;
|
|
920
|
+
readonly languageIn?: Maybe<readonly string[]> | readonly string[];
|
|
921
|
+
readonly maxCount?: Maybe<number> | number;
|
|
922
|
+
readonly maxExclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
|
|
923
|
+
readonly maxInclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
|
|
924
|
+
readonly maxLength?: Maybe<number> | number;
|
|
925
|
+
readonly minCount?: Maybe<number> | number;
|
|
926
|
+
readonly minExclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
|
|
927
|
+
readonly minInclusive?: Maybe<Literal> | bigint | boolean | Date | number | string | Literal;
|
|
928
|
+
readonly minLength?: Maybe<number> | number;
|
|
929
|
+
readonly mutable?: Maybe<boolean> | boolean;
|
|
930
|
+
readonly nodeKind?: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">> | NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal"> | "http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal";
|
|
931
|
+
readonly nodes?: readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
932
|
+
readonly not?: readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
933
|
+
readonly or?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
934
|
+
readonly patterns?: readonly string[];
|
|
935
|
+
readonly properties?: readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
936
|
+
readonly rdfType?: Maybe<NamedNode> | NamedNode | string;
|
|
937
|
+
readonly shaclmateName?: Maybe<string> | string;
|
|
938
|
+
readonly subClassOf?: readonly NamedNode[] | readonly string[];
|
|
939
|
+
readonly toRdfTypes?: readonly NamedNode[] | readonly string[];
|
|
940
|
+
readonly tsFeatureExcludes?: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[] | readonly ("http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql")[];
|
|
941
|
+
readonly tsFeatureIncludes?: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[] | readonly ("http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql")[];
|
|
942
|
+
readonly tsImports?: readonly string[];
|
|
943
|
+
readonly tsObjectDeclarationType?: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">> | NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface"> | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface";
|
|
944
|
+
readonly types?: readonly NamedNode[] | readonly string[];
|
|
945
|
+
readonly xone?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
946
|
+
}): NodeShape;
|
|
846
947
|
type $Identifier = BlankNode | NamedNode;
|
|
847
948
|
namespace $Identifier {
|
|
848
949
|
const fromString: typeof $identifierFromString;
|
|
849
|
-
const toString: typeof import("
|
|
950
|
+
const toString: typeof import("@rdfx/resource/dist/Identifier.js").Identifier.toString;
|
|
850
951
|
}
|
|
851
952
|
function $filter(filter: NodeShape.$Filter, value: NodeShape): boolean;
|
|
852
953
|
type $Filter = {
|
|
853
954
|
readonly $identifier?: $IdentifierFilter;
|
|
854
955
|
readonly abstract?: $MaybeFilter<$BooleanFilter>;
|
|
855
|
-
readonly and?: $
|
|
956
|
+
readonly and?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
856
957
|
readonly classes?: $CollectionFilter<$IriFilter>;
|
|
857
958
|
readonly closed?: $MaybeFilter<$BooleanFilter>;
|
|
858
959
|
readonly comment?: $MaybeFilter<$StringFilter>;
|
|
@@ -881,17 +982,19 @@ export declare namespace NodeShape {
|
|
|
881
982
|
readonly nodeKind?: $MaybeFilter<$IriFilter>;
|
|
882
983
|
readonly nodes?: $CollectionFilter<$IdentifierFilter>;
|
|
883
984
|
readonly not?: $CollectionFilter<$IdentifierFilter>;
|
|
884
|
-
readonly or?: $
|
|
985
|
+
readonly or?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
885
986
|
readonly patterns?: $CollectionFilter<$StringFilter>;
|
|
886
987
|
readonly properties?: $CollectionFilter<$IdentifierFilter>;
|
|
887
988
|
readonly rdfType?: $MaybeFilter<$IriFilter>;
|
|
888
989
|
readonly shaclmateName?: $MaybeFilter<$StringFilter>;
|
|
990
|
+
readonly subClassOf?: $CollectionFilter<$IriFilter>;
|
|
889
991
|
readonly toRdfTypes?: $CollectionFilter<$IriFilter>;
|
|
890
992
|
readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
|
|
891
993
|
readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
|
|
892
994
|
readonly tsImports?: $CollectionFilter<$StringFilter>;
|
|
893
995
|
readonly tsObjectDeclarationType?: $MaybeFilter<$IriFilter>;
|
|
894
|
-
readonly
|
|
996
|
+
readonly types?: $CollectionFilter<$IriFilter>;
|
|
997
|
+
readonly xone?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
895
998
|
};
|
|
896
999
|
const $fromRdfResource: $FromRdfResourceFunction<NodeShape>;
|
|
897
1000
|
const $fromRdfResourceValues: $FromRdfResourceValuesFunction<NodeShape>;
|
|
@@ -901,7 +1004,7 @@ export declare namespace NodeShape {
|
|
|
901
1004
|
$identifier: BlankNode | NamedNode;
|
|
902
1005
|
$type: "NodeShape";
|
|
903
1006
|
abstract: Maybe<boolean>;
|
|
904
|
-
and: readonly (
|
|
1007
|
+
and: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
905
1008
|
classes: readonly NamedNode[];
|
|
906
1009
|
closed: Maybe<boolean>;
|
|
907
1010
|
comment: Maybe<string>;
|
|
@@ -930,17 +1033,19 @@ export declare namespace NodeShape {
|
|
|
930
1033
|
nodeKind: Maybe<NamedNode<"http://www.w3.org/ns/shacl#BlankNode" | "http://www.w3.org/ns/shacl#BlankNodeOrIRI" | "http://www.w3.org/ns/shacl#BlankNodeOrLiteral" | "http://www.w3.org/ns/shacl#IRI" | "http://www.w3.org/ns/shacl#IRIOrLiteral" | "http://www.w3.org/ns/shacl#Literal">>;
|
|
931
1034
|
nodes: readonly (BlankNode | NamedNode)[];
|
|
932
1035
|
not: readonly (BlankNode | NamedNode)[];
|
|
933
|
-
or: readonly (
|
|
1036
|
+
or: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
934
1037
|
patterns: readonly string[];
|
|
935
1038
|
properties: readonly (BlankNode | NamedNode)[];
|
|
936
1039
|
rdfType: Maybe<NamedNode>;
|
|
937
1040
|
shaclmateName: Maybe<string>;
|
|
1041
|
+
subClassOf: readonly NamedNode[];
|
|
938
1042
|
toRdfTypes: readonly NamedNode[];
|
|
939
1043
|
tsFeatureExcludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
940
1044
|
tsFeatureIncludes: readonly NamedNode<"http://purl.org/shaclmate/ontology#_TsFeatures_All" | "http://purl.org/shaclmate/ontology#_TsFeature_Create" | "http://purl.org/shaclmate/ontology#_TsFeatures_Default" | "http://purl.org/shaclmate/ontology#_TsFeature_Equals" | "http://purl.org/shaclmate/ontology#_TsFeature_Graphql" | "http://purl.org/shaclmate/ontology#_TsFeature_Hash" | "http://purl.org/shaclmate/ontology#_TsFeature_Json" | "http://purl.org/shaclmate/ontology#_TsFeatures_None" | "http://purl.org/shaclmate/ontology#_TsFeature_Rdf" | "http://purl.org/shaclmate/ontology#_TsFeature_Sparql">[];
|
|
941
1045
|
tsImports: readonly string[];
|
|
942
1046
|
tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
943
|
-
|
|
1047
|
+
types: readonly NamedNode[];
|
|
1048
|
+
xone: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
944
1049
|
}>;
|
|
945
1050
|
const $schema: {
|
|
946
1051
|
readonly properties: {
|
|
@@ -970,7 +1075,7 @@ export declare namespace NodeShape {
|
|
|
970
1075
|
readonly and: {
|
|
971
1076
|
readonly kind: "Shacl";
|
|
972
1077
|
readonly type: () => {
|
|
973
|
-
kind: "
|
|
1078
|
+
kind: "Maybe";
|
|
974
1079
|
item: () => {
|
|
975
1080
|
kind: "List";
|
|
976
1081
|
item: () => {
|
|
@@ -1274,7 +1379,7 @@ export declare namespace NodeShape {
|
|
|
1274
1379
|
readonly or: {
|
|
1275
1380
|
readonly kind: "Shacl";
|
|
1276
1381
|
readonly type: () => {
|
|
1277
|
-
kind: "
|
|
1382
|
+
kind: "Maybe";
|
|
1278
1383
|
item: () => {
|
|
1279
1384
|
kind: "List";
|
|
1280
1385
|
item: () => {
|
|
@@ -1324,6 +1429,16 @@ export declare namespace NodeShape {
|
|
|
1324
1429
|
};
|
|
1325
1430
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
1326
1431
|
};
|
|
1432
|
+
readonly subClassOf: {
|
|
1433
|
+
readonly kind: "Shacl";
|
|
1434
|
+
readonly type: () => {
|
|
1435
|
+
kind: "Set";
|
|
1436
|
+
item: () => {
|
|
1437
|
+
kind: "Iri";
|
|
1438
|
+
};
|
|
1439
|
+
};
|
|
1440
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
|
|
1441
|
+
};
|
|
1327
1442
|
readonly toRdfTypes: {
|
|
1328
1443
|
readonly kind: "Shacl";
|
|
1329
1444
|
readonly type: () => {
|
|
@@ -1377,10 +1492,20 @@ export declare namespace NodeShape {
|
|
|
1377
1492
|
};
|
|
1378
1493
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
1379
1494
|
};
|
|
1380
|
-
readonly
|
|
1495
|
+
readonly types: {
|
|
1381
1496
|
readonly kind: "Shacl";
|
|
1382
1497
|
readonly type: () => {
|
|
1383
1498
|
kind: "Set";
|
|
1499
|
+
item: () => {
|
|
1500
|
+
kind: "Iri";
|
|
1501
|
+
};
|
|
1502
|
+
};
|
|
1503
|
+
readonly path: NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#type">;
|
|
1504
|
+
};
|
|
1505
|
+
readonly xone: {
|
|
1506
|
+
readonly kind: "Shacl";
|
|
1507
|
+
readonly type: () => {
|
|
1508
|
+
kind: "Maybe";
|
|
1384
1509
|
item: () => {
|
|
1385
1510
|
kind: "List";
|
|
1386
1511
|
item: () => {
|
|
@@ -1409,7 +1534,7 @@ export declare namespace Shape {
|
|
|
1409
1534
|
type $Identifier = BlankNode | NamedNode;
|
|
1410
1535
|
namespace $Identifier {
|
|
1411
1536
|
const fromString: typeof $identifierFromString;
|
|
1412
|
-
const toString: typeof import("
|
|
1537
|
+
const toString: typeof import("@rdfx/resource/dist/Identifier.js").Identifier.toString;
|
|
1413
1538
|
}
|
|
1414
1539
|
const $schema: {
|
|
1415
1540
|
readonly kind: "NamedObjectUnion";
|
|
@@ -1444,7 +1569,7 @@ export declare namespace Shape {
|
|
|
1444
1569
|
readonly and: {
|
|
1445
1570
|
readonly kind: "Shacl";
|
|
1446
1571
|
readonly type: () => {
|
|
1447
|
-
kind: "
|
|
1572
|
+
kind: "Maybe";
|
|
1448
1573
|
item: () => {
|
|
1449
1574
|
kind: "List";
|
|
1450
1575
|
item: () => {
|
|
@@ -1748,7 +1873,7 @@ export declare namespace Shape {
|
|
|
1748
1873
|
readonly or: {
|
|
1749
1874
|
readonly kind: "Shacl";
|
|
1750
1875
|
readonly type: () => {
|
|
1751
|
-
kind: "
|
|
1876
|
+
kind: "Maybe";
|
|
1752
1877
|
item: () => {
|
|
1753
1878
|
kind: "List";
|
|
1754
1879
|
item: () => {
|
|
@@ -1798,6 +1923,16 @@ export declare namespace Shape {
|
|
|
1798
1923
|
};
|
|
1799
1924
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
1800
1925
|
};
|
|
1926
|
+
readonly subClassOf: {
|
|
1927
|
+
readonly kind: "Shacl";
|
|
1928
|
+
readonly type: () => {
|
|
1929
|
+
kind: "Set";
|
|
1930
|
+
item: () => {
|
|
1931
|
+
kind: "Iri";
|
|
1932
|
+
};
|
|
1933
|
+
};
|
|
1934
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
|
|
1935
|
+
};
|
|
1801
1936
|
readonly toRdfTypes: {
|
|
1802
1937
|
readonly kind: "Shacl";
|
|
1803
1938
|
readonly type: () => {
|
|
@@ -1851,10 +1986,20 @@ export declare namespace Shape {
|
|
|
1851
1986
|
};
|
|
1852
1987
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
1853
1988
|
};
|
|
1854
|
-
readonly
|
|
1989
|
+
readonly types: {
|
|
1855
1990
|
readonly kind: "Shacl";
|
|
1856
1991
|
readonly type: () => {
|
|
1857
1992
|
kind: "Set";
|
|
1993
|
+
item: () => {
|
|
1994
|
+
kind: "Iri";
|
|
1995
|
+
};
|
|
1996
|
+
};
|
|
1997
|
+
readonly path: NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#type">;
|
|
1998
|
+
};
|
|
1999
|
+
readonly xone: {
|
|
2000
|
+
readonly kind: "Shacl";
|
|
2001
|
+
readonly type: () => {
|
|
2002
|
+
kind: "Maybe";
|
|
1858
2003
|
item: () => {
|
|
1859
2004
|
kind: "List";
|
|
1860
2005
|
item: () => {
|
|
@@ -1887,7 +2032,7 @@ export declare namespace Shape {
|
|
|
1887
2032
|
readonly and: {
|
|
1888
2033
|
readonly kind: "Shacl";
|
|
1889
2034
|
readonly type: () => {
|
|
1890
|
-
kind: "
|
|
2035
|
+
kind: "Maybe";
|
|
1891
2036
|
item: () => {
|
|
1892
2037
|
kind: "List";
|
|
1893
2038
|
item: () => {
|
|
@@ -2167,7 +2312,7 @@ export declare namespace Shape {
|
|
|
2167
2312
|
readonly or: {
|
|
2168
2313
|
readonly kind: "Shacl";
|
|
2169
2314
|
readonly type: () => {
|
|
2170
|
-
kind: "
|
|
2315
|
+
kind: "Maybe";
|
|
2171
2316
|
item: () => {
|
|
2172
2317
|
kind: "List";
|
|
2173
2318
|
item: () => {
|
|
@@ -2246,7 +2391,7 @@ export declare namespace Shape {
|
|
|
2246
2391
|
readonly xone: {
|
|
2247
2392
|
readonly kind: "Shacl";
|
|
2248
2393
|
readonly type: () => {
|
|
2249
|
-
kind: "
|
|
2394
|
+
kind: "Maybe";
|
|
2250
2395
|
item: () => {
|
|
2251
2396
|
kind: "List";
|
|
2252
2397
|
item: () => {
|
|
@@ -2264,7 +2409,7 @@ export declare namespace Shape {
|
|
|
2264
2409
|
readonly and: {
|
|
2265
2410
|
readonly kind: "Shacl";
|
|
2266
2411
|
readonly type: () => {
|
|
2267
|
-
kind: "
|
|
2412
|
+
kind: "Maybe";
|
|
2268
2413
|
item: () => {
|
|
2269
2414
|
kind: "List";
|
|
2270
2415
|
item: () => {
|
|
@@ -2504,7 +2649,7 @@ export declare namespace Shape {
|
|
|
2504
2649
|
readonly or: {
|
|
2505
2650
|
readonly kind: "Shacl";
|
|
2506
2651
|
readonly type: () => {
|
|
2507
|
-
kind: "
|
|
2652
|
+
kind: "Maybe";
|
|
2508
2653
|
item: () => {
|
|
2509
2654
|
kind: "List";
|
|
2510
2655
|
item: () => {
|
|
@@ -2537,7 +2682,7 @@ export declare namespace Shape {
|
|
|
2537
2682
|
readonly xone: {
|
|
2538
2683
|
readonly kind: "Shacl";
|
|
2539
2684
|
readonly type: () => {
|
|
2540
|
-
kind: "
|
|
2685
|
+
kind: "Maybe";
|
|
2541
2686
|
item: () => {
|
|
2542
2687
|
kind: "List";
|
|
2543
2688
|
item: () => {
|
|
@@ -2570,7 +2715,7 @@ export declare namespace $Object {
|
|
|
2570
2715
|
type $Identifier = BlankNode | NamedNode;
|
|
2571
2716
|
namespace $Identifier {
|
|
2572
2717
|
const fromString: typeof $identifierFromString;
|
|
2573
|
-
const toString: typeof import("
|
|
2718
|
+
const toString: typeof import("@rdfx/resource/dist/Identifier.js").Identifier.toString;
|
|
2574
2719
|
}
|
|
2575
2720
|
const $schema: {
|
|
2576
2721
|
readonly kind: "NamedObjectUnion";
|
|
@@ -2605,7 +2750,7 @@ export declare namespace $Object {
|
|
|
2605
2750
|
readonly and: {
|
|
2606
2751
|
readonly kind: "Shacl";
|
|
2607
2752
|
readonly type: () => {
|
|
2608
|
-
kind: "
|
|
2753
|
+
kind: "Maybe";
|
|
2609
2754
|
item: () => {
|
|
2610
2755
|
kind: "List";
|
|
2611
2756
|
item: () => {
|
|
@@ -2909,7 +3054,7 @@ export declare namespace $Object {
|
|
|
2909
3054
|
readonly or: {
|
|
2910
3055
|
readonly kind: "Shacl";
|
|
2911
3056
|
readonly type: () => {
|
|
2912
|
-
kind: "
|
|
3057
|
+
kind: "Maybe";
|
|
2913
3058
|
item: () => {
|
|
2914
3059
|
kind: "List";
|
|
2915
3060
|
item: () => {
|
|
@@ -2959,6 +3104,16 @@ export declare namespace $Object {
|
|
|
2959
3104
|
};
|
|
2960
3105
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#name">;
|
|
2961
3106
|
};
|
|
3107
|
+
readonly subClassOf: {
|
|
3108
|
+
readonly kind: "Shacl";
|
|
3109
|
+
readonly type: () => {
|
|
3110
|
+
kind: "Set";
|
|
3111
|
+
item: () => {
|
|
3112
|
+
kind: "Iri";
|
|
3113
|
+
};
|
|
3114
|
+
};
|
|
3115
|
+
readonly path: NamedNode<"http://www.w3.org/2000/01/rdf-schema#subClassOf">;
|
|
3116
|
+
};
|
|
2962
3117
|
readonly toRdfTypes: {
|
|
2963
3118
|
readonly kind: "Shacl";
|
|
2964
3119
|
readonly type: () => {
|
|
@@ -3012,10 +3167,20 @@ export declare namespace $Object {
|
|
|
3012
3167
|
};
|
|
3013
3168
|
readonly path: NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
3014
3169
|
};
|
|
3015
|
-
readonly
|
|
3170
|
+
readonly types: {
|
|
3016
3171
|
readonly kind: "Shacl";
|
|
3017
3172
|
readonly type: () => {
|
|
3018
3173
|
kind: "Set";
|
|
3174
|
+
item: () => {
|
|
3175
|
+
kind: "Iri";
|
|
3176
|
+
};
|
|
3177
|
+
};
|
|
3178
|
+
readonly path: NamedNode<"http://www.w3.org/1999/02/22-rdf-syntax-ns#type">;
|
|
3179
|
+
};
|
|
3180
|
+
readonly xone: {
|
|
3181
|
+
readonly kind: "Shacl";
|
|
3182
|
+
readonly type: () => {
|
|
3183
|
+
kind: "Maybe";
|
|
3019
3184
|
item: () => {
|
|
3020
3185
|
kind: "List";
|
|
3021
3186
|
item: () => {
|
|
@@ -3171,7 +3336,7 @@ export declare namespace $Object {
|
|
|
3171
3336
|
readonly and: {
|
|
3172
3337
|
readonly kind: "Shacl";
|
|
3173
3338
|
readonly type: () => {
|
|
3174
|
-
kind: "
|
|
3339
|
+
kind: "Maybe";
|
|
3175
3340
|
item: () => {
|
|
3176
3341
|
kind: "List";
|
|
3177
3342
|
item: () => {
|
|
@@ -3451,7 +3616,7 @@ export declare namespace $Object {
|
|
|
3451
3616
|
readonly or: {
|
|
3452
3617
|
readonly kind: "Shacl";
|
|
3453
3618
|
readonly type: () => {
|
|
3454
|
-
kind: "
|
|
3619
|
+
kind: "Maybe";
|
|
3455
3620
|
item: () => {
|
|
3456
3621
|
kind: "List";
|
|
3457
3622
|
item: () => {
|
|
@@ -3530,7 +3695,7 @@ export declare namespace $Object {
|
|
|
3530
3695
|
readonly xone: {
|
|
3531
3696
|
readonly kind: "Shacl";
|
|
3532
3697
|
readonly type: () => {
|
|
3533
|
-
kind: "
|
|
3698
|
+
kind: "Maybe";
|
|
3534
3699
|
item: () => {
|
|
3535
3700
|
kind: "List";
|
|
3536
3701
|
item: () => {
|