@shaclmate/shacl-ast 4.0.36 → 4.0.38
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/generated.d.ts +1 -274
- package/dist/generated.js +28 -967
- package/package.json +4 -4
package/dist/generated.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BlankNode,
|
|
1
|
+
import type { BlankNode, Literal, NamedNode, Quad_Graph, Variable } from "@rdfjs/types";
|
|
2
2
|
import { PropertyPath as RdfxResourcePropertyPath, Resource, ResourceSet } from "@rdfx/resource";
|
|
3
3
|
import { NTriplesTerm } from "@rdfx/string";
|
|
4
4
|
import { Either, Maybe } from "purify-ts";
|
|
@@ -6,7 +6,6 @@ type $_FromRdfResourceFunction<T> = (resource: Resource, options: {
|
|
|
6
6
|
context: undefined | unknown;
|
|
7
7
|
graph: Exclude<Quad_Graph, Variable> | undefined;
|
|
8
8
|
ignoreRdfType: boolean;
|
|
9
|
-
objectSet: $ObjectSet;
|
|
10
9
|
preferredLanguages: readonly string[] | undefined;
|
|
11
10
|
}) => Either<Error, T>;
|
|
12
11
|
export type $_ToRdfResourceFunction<IdentifierT extends Resource.Identifier, ObjectT extends {
|
|
@@ -18,51 +17,22 @@ export type $_ToRdfResourceFunction<IdentifierT extends Resource.Identifier, Obj
|
|
|
18
17
|
resource: Resource<IdentifierT>;
|
|
19
18
|
resourceSet: ResourceSet;
|
|
20
19
|
}) => void;
|
|
21
|
-
interface $BooleanFilter {
|
|
22
|
-
readonly value?: boolean;
|
|
23
|
-
}
|
|
24
|
-
type $CollectionFilter<ItemFilterT> = ItemFilterT & {
|
|
25
|
-
readonly $maxCount?: number;
|
|
26
|
-
readonly $minCount?: number;
|
|
27
|
-
};
|
|
28
20
|
export type $FromRdfResourceFunction<T> = (resource: Resource, options?: {
|
|
29
21
|
context?: unknown;
|
|
30
22
|
graph?: Exclude<Quad_Graph, Variable>;
|
|
31
23
|
ignoreRdfType?: boolean;
|
|
32
|
-
objectSet?: $ObjectSet;
|
|
33
24
|
preferredLanguages?: readonly string[];
|
|
34
25
|
}) => Either<Error, T>;
|
|
35
26
|
export type $FromRdfResourceValuesFunction<T> = (resourceValues: Either<Error, Resource.Values>, options: {
|
|
36
27
|
context?: unknown;
|
|
37
28
|
graph?: Exclude<Quad_Graph, Variable>;
|
|
38
29
|
ignoreRdfType?: boolean;
|
|
39
|
-
objectSet?: $ObjectSet;
|
|
40
30
|
preferredLanguages?: readonly string[];
|
|
41
31
|
propertyPath: $PropertyPath;
|
|
42
32
|
resource: Resource;
|
|
43
33
|
}) => Either<Error, Resource.Values<T>>;
|
|
44
|
-
interface $IdentifierFilter {
|
|
45
|
-
readonly in?: readonly (BlankNode | NamedNode)[];
|
|
46
|
-
readonly type?: "BlankNode" | "NamedNode";
|
|
47
|
-
}
|
|
48
|
-
interface $IriFilter {
|
|
49
|
-
readonly in?: readonly NamedNode[];
|
|
50
|
-
}
|
|
51
|
-
interface $LiteralFilter extends Omit<$TermFilter, "in" | "type"> {
|
|
52
|
-
readonly in?: readonly Literal[];
|
|
53
|
-
}
|
|
54
|
-
type $MaybeFilter<ItemFilterT> = ItemFilterT | null;
|
|
55
|
-
interface $NumericFilter<T> {
|
|
56
|
-
readonly in?: readonly T[];
|
|
57
|
-
readonly maxExclusive?: T;
|
|
58
|
-
readonly maxInclusive?: T;
|
|
59
|
-
readonly minExclusive?: T;
|
|
60
|
-
readonly minInclusive?: T;
|
|
61
|
-
}
|
|
62
34
|
export type $PropertyPath = RdfxResourcePropertyPath;
|
|
63
35
|
export declare namespace $PropertyPath {
|
|
64
|
-
type Filter = object;
|
|
65
|
-
function filter(_filter: Filter, _value: $PropertyPath): boolean;
|
|
66
36
|
const fromRdfResource: $FromRdfResourceFunction<$PropertyPath>;
|
|
67
37
|
const fromRdfResourceValues: $FromRdfResourceValuesFunction<$PropertyPath>;
|
|
68
38
|
const schema: Readonly<object>;
|
|
@@ -74,17 +44,6 @@ export interface $ShaclPropertySchema<TypeSchemaT = object> {
|
|
|
74
44
|
readonly path: $PropertyPath;
|
|
75
45
|
readonly type: () => TypeSchemaT;
|
|
76
46
|
}
|
|
77
|
-
interface $StringFilter {
|
|
78
|
-
readonly in?: readonly string[];
|
|
79
|
-
readonly maxLength?: number;
|
|
80
|
-
readonly minLength?: number;
|
|
81
|
-
}
|
|
82
|
-
interface $TermFilter {
|
|
83
|
-
readonly datatypeIn?: readonly NamedNode[];
|
|
84
|
-
readonly in?: readonly (Literal | NamedNode)[];
|
|
85
|
-
readonly languageIn?: readonly string[];
|
|
86
|
-
readonly typeIn?: readonly ("BlankNode" | "Literal" | "NamedNode")[];
|
|
87
|
-
}
|
|
88
47
|
export type $ToRdfResourceFunction<ObjectT, IdentifierT extends Resource.Identifier = Resource.Identifier> = (object: ObjectT, options?: {
|
|
89
48
|
graph?: Exclude<Quad_Graph, Variable>;
|
|
90
49
|
ignoreRdfType?: boolean;
|
|
@@ -209,42 +168,6 @@ export declare namespace PropertyShape {
|
|
|
209
168
|
const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
|
|
210
169
|
const stringify: typeof NTriplesTerm.stringify;
|
|
211
170
|
}
|
|
212
|
-
function filter(filter: PropertyShape.Filter, value: PropertyShape): boolean;
|
|
213
|
-
type Filter = {
|
|
214
|
-
readonly $identifier?: $IdentifierFilter;
|
|
215
|
-
readonly and?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
216
|
-
readonly classes?: $CollectionFilter<$IriFilter>;
|
|
217
|
-
readonly comment?: $MaybeFilter<$StringFilter>;
|
|
218
|
-
readonly datatype?: $MaybeFilter<$IriFilter>;
|
|
219
|
-
readonly deactivated?: $MaybeFilter<$BooleanFilter>;
|
|
220
|
-
readonly defaultValue?: $MaybeFilter<$TermFilter>;
|
|
221
|
-
readonly description?: $MaybeFilter<$StringFilter>;
|
|
222
|
-
readonly flags?: $CollectionFilter<$StringFilter>;
|
|
223
|
-
readonly groups?: $CollectionFilter<$IdentifierFilter>;
|
|
224
|
-
readonly hasValues?: $CollectionFilter<$TermFilter>;
|
|
225
|
-
readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
|
|
226
|
-
readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
|
|
227
|
-
readonly label?: $MaybeFilter<$StringFilter>;
|
|
228
|
-
readonly languageIn?: $MaybeFilter<$CollectionFilter<$StringFilter>>;
|
|
229
|
-
readonly maxCount?: $MaybeFilter<$NumericFilter<bigint>>;
|
|
230
|
-
readonly maxExclusive?: $MaybeFilter<$LiteralFilter>;
|
|
231
|
-
readonly maxInclusive?: $MaybeFilter<$LiteralFilter>;
|
|
232
|
-
readonly maxLength?: $MaybeFilter<$NumericFilter<bigint>>;
|
|
233
|
-
readonly minCount?: $MaybeFilter<$NumericFilter<bigint>>;
|
|
234
|
-
readonly minExclusive?: $MaybeFilter<$LiteralFilter>;
|
|
235
|
-
readonly minInclusive?: $MaybeFilter<$LiteralFilter>;
|
|
236
|
-
readonly minLength?: $MaybeFilter<$NumericFilter<bigint>>;
|
|
237
|
-
readonly name?: $MaybeFilter<$StringFilter>;
|
|
238
|
-
readonly node?: $MaybeFilter<$IdentifierFilter>;
|
|
239
|
-
readonly nodeKind?: $MaybeFilter<$IriFilter>;
|
|
240
|
-
readonly not?: $CollectionFilter<$IdentifierFilter>;
|
|
241
|
-
readonly or?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
242
|
-
readonly order?: $MaybeFilter<$NumericFilter<number>>;
|
|
243
|
-
readonly path?: $PropertyPath.Filter;
|
|
244
|
-
readonly patterns?: $CollectionFilter<$StringFilter>;
|
|
245
|
-
readonly uniqueLang?: $MaybeFilter<$BooleanFilter>;
|
|
246
|
-
readonly xone?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
247
|
-
};
|
|
248
171
|
const _fromRdfResource: $_FromRdfResourceFunction<PropertyShape>;
|
|
249
172
|
const fromRdfResource: $FromRdfResourceFunction<PropertyShape>;
|
|
250
173
|
const fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyShape>;
|
|
@@ -601,7 +524,6 @@ export declare namespace PropertyShape {
|
|
|
601
524
|
const _toRdfResource: $_ToRdfResourceFunction<PropertyShape.Identifier, PropertyShape>;
|
|
602
525
|
const toRdfResource: $ToRdfResourceFunction<PropertyShape, Identifier>;
|
|
603
526
|
function _propertiesToStrings(_propertyShape: PropertyShape): Record<string, string>;
|
|
604
|
-
function $toString(this: PropertyShape): string;
|
|
605
527
|
function $toString(_propertyShape: PropertyShape): string;
|
|
606
528
|
}
|
|
607
529
|
export interface PropertyGroup {
|
|
@@ -626,12 +548,6 @@ export declare namespace PropertyGroup {
|
|
|
626
548
|
const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
|
|
627
549
|
const stringify: typeof NTriplesTerm.stringify;
|
|
628
550
|
}
|
|
629
|
-
function filter(filter: PropertyGroup.Filter, value: PropertyGroup): boolean;
|
|
630
|
-
type Filter = {
|
|
631
|
-
readonly $identifier?: $IdentifierFilter;
|
|
632
|
-
readonly comment?: $MaybeFilter<$StringFilter>;
|
|
633
|
-
readonly label?: $MaybeFilter<$StringFilter>;
|
|
634
|
-
};
|
|
635
551
|
const _fromRdfResource: $_FromRdfResourceFunction<PropertyGroup>;
|
|
636
552
|
const fromRdfResource: $FromRdfResourceFunction<PropertyGroup>;
|
|
637
553
|
const fromRdfResourceValues: $FromRdfResourceValuesFunction<PropertyGroup>;
|
|
@@ -677,7 +593,6 @@ export declare namespace PropertyGroup {
|
|
|
677
593
|
const _toRdfResource: $_ToRdfResourceFunction<PropertyGroup.Identifier, PropertyGroup>;
|
|
678
594
|
const toRdfResource: $ToRdfResourceFunction<PropertyGroup, Identifier>;
|
|
679
595
|
function _propertiesToStrings(_propertyGroup: PropertyGroup): Record<string, string>;
|
|
680
|
-
function $toString(this: PropertyGroup): string;
|
|
681
596
|
function $toString(_propertyGroup: PropertyGroup): string;
|
|
682
597
|
}
|
|
683
598
|
export interface Ontology {
|
|
@@ -702,12 +617,6 @@ export declare namespace Ontology {
|
|
|
702
617
|
const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
|
|
703
618
|
const stringify: typeof NTriplesTerm.stringify;
|
|
704
619
|
}
|
|
705
|
-
function filter(filter: Ontology.Filter, value: Ontology): boolean;
|
|
706
|
-
type Filter = {
|
|
707
|
-
readonly $identifier?: $IdentifierFilter;
|
|
708
|
-
readonly comment?: $MaybeFilter<$StringFilter>;
|
|
709
|
-
readonly label?: $MaybeFilter<$StringFilter>;
|
|
710
|
-
};
|
|
711
620
|
const _fromRdfResource: $_FromRdfResourceFunction<Ontology>;
|
|
712
621
|
const fromRdfResource: $FromRdfResourceFunction<Ontology>;
|
|
713
622
|
const fromRdfResourceValues: $FromRdfResourceValuesFunction<Ontology>;
|
|
@@ -753,7 +662,6 @@ export declare namespace Ontology {
|
|
|
753
662
|
const _toRdfResource: $_ToRdfResourceFunction<Ontology.Identifier, Ontology>;
|
|
754
663
|
const toRdfResource: $ToRdfResourceFunction<Ontology, Identifier>;
|
|
755
664
|
function _propertiesToStrings(_ontology: Ontology): Record<string, string>;
|
|
756
|
-
function $toString(this: Ontology): string;
|
|
757
665
|
function $toString(_ontology: Ontology): string;
|
|
758
666
|
}
|
|
759
667
|
export interface NodeShape {
|
|
@@ -862,40 +770,6 @@ export declare namespace NodeShape {
|
|
|
862
770
|
const parse: (value: string) => Either<Error, import("@rdfx/string/dist/Identifier.js").Identifier>;
|
|
863
771
|
const stringify: typeof NTriplesTerm.stringify;
|
|
864
772
|
}
|
|
865
|
-
function filter(filter: NodeShape.Filter, value: NodeShape): boolean;
|
|
866
|
-
type Filter = {
|
|
867
|
-
readonly $identifier?: $IdentifierFilter;
|
|
868
|
-
readonly and?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
869
|
-
readonly classes?: $CollectionFilter<$IriFilter>;
|
|
870
|
-
readonly closed?: $MaybeFilter<$BooleanFilter>;
|
|
871
|
-
readonly comment?: $MaybeFilter<$StringFilter>;
|
|
872
|
-
readonly datatype?: $MaybeFilter<$IriFilter>;
|
|
873
|
-
readonly deactivated?: $MaybeFilter<$BooleanFilter>;
|
|
874
|
-
readonly flags?: $CollectionFilter<$StringFilter>;
|
|
875
|
-
readonly hasValues?: $CollectionFilter<$TermFilter>;
|
|
876
|
-
readonly ignoredProperties?: $MaybeFilter<$CollectionFilter<$IriFilter>>;
|
|
877
|
-
readonly in_?: $MaybeFilter<$CollectionFilter<$TermFilter>>;
|
|
878
|
-
readonly isDefinedBy?: $MaybeFilter<$IdentifierFilter>;
|
|
879
|
-
readonly label?: $MaybeFilter<$StringFilter>;
|
|
880
|
-
readonly languageIn?: $MaybeFilter<$CollectionFilter<$StringFilter>>;
|
|
881
|
-
readonly maxCount?: $MaybeFilter<$NumericFilter<bigint>>;
|
|
882
|
-
readonly maxExclusive?: $MaybeFilter<$LiteralFilter>;
|
|
883
|
-
readonly maxInclusive?: $MaybeFilter<$LiteralFilter>;
|
|
884
|
-
readonly maxLength?: $MaybeFilter<$NumericFilter<bigint>>;
|
|
885
|
-
readonly minCount?: $MaybeFilter<$NumericFilter<bigint>>;
|
|
886
|
-
readonly minExclusive?: $MaybeFilter<$LiteralFilter>;
|
|
887
|
-
readonly minInclusive?: $MaybeFilter<$LiteralFilter>;
|
|
888
|
-
readonly minLength?: $MaybeFilter<$NumericFilter<bigint>>;
|
|
889
|
-
readonly node?: $MaybeFilter<$IdentifierFilter>;
|
|
890
|
-
readonly nodeKind?: $MaybeFilter<$IriFilter>;
|
|
891
|
-
readonly not?: $CollectionFilter<$IdentifierFilter>;
|
|
892
|
-
readonly or?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
893
|
-
readonly patterns?: $CollectionFilter<$StringFilter>;
|
|
894
|
-
readonly properties?: $CollectionFilter<$IdentifierFilter>;
|
|
895
|
-
readonly subClassOf?: $CollectionFilter<$IriFilter>;
|
|
896
|
-
readonly types?: $CollectionFilter<$IriFilter>;
|
|
897
|
-
readonly xone?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
898
|
-
};
|
|
899
773
|
const _fromRdfResource: $_FromRdfResourceFunction<NodeShape>;
|
|
900
774
|
const fromRdfResource: $FromRdfResourceFunction<NodeShape>;
|
|
901
775
|
const fromRdfResourceValues: $FromRdfResourceValuesFunction<NodeShape>;
|
|
@@ -1240,20 +1114,11 @@ export declare namespace NodeShape {
|
|
|
1240
1114
|
const _toRdfResource: $_ToRdfResourceFunction<NodeShape.Identifier, NodeShape>;
|
|
1241
1115
|
const toRdfResource: $ToRdfResourceFunction<NodeShape, Identifier>;
|
|
1242
1116
|
function _propertiesToStrings(_nodeShape: NodeShape): Record<string, string>;
|
|
1243
|
-
function $toString(this: NodeShape): string;
|
|
1244
1117
|
function $toString(_nodeShape: NodeShape): string;
|
|
1245
1118
|
}
|
|
1246
1119
|
export type Shape = NodeShape | PropertyShape;
|
|
1247
1120
|
export declare namespace Shape {
|
|
1248
1121
|
const $toString: (value: Shape) => string;
|
|
1249
|
-
const filter: (filter: Shape.Filter, value: Shape) => boolean;
|
|
1250
|
-
type Filter = {
|
|
1251
|
-
readonly $identifier?: $IdentifierFilter;
|
|
1252
|
-
readonly on?: {
|
|
1253
|
-
readonly NodeShape?: NodeShape.Filter;
|
|
1254
|
-
readonly PropertyShape?: PropertyShape.Filter;
|
|
1255
|
-
};
|
|
1256
|
-
};
|
|
1257
1122
|
const fromRdfResource: $FromRdfResourceFunction<Shape>;
|
|
1258
1123
|
const fromRdfResourceValues: $FromRdfResourceValuesFunction<Shape>;
|
|
1259
1124
|
type Identifier = BlankNode | NamedNode;
|
|
@@ -2237,16 +2102,6 @@ export declare namespace Shape {
|
|
|
2237
2102
|
export type $Object = NodeShape | Ontology | PropertyGroup | PropertyShape;
|
|
2238
2103
|
export declare namespace $Object {
|
|
2239
2104
|
const $toString: (value: $Object) => string;
|
|
2240
|
-
const filter: (filter: $Object.Filter, value: $Object) => boolean;
|
|
2241
|
-
type Filter = {
|
|
2242
|
-
readonly $identifier?: $IdentifierFilter;
|
|
2243
|
-
readonly on?: {
|
|
2244
|
-
readonly NodeShape?: NodeShape.Filter;
|
|
2245
|
-
readonly Ontology?: Ontology.Filter;
|
|
2246
|
-
readonly PropertyGroup?: PropertyGroup.Filter;
|
|
2247
|
-
readonly PropertyShape?: PropertyShape.Filter;
|
|
2248
|
-
};
|
|
2249
|
-
};
|
|
2250
2105
|
const fromRdfResource: $FromRdfResourceFunction<$Object>;
|
|
2251
2106
|
const fromRdfResourceValues: $FromRdfResourceValuesFunction<$Object>;
|
|
2252
2107
|
type Identifier = BlankNode | NamedNode;
|
|
@@ -3060,133 +2915,5 @@ export declare namespace $Object {
|
|
|
3060
2915
|
resourceSet: ResourceSet;
|
|
3061
2916
|
}) => (BlankNode | NamedNode)[];
|
|
3062
2917
|
}
|
|
3063
|
-
export interface $ObjectSet {
|
|
3064
|
-
nodeShape(identifier: NodeShape.Identifier, options?: {
|
|
3065
|
-
preferredLanguages?: readonly string[];
|
|
3066
|
-
}): Promise<Either<Error, NodeShape>>;
|
|
3067
|
-
nodeShapeCount(query?: Pick<$ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
3068
|
-
nodeShapeIdentifiers(query?: $ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>): Promise<Either<Error, readonly NodeShape.Identifier[]>>;
|
|
3069
|
-
nodeShapes(query?: $ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>): Promise<Either<Error, readonly NodeShape[]>>;
|
|
3070
|
-
ontology(identifier: Ontology.Identifier, options?: {
|
|
3071
|
-
preferredLanguages?: readonly string[];
|
|
3072
|
-
}): Promise<Either<Error, Ontology>>;
|
|
3073
|
-
ontologyCount(query?: Pick<$ObjectSet.Query<Ontology.Filter, Ontology.Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
3074
|
-
ontologyIdentifiers(query?: $ObjectSet.Query<Ontology.Filter, Ontology.Identifier>): Promise<Either<Error, readonly Ontology.Identifier[]>>;
|
|
3075
|
-
ontologies(query?: $ObjectSet.Query<Ontology.Filter, Ontology.Identifier>): Promise<Either<Error, readonly Ontology[]>>;
|
|
3076
|
-
propertyGroup(identifier: PropertyGroup.Identifier, options?: {
|
|
3077
|
-
preferredLanguages?: readonly string[];
|
|
3078
|
-
}): Promise<Either<Error, PropertyGroup>>;
|
|
3079
|
-
propertyGroupCount(query?: Pick<$ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
3080
|
-
propertyGroupIdentifiers(query?: $ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>): Promise<Either<Error, readonly PropertyGroup.Identifier[]>>;
|
|
3081
|
-
propertyGroups(query?: $ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>): Promise<Either<Error, readonly PropertyGroup[]>>;
|
|
3082
|
-
propertyShape(identifier: PropertyShape.Identifier, options?: {
|
|
3083
|
-
preferredLanguages?: readonly string[];
|
|
3084
|
-
}): Promise<Either<Error, PropertyShape>>;
|
|
3085
|
-
propertyShapeCount(query?: Pick<$ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
3086
|
-
propertyShapeIdentifiers(query?: $ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>): Promise<Either<Error, readonly PropertyShape.Identifier[]>>;
|
|
3087
|
-
propertyShapes(query?: $ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>): Promise<Either<Error, readonly PropertyShape[]>>;
|
|
3088
|
-
shape(identifier: Shape.Identifier, options?: {
|
|
3089
|
-
preferredLanguages?: readonly string[];
|
|
3090
|
-
}): Promise<Either<Error, Shape>>;
|
|
3091
|
-
shapeCount(query?: Pick<$ObjectSet.Query<Shape.Filter, Shape.Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
3092
|
-
shapeIdentifiers(query?: $ObjectSet.Query<Shape.Filter, Shape.Identifier>): Promise<Either<Error, readonly Shape.Identifier[]>>;
|
|
3093
|
-
shapes(query?: $ObjectSet.Query<Shape.Filter, Shape.Identifier>): Promise<Either<Error, readonly Shape[]>>;
|
|
3094
|
-
$object(identifier: $Object.Identifier, options?: {
|
|
3095
|
-
preferredLanguages?: readonly string[];
|
|
3096
|
-
}): Promise<Either<Error, $Object>>;
|
|
3097
|
-
$objectCount(query?: Pick<$ObjectSet.Query<$Object.Filter, $Object.Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
3098
|
-
$objectIdentifiers(query?: $ObjectSet.Query<$Object.Filter, $Object.Identifier>): Promise<Either<Error, readonly $Object.Identifier[]>>;
|
|
3099
|
-
$objects(query?: $ObjectSet.Query<$Object.Filter, $Object.Identifier>): Promise<Either<Error, readonly $Object[]>>;
|
|
3100
|
-
}
|
|
3101
|
-
export declare namespace $ObjectSet {
|
|
3102
|
-
interface Query<ObjectFilterT, ObjectIdentifierT extends BlankNode | NamedNode> {
|
|
3103
|
-
readonly filter?: ObjectFilterT;
|
|
3104
|
-
readonly graph?: Exclude<Quad_Graph, Variable>;
|
|
3105
|
-
readonly identifiers?: readonly ObjectIdentifierT[];
|
|
3106
|
-
readonly limit?: number;
|
|
3107
|
-
readonly offset?: number;
|
|
3108
|
-
readonly preferredLanguages?: readonly string[];
|
|
3109
|
-
}
|
|
3110
|
-
}
|
|
3111
|
-
export declare class $RdfjsDatasetObjectSet implements $ObjectSet {
|
|
3112
|
-
#private;
|
|
3113
|
-
constructor(dataset: DatasetCore | (() => DatasetCore), options?: {
|
|
3114
|
-
graph?: Exclude<Quad_Graph, Variable>;
|
|
3115
|
-
});
|
|
3116
|
-
protected $dataset(): DatasetCore;
|
|
3117
|
-
protected $resourceSet(): ResourceSet;
|
|
3118
|
-
nodeShape(identifier: NodeShape.Identifier, options?: {
|
|
3119
|
-
preferredLanguages?: readonly string[];
|
|
3120
|
-
}): Promise<Either<Error, NodeShape>>;
|
|
3121
|
-
nodeShapeSync(identifier: NodeShape.Identifier, options?: {
|
|
3122
|
-
preferredLanguages?: readonly string[];
|
|
3123
|
-
}): Either<Error, NodeShape>;
|
|
3124
|
-
nodeShapeCount(query?: Pick<$ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
3125
|
-
nodeShapeCountSync(query?: Pick<$ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>, "filter">): Either<Error, number>;
|
|
3126
|
-
nodeShapeIdentifiers(query?: $ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>): Promise<Either<Error, readonly NodeShape.Identifier[]>>;
|
|
3127
|
-
nodeShapeIdentifiersSync(query?: $ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>): Either<Error, readonly NodeShape.Identifier[]>;
|
|
3128
|
-
nodeShapes(query?: $ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>): Promise<Either<Error, readonly NodeShape[]>>;
|
|
3129
|
-
nodeShapesSync(query?: $ObjectSet.Query<NodeShape.Filter, NodeShape.Identifier>): Either<Error, readonly NodeShape[]>;
|
|
3130
|
-
ontology(identifier: Ontology.Identifier, options?: {
|
|
3131
|
-
preferredLanguages?: readonly string[];
|
|
3132
|
-
}): Promise<Either<Error, Ontology>>;
|
|
3133
|
-
ontologySync(identifier: Ontology.Identifier, options?: {
|
|
3134
|
-
preferredLanguages?: readonly string[];
|
|
3135
|
-
}): Either<Error, Ontology>;
|
|
3136
|
-
ontologyCount(query?: Pick<$ObjectSet.Query<Ontology.Filter, Ontology.Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
3137
|
-
ontologyCountSync(query?: Pick<$ObjectSet.Query<Ontology.Filter, Ontology.Identifier>, "filter">): Either<Error, number>;
|
|
3138
|
-
ontologyIdentifiers(query?: $ObjectSet.Query<Ontology.Filter, Ontology.Identifier>): Promise<Either<Error, readonly Ontology.Identifier[]>>;
|
|
3139
|
-
ontologyIdentifiersSync(query?: $ObjectSet.Query<Ontology.Filter, Ontology.Identifier>): Either<Error, readonly Ontology.Identifier[]>;
|
|
3140
|
-
ontologies(query?: $ObjectSet.Query<Ontology.Filter, Ontology.Identifier>): Promise<Either<Error, readonly Ontology[]>>;
|
|
3141
|
-
ontologiesSync(query?: $ObjectSet.Query<Ontology.Filter, Ontology.Identifier>): Either<Error, readonly Ontology[]>;
|
|
3142
|
-
propertyGroup(identifier: PropertyGroup.Identifier, options?: {
|
|
3143
|
-
preferredLanguages?: readonly string[];
|
|
3144
|
-
}): Promise<Either<Error, PropertyGroup>>;
|
|
3145
|
-
propertyGroupSync(identifier: PropertyGroup.Identifier, options?: {
|
|
3146
|
-
preferredLanguages?: readonly string[];
|
|
3147
|
-
}): Either<Error, PropertyGroup>;
|
|
3148
|
-
propertyGroupCount(query?: Pick<$ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
3149
|
-
propertyGroupCountSync(query?: Pick<$ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>, "filter">): Either<Error, number>;
|
|
3150
|
-
propertyGroupIdentifiers(query?: $ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>): Promise<Either<Error, readonly PropertyGroup.Identifier[]>>;
|
|
3151
|
-
propertyGroupIdentifiersSync(query?: $ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>): Either<Error, readonly PropertyGroup.Identifier[]>;
|
|
3152
|
-
propertyGroups(query?: $ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>): Promise<Either<Error, readonly PropertyGroup[]>>;
|
|
3153
|
-
propertyGroupsSync(query?: $ObjectSet.Query<PropertyGroup.Filter, PropertyGroup.Identifier>): Either<Error, readonly PropertyGroup[]>;
|
|
3154
|
-
propertyShape(identifier: PropertyShape.Identifier, options?: {
|
|
3155
|
-
preferredLanguages?: readonly string[];
|
|
3156
|
-
}): Promise<Either<Error, PropertyShape>>;
|
|
3157
|
-
propertyShapeSync(identifier: PropertyShape.Identifier, options?: {
|
|
3158
|
-
preferredLanguages?: readonly string[];
|
|
3159
|
-
}): Either<Error, PropertyShape>;
|
|
3160
|
-
propertyShapeCount(query?: Pick<$ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
3161
|
-
propertyShapeCountSync(query?: Pick<$ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>, "filter">): Either<Error, number>;
|
|
3162
|
-
propertyShapeIdentifiers(query?: $ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>): Promise<Either<Error, readonly PropertyShape.Identifier[]>>;
|
|
3163
|
-
propertyShapeIdentifiersSync(query?: $ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>): Either<Error, readonly PropertyShape.Identifier[]>;
|
|
3164
|
-
propertyShapes(query?: $ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>): Promise<Either<Error, readonly PropertyShape[]>>;
|
|
3165
|
-
propertyShapesSync(query?: $ObjectSet.Query<PropertyShape.Filter, PropertyShape.Identifier>): Either<Error, readonly PropertyShape[]>;
|
|
3166
|
-
shape(identifier: Shape.Identifier, options?: {
|
|
3167
|
-
preferredLanguages?: readonly string[];
|
|
3168
|
-
}): Promise<Either<Error, Shape>>;
|
|
3169
|
-
shapeSync(identifier: Shape.Identifier, options?: {
|
|
3170
|
-
preferredLanguages?: readonly string[];
|
|
3171
|
-
}): Either<Error, Shape>;
|
|
3172
|
-
shapeCount(query?: Pick<$ObjectSet.Query<Shape.Filter, Shape.Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
3173
|
-
shapeCountSync(query?: Pick<$ObjectSet.Query<Shape.Filter, Shape.Identifier>, "filter">): Either<Error, number>;
|
|
3174
|
-
shapeIdentifiers(query?: $ObjectSet.Query<Shape.Filter, Shape.Identifier>): Promise<Either<Error, readonly Shape.Identifier[]>>;
|
|
3175
|
-
shapeIdentifiersSync(query?: $ObjectSet.Query<Shape.Filter, Shape.Identifier>): Either<Error, readonly Shape.Identifier[]>;
|
|
3176
|
-
shapes(query?: $ObjectSet.Query<Shape.Filter, Shape.Identifier>): Promise<Either<Error, readonly Shape[]>>;
|
|
3177
|
-
shapesSync(query?: $ObjectSet.Query<Shape.Filter, Shape.Identifier>): Either<Error, readonly Shape[]>;
|
|
3178
|
-
$object(identifier: $Object.Identifier, options?: {
|
|
3179
|
-
preferredLanguages?: readonly string[];
|
|
3180
|
-
}): Promise<Either<Error, $Object>>;
|
|
3181
|
-
$objectSync(identifier: $Object.Identifier, options?: {
|
|
3182
|
-
preferredLanguages?: readonly string[];
|
|
3183
|
-
}): Either<Error, $Object>;
|
|
3184
|
-
$objectCount(query?: Pick<$ObjectSet.Query<$Object.Filter, $Object.Identifier>, "filter">): Promise<Either<Error, number>>;
|
|
3185
|
-
$objectCountSync(query?: Pick<$ObjectSet.Query<$Object.Filter, $Object.Identifier>, "filter">): Either<Error, number>;
|
|
3186
|
-
$objectIdentifiers(query?: $ObjectSet.Query<$Object.Filter, $Object.Identifier>): Promise<Either<Error, readonly $Object.Identifier[]>>;
|
|
3187
|
-
$objectIdentifiersSync(query?: $ObjectSet.Query<$Object.Filter, $Object.Identifier>): Either<Error, readonly $Object.Identifier[]>;
|
|
3188
|
-
$objects(query?: $ObjectSet.Query<$Object.Filter, $Object.Identifier>): Promise<Either<Error, readonly $Object[]>>;
|
|
3189
|
-
$objectsSync(query?: $ObjectSet.Query<$Object.Filter, $Object.Identifier>): Either<Error, readonly $Object[]>;
|
|
3190
|
-
}
|
|
3191
2918
|
export {};
|
|
3192
2919
|
//# sourceMappingURL=generated.d.ts.map
|