@shaclmate/compiler 4.0.24 → 4.0.25
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 +1 -1
- package/dist/ShapesGraphToAstTransformer.d.ts +1 -1
- package/dist/_ShapesGraphToAstTransformer/nodeShapeTsFeatures.d.ts +1 -1
- package/dist/_ShapesGraphToAstTransformer/nodeShapeTsFeatures.js +5 -2
- package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstObjectTypeProperty.js +0 -6
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstListType.js +0 -2
- package/dist/_ShapesGraphToAstTransformer/transformShapeToAstObjectType.js +14 -32
- package/dist/ast/AbstractCompoundType.d.ts +1 -1
- package/dist/ast/ObjectType.d.ts +3 -23
- package/dist/ast/ObjectType.js +2 -20
- package/dist/generators/ts/AbstractContainerType.d.ts +0 -1
- package/dist/generators/ts/AbstractContainerType.js +0 -1
- package/dist/generators/ts/AbstractLazyObjectType.d.ts +0 -1
- package/dist/generators/ts/AbstractLazyObjectType.js +2 -2
- package/dist/generators/ts/AbstractNamedUnionType.d.ts +1 -2
- package/dist/generators/ts/AbstractNamedUnionType.js +16 -19
- package/dist/generators/ts/AbstractTermType.d.ts +0 -1
- package/dist/generators/ts/AbstractTermType.js +0 -1
- package/dist/generators/ts/AbstractType.d.ts +0 -4
- package/dist/generators/ts/AbstractUnionType.d.ts +1 -10
- package/dist/generators/ts/AbstractUnionType.js +26 -39
- package/dist/generators/ts/LazyObjectOptionType.js +3 -2
- package/dist/generators/ts/LazyObjectSetType.js +2 -1
- package/dist/generators/ts/LazyObjectType.js +2 -1
- package/dist/generators/ts/NamedObjectType.d.ts +2 -13
- package/dist/generators/ts/NamedObjectType.js +33 -104
- package/dist/generators/ts/NamedObjectUnionType.js +13 -24
- package/dist/generators/ts/TypeFactory.js +10 -28
- package/dist/generators/ts/ZodGenerator.js +2 -2
- package/dist/generators/ts/_NamedObjectType/AbstractProperty.d.ts +1 -7
- package/dist/generators/ts/_NamedObjectType/AbstractProperty.js +1 -6
- package/dist/generators/ts/_NamedObjectType/DiscriminantProperty.d.ts +0 -1
- package/dist/generators/ts/_NamedObjectType/DiscriminantProperty.js +4 -31
- package/dist/generators/ts/_NamedObjectType/IdentifierProperty.js +6 -17
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_createFunctionDeclaration.js +2 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_equalsFunctionDeclaration.d.ts +5 -0
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_equalsFunctionDeclaration.js +25 -0
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_filterTypeDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_focusSparqlConstructTriplesFunctionDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_focusSparqlWherePatternsFunctionDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_fromJsonFunctionDeclaration.js +1 -4
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_fromRdfResourceFunctionDeclaration.js +1 -4
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_fromRdfResourceValuesFunctionDeclaration.js +1 -4
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_hashFunctionDeclarations.d.ts +4 -0
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_hashFunctionDeclarations.js +49 -0
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_jsonParseFunctionDeclaration.js +0 -3
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_jsonSchemaFunctionDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_jsonUiSchemaFunctionDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_propertiesFromJsonFunctionDeclaration.js +2 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_propertiesFromRdfResourceFunctionDeclaration.js +2 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_schemaVariableStatement.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_sparqlConstructQueryFunctionDeclaration.d.ts +1 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_sparqlConstructQueryFunctionDeclaration.js +2 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_sparqlConstructQueryStringFunctionDeclaration.d.ts +2 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_sparqlConstructQueryStringFunctionDeclaration.js +2 -2
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toJsonFunctionDeclaration.d.ts +5 -0
- package/dist/generators/ts/_NamedObjectType/{NamedObjectType_toJsonFunctionOrMethodDeclaration.js → NamedObjectType_toJsonFunctionDeclaration.js} +5 -27
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toRdfResourceFunctionDeclaration.d.ts +5 -0
- package/dist/generators/ts/_NamedObjectType/{NamedObjectType_toRdfResourceFunctionOrMethodDeclaration.js → NamedObjectType_toRdfResourceFunctionDeclaration.js} +4 -25
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toStringFunctionDeclarations.d.ts +4 -0
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toStringFunctionDeclarations.js +40 -0
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_valueSparqlConstructTriplesFunctionDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_valueSparqlWherePatternsFunctionDeclaration.js +1 -1
- package/dist/generators/ts/_NamedObjectType/ShaclProperty.js +6 -28
- package/dist/generators/ts/objectSetDeclarations.js +1 -3
- package/dist/generators/ts/rdfjsDatasetObjectSetClassDeclaration.js +2 -4
- package/dist/generators/ts/sparqlObjectSetClassDeclaration.js +1 -1
- package/dist/input/ShapesGraph.d.ts +1 -1
- package/dist/input/generated.d.ts +0 -134
- package/dist/input/generated.js +12 -239
- package/package.json +2 -4
- package/dist/enums/TsObjectDeclarationType.d.ts +0 -9
- package/dist/enums/TsObjectDeclarationType.js +0 -16
- package/dist/enums/Visibility.d.ts +0 -6
- package/dist/enums/Visibility.js +0 -18
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_classDeclaration.d.ts +0 -4
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_classDeclaration.js +0 -61
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_equalsFunctionOrMethodDeclaration.d.ts +0 -5
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_equalsFunctionOrMethodDeclaration.js +0 -52
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_hashFunctionOrMethodDeclarations.d.ts +0 -4
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_hashFunctionOrMethodDeclarations.js +0 -77
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toJsonFunctionOrMethodDeclaration.d.ts +0 -5
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toRdfResourceFunctionOrMethodDeclaration.d.ts +0 -5
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toStringFunctionOrMethodDeclaration.d.ts +0 -4
- package/dist/generators/ts/_NamedObjectType/NamedObjectType_toStringFunctionOrMethodDeclaration.js +0 -66
- /package/dist/{enums → generators/ts}/TsFeature.d.ts +0 -0
- /package/dist/{enums → generators/ts}/TsFeature.js +0 -0
|
@@ -165,7 +165,6 @@ export interface PropertyShape {
|
|
|
165
165
|
readonly resolve: Maybe<BlankNode | NamedNode>;
|
|
166
166
|
readonly shaclmateName: Maybe<string>;
|
|
167
167
|
readonly uniqueLang: Maybe<boolean>;
|
|
168
|
-
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">>;
|
|
169
168
|
readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
170
169
|
}
|
|
171
170
|
export declare namespace PropertyShape {
|
|
@@ -206,7 +205,6 @@ export declare namespace PropertyShape {
|
|
|
206
205
|
readonly resolve?: Maybe<BlankNode | NamedNode> | (BlankNode | NamedNode) | string;
|
|
207
206
|
readonly shaclmateName?: Maybe<string> | string;
|
|
208
207
|
readonly uniqueLang?: Maybe<boolean> | boolean;
|
|
209
|
-
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";
|
|
210
208
|
readonly xone?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
211
209
|
}): PropertyShape;
|
|
212
210
|
type $Identifier = BlankNode | NamedNode;
|
|
@@ -252,7 +250,6 @@ export declare namespace PropertyShape {
|
|
|
252
250
|
readonly resolve?: $MaybeFilter<$IdentifierFilter>;
|
|
253
251
|
readonly shaclmateName?: $MaybeFilter<$StringFilter>;
|
|
254
252
|
readonly uniqueLang?: $MaybeFilter<$BooleanFilter>;
|
|
255
|
-
readonly visibility?: $MaybeFilter<$IriFilter>;
|
|
256
253
|
readonly xone?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
257
254
|
};
|
|
258
255
|
const $fromRdfResource: $FromRdfResourceFunction<PropertyShape>;
|
|
@@ -297,7 +294,6 @@ export declare namespace PropertyShape {
|
|
|
297
294
|
resolve: Maybe<BlankNode | NamedNode>;
|
|
298
295
|
shaclmateName: Maybe<string>;
|
|
299
296
|
uniqueLang: Maybe<boolean>;
|
|
300
|
-
visibility: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private" | "http://purl.org/shaclmate/ontology#_Visibility_Protected" | "http://purl.org/shaclmate/ontology#_Visibility_Public">>;
|
|
301
297
|
xone: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
302
298
|
}>;
|
|
303
299
|
const $schema: {
|
|
@@ -674,17 +670,6 @@ export declare namespace PropertyShape {
|
|
|
674
670
|
};
|
|
675
671
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
|
|
676
672
|
};
|
|
677
|
-
readonly visibility: {
|
|
678
|
-
readonly kind: "Shacl";
|
|
679
|
-
readonly type: () => {
|
|
680
|
-
kind: "Maybe";
|
|
681
|
-
item: () => {
|
|
682
|
-
kind: "Iri";
|
|
683
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Protected"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Public">)[];
|
|
684
|
-
};
|
|
685
|
-
};
|
|
686
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#visibility">;
|
|
687
|
-
};
|
|
688
673
|
readonly xone: {
|
|
689
674
|
readonly kind: "Shacl";
|
|
690
675
|
readonly type: () => {
|
|
@@ -788,7 +773,6 @@ export interface Ontology {
|
|
|
788
773
|
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">[];
|
|
789
774
|
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">[];
|
|
790
775
|
readonly tsImports: readonly string[];
|
|
791
|
-
readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
792
776
|
}
|
|
793
777
|
export declare namespace Ontology {
|
|
794
778
|
function $create(parameters?: {
|
|
@@ -798,7 +782,6 @@ export declare namespace Ontology {
|
|
|
798
782
|
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")[];
|
|
799
783
|
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")[];
|
|
800
784
|
readonly tsImports?: readonly string[];
|
|
801
|
-
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";
|
|
802
785
|
}): Ontology;
|
|
803
786
|
type $Identifier = BlankNode | NamedNode;
|
|
804
787
|
namespace $Identifier {
|
|
@@ -813,7 +796,6 @@ export declare namespace Ontology {
|
|
|
813
796
|
readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
|
|
814
797
|
readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
|
|
815
798
|
readonly tsImports?: $CollectionFilter<$StringFilter>;
|
|
816
|
-
readonly tsObjectDeclarationType?: $MaybeFilter<$IriFilter>;
|
|
817
799
|
};
|
|
818
800
|
const $fromRdfResource: $FromRdfResourceFunction<Ontology>;
|
|
819
801
|
const $fromRdfResourceValues: $FromRdfResourceValuesFunction<Ontology>;
|
|
@@ -827,7 +809,6 @@ export declare namespace Ontology {
|
|
|
827
809
|
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">[];
|
|
828
810
|
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">[];
|
|
829
811
|
tsImports: readonly string[];
|
|
830
|
-
tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
831
812
|
}>;
|
|
832
813
|
const $schema: {
|
|
833
814
|
readonly properties: {
|
|
@@ -896,17 +877,6 @@ export declare namespace Ontology {
|
|
|
896
877
|
};
|
|
897
878
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
|
|
898
879
|
};
|
|
899
|
-
readonly tsObjectDeclarationType: {
|
|
900
|
-
readonly kind: "Shacl";
|
|
901
|
-
readonly type: () => {
|
|
902
|
-
kind: "Maybe";
|
|
903
|
-
item: () => {
|
|
904
|
-
kind: "Iri";
|
|
905
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
|
|
906
|
-
};
|
|
907
|
-
};
|
|
908
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
909
|
-
};
|
|
910
880
|
};
|
|
911
881
|
};
|
|
912
882
|
function $toRdfResource(_ontology: Ontology, options?: Parameters<$ToRdfResourceFunction<Ontology>>[1]): Resource;
|
|
@@ -917,7 +887,6 @@ export declare namespace Ontology {
|
|
|
917
887
|
export interface NodeShape {
|
|
918
888
|
readonly $identifier: () => NodeShape.$Identifier;
|
|
919
889
|
readonly $type: "NodeShape";
|
|
920
|
-
readonly abstract: Maybe<boolean>;
|
|
921
890
|
readonly and: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
922
891
|
readonly classes: readonly NamedNode[];
|
|
923
892
|
readonly closed: Maybe<boolean>;
|
|
@@ -956,14 +925,12 @@ export interface NodeShape {
|
|
|
956
925
|
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">[];
|
|
957
926
|
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">[];
|
|
958
927
|
readonly tsImports: readonly string[];
|
|
959
|
-
readonly tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
960
928
|
readonly types: readonly NamedNode[];
|
|
961
929
|
readonly xone: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
962
930
|
}
|
|
963
931
|
export declare namespace NodeShape {
|
|
964
932
|
function $create(parameters?: {
|
|
965
933
|
readonly $identifier?: (() => NodeShape.$Identifier) | (BlankNode | NamedNode) | string;
|
|
966
|
-
readonly abstract?: Maybe<boolean> | boolean;
|
|
967
934
|
readonly and?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
968
935
|
readonly classes?: readonly NamedNode[] | readonly string[];
|
|
969
936
|
readonly closed?: Maybe<boolean> | boolean;
|
|
@@ -1002,7 +969,6 @@ export declare namespace NodeShape {
|
|
|
1002
969
|
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")[];
|
|
1003
970
|
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")[];
|
|
1004
971
|
readonly tsImports?: readonly string[];
|
|
1005
|
-
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";
|
|
1006
972
|
readonly types?: readonly NamedNode[] | readonly string[];
|
|
1007
973
|
readonly xone?: Maybe<readonly (BlankNode | NamedNode)[]> | readonly (BlankNode | NamedNode)[] | readonly string[];
|
|
1008
974
|
}): NodeShape;
|
|
@@ -1014,7 +980,6 @@ export declare namespace NodeShape {
|
|
|
1014
980
|
function $filter(filter: NodeShape.$Filter, value: NodeShape): boolean;
|
|
1015
981
|
type $Filter = {
|
|
1016
982
|
readonly $identifier?: $IdentifierFilter;
|
|
1017
|
-
readonly abstract?: $MaybeFilter<$BooleanFilter>;
|
|
1018
983
|
readonly and?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
1019
984
|
readonly classes?: $CollectionFilter<$IriFilter>;
|
|
1020
985
|
readonly closed?: $MaybeFilter<$BooleanFilter>;
|
|
@@ -1053,7 +1018,6 @@ export declare namespace NodeShape {
|
|
|
1053
1018
|
readonly tsFeatureExcludes?: $CollectionFilter<$IriFilter>;
|
|
1054
1019
|
readonly tsFeatureIncludes?: $CollectionFilter<$IriFilter>;
|
|
1055
1020
|
readonly tsImports?: $CollectionFilter<$StringFilter>;
|
|
1056
|
-
readonly tsObjectDeclarationType?: $MaybeFilter<$IriFilter>;
|
|
1057
1021
|
readonly types?: $CollectionFilter<$IriFilter>;
|
|
1058
1022
|
readonly xone?: $MaybeFilter<$CollectionFilter<$IdentifierFilter>>;
|
|
1059
1023
|
};
|
|
@@ -1064,7 +1028,6 @@ export declare namespace NodeShape {
|
|
|
1064
1028
|
const $propertiesFromRdfResource: $PropertiesFromRdfResourceFunction<{
|
|
1065
1029
|
$identifier: BlankNode | NamedNode;
|
|
1066
1030
|
$type: "NodeShape";
|
|
1067
|
-
abstract: Maybe<boolean>;
|
|
1068
1031
|
and: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
1069
1032
|
classes: readonly NamedNode[];
|
|
1070
1033
|
closed: Maybe<boolean>;
|
|
@@ -1103,7 +1066,6 @@ export declare namespace NodeShape {
|
|
|
1103
1066
|
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">[];
|
|
1104
1067
|
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">[];
|
|
1105
1068
|
tsImports: readonly string[];
|
|
1106
|
-
tsObjectDeclarationType: Maybe<NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class" | "http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">>;
|
|
1107
1069
|
types: readonly NamedNode[];
|
|
1108
1070
|
xone: Maybe<readonly (BlankNode | NamedNode)[]>;
|
|
1109
1071
|
}>;
|
|
@@ -1122,16 +1084,6 @@ export declare namespace NodeShape {
|
|
|
1122
1084
|
ownValues: string[];
|
|
1123
1085
|
};
|
|
1124
1086
|
};
|
|
1125
|
-
readonly abstract: {
|
|
1126
|
-
readonly kind: "Shacl";
|
|
1127
|
-
readonly type: () => {
|
|
1128
|
-
kind: "Maybe";
|
|
1129
|
-
item: () => {
|
|
1130
|
-
kind: "Boolean";
|
|
1131
|
-
};
|
|
1132
|
-
};
|
|
1133
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#abstract">;
|
|
1134
|
-
};
|
|
1135
1087
|
readonly and: {
|
|
1136
1088
|
readonly kind: "Shacl";
|
|
1137
1089
|
readonly type: () => {
|
|
@@ -1530,17 +1482,6 @@ export declare namespace NodeShape {
|
|
|
1530
1482
|
};
|
|
1531
1483
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
|
|
1532
1484
|
};
|
|
1533
|
-
readonly tsObjectDeclarationType: {
|
|
1534
|
-
readonly kind: "Shacl";
|
|
1535
|
-
readonly type: () => {
|
|
1536
|
-
kind: "Maybe";
|
|
1537
|
-
item: () => {
|
|
1538
|
-
kind: "Iri";
|
|
1539
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
|
|
1540
|
-
};
|
|
1541
|
-
};
|
|
1542
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
1543
|
-
};
|
|
1544
1485
|
readonly types: {
|
|
1545
1486
|
readonly kind: "Shacl";
|
|
1546
1487
|
readonly type: () => {
|
|
@@ -1608,16 +1549,6 @@ export declare namespace Shape {
|
|
|
1608
1549
|
ownValues: string[];
|
|
1609
1550
|
};
|
|
1610
1551
|
};
|
|
1611
|
-
readonly abstract: {
|
|
1612
|
-
readonly kind: "Shacl";
|
|
1613
|
-
readonly type: () => {
|
|
1614
|
-
kind: "Maybe";
|
|
1615
|
-
item: () => {
|
|
1616
|
-
kind: "Boolean";
|
|
1617
|
-
};
|
|
1618
|
-
};
|
|
1619
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#abstract">;
|
|
1620
|
-
};
|
|
1621
1552
|
readonly and: {
|
|
1622
1553
|
readonly kind: "Shacl";
|
|
1623
1554
|
readonly type: () => {
|
|
@@ -2016,17 +1947,6 @@ export declare namespace Shape {
|
|
|
2016
1947
|
};
|
|
2017
1948
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
|
|
2018
1949
|
};
|
|
2019
|
-
readonly tsObjectDeclarationType: {
|
|
2020
|
-
readonly kind: "Shacl";
|
|
2021
|
-
readonly type: () => {
|
|
2022
|
-
kind: "Maybe";
|
|
2023
|
-
item: () => {
|
|
2024
|
-
kind: "Iri";
|
|
2025
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
|
|
2026
|
-
};
|
|
2027
|
-
};
|
|
2028
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
2029
|
-
};
|
|
2030
1950
|
readonly types: {
|
|
2031
1951
|
readonly kind: "Shacl";
|
|
2032
1952
|
readonly type: () => {
|
|
@@ -2429,17 +2349,6 @@ export declare namespace Shape {
|
|
|
2429
2349
|
};
|
|
2430
2350
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
|
|
2431
2351
|
};
|
|
2432
|
-
readonly visibility: {
|
|
2433
|
-
readonly kind: "Shacl";
|
|
2434
|
-
readonly type: () => {
|
|
2435
|
-
kind: "Maybe";
|
|
2436
|
-
item: () => {
|
|
2437
|
-
kind: "Iri";
|
|
2438
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Protected"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Public">)[];
|
|
2439
|
-
};
|
|
2440
|
-
};
|
|
2441
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#visibility">;
|
|
2442
|
-
};
|
|
2443
2352
|
readonly xone: {
|
|
2444
2353
|
readonly kind: "Shacl";
|
|
2445
2354
|
readonly type: () => {
|
|
@@ -2796,16 +2705,6 @@ export declare namespace $Object {
|
|
|
2796
2705
|
ownValues: string[];
|
|
2797
2706
|
};
|
|
2798
2707
|
};
|
|
2799
|
-
readonly abstract: {
|
|
2800
|
-
readonly kind: "Shacl";
|
|
2801
|
-
readonly type: () => {
|
|
2802
|
-
kind: "Maybe";
|
|
2803
|
-
item: () => {
|
|
2804
|
-
kind: "Boolean";
|
|
2805
|
-
};
|
|
2806
|
-
};
|
|
2807
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#abstract">;
|
|
2808
|
-
};
|
|
2809
2708
|
readonly and: {
|
|
2810
2709
|
readonly kind: "Shacl";
|
|
2811
2710
|
readonly type: () => {
|
|
@@ -3204,17 +3103,6 @@ export declare namespace $Object {
|
|
|
3204
3103
|
};
|
|
3205
3104
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
|
|
3206
3105
|
};
|
|
3207
|
-
readonly tsObjectDeclarationType: {
|
|
3208
|
-
readonly kind: "Shacl";
|
|
3209
|
-
readonly type: () => {
|
|
3210
|
-
kind: "Maybe";
|
|
3211
|
-
item: () => {
|
|
3212
|
-
kind: "Iri";
|
|
3213
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
|
|
3214
|
-
};
|
|
3215
|
-
};
|
|
3216
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
3217
|
-
};
|
|
3218
3106
|
readonly types: {
|
|
3219
3107
|
readonly kind: "Shacl";
|
|
3220
3108
|
readonly type: () => {
|
|
@@ -3310,17 +3198,6 @@ export declare namespace $Object {
|
|
|
3310
3198
|
};
|
|
3311
3199
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsImport">;
|
|
3312
3200
|
};
|
|
3313
|
-
readonly tsObjectDeclarationType: {
|
|
3314
|
-
readonly kind: "Shacl";
|
|
3315
|
-
readonly type: () => {
|
|
3316
|
-
kind: "Maybe";
|
|
3317
|
-
item: () => {
|
|
3318
|
-
kind: "Iri";
|
|
3319
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Class"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_TsObjectDeclarationType_Interface">)[];
|
|
3320
|
-
};
|
|
3321
|
-
};
|
|
3322
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#tsObjectDeclarationType">;
|
|
3323
|
-
};
|
|
3324
3201
|
};
|
|
3325
3202
|
};
|
|
3326
3203
|
};
|
|
@@ -3740,17 +3617,6 @@ export declare namespace $Object {
|
|
|
3740
3617
|
};
|
|
3741
3618
|
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#uniqueLang">;
|
|
3742
3619
|
};
|
|
3743
|
-
readonly visibility: {
|
|
3744
|
-
readonly kind: "Shacl";
|
|
3745
|
-
readonly type: () => {
|
|
3746
|
-
kind: "Maybe";
|
|
3747
|
-
item: () => {
|
|
3748
|
-
kind: "Iri";
|
|
3749
|
-
in: (import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Private"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Protected"> | import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#_Visibility_Public">)[];
|
|
3750
|
-
};
|
|
3751
|
-
};
|
|
3752
|
-
readonly path: import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://purl.org/shaclmate/ontology#visibility">;
|
|
3753
|
-
};
|
|
3754
3620
|
readonly xone: {
|
|
3755
3621
|
readonly kind: "Shacl";
|
|
3756
3622
|
readonly type: () => {
|