@shaclmate/shacl-ast 4.0.49 → 4.0.51

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.
@@ -3,7 +3,7 @@ import TermMap from "@rdfjs/term-map";
3
3
  import type { BlankNode, DatasetCore, NamedNode } from "@rdfjs/types";
4
4
  import { type Resource, ResourceSet } from "@rdfx/resource";
5
5
  import { Either } from "purify-ts";
6
- import type * as generated from "./generated.js";
6
+ import type * as generated from "./shacl-ast.shaclmate.js";
7
7
  export declare abstract class AbstractShapesGraph<NodeShapeT extends generated.NodeShape, OntologyT extends generated.Ontology, PropertyGroupT extends generated.PropertyGroup, PropertyShapeT extends generated.PropertyShape> {
8
8
  private readonly nodeShapesByIdentifier;
9
9
  private readonly ontologiesByIdentifier;
@@ -1,5 +1,5 @@
1
1
  import { AbstractShapesGraph } from "./AbstractShapesGraph.js";
2
- import * as generated from "./generated.js";
2
+ import * as generated from "./shacl-ast.shaclmate.js";
3
3
  export declare class ShapesGraph extends AbstractShapesGraph<generated.NodeShape, generated.Ontology, generated.PropertyGroup, generated.PropertyShape> {
4
4
  protected readonly typeFunctions: {
5
5
  readonly NodeShape: typeof generated.NodeShape;
@@ -1,5 +1,5 @@
1
1
  import { AbstractShapesGraph } from "./AbstractShapesGraph.js";
2
- import * as generated from "./generated.js";
2
+ import * as generated from "./shacl-ast.shaclmate.js";
3
3
  const typeFunctions = {
4
4
  NodeShape: generated.NodeShape,
5
5
  Ontology: generated.Ontology,
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export * from "./AbstractShapesGraph.js";
2
2
  export * from "./Curie.js";
3
3
  export * from "./CurieFactory.js";
4
- export { NodeShape, Ontology, PropertyGroup, PropertyShape, Shape, ValidationReport, ValidationResult, } from "./generated.js";
5
4
  export * from "./IdentifierNodeKind.js";
6
5
  export * from "./NodeKind.js";
7
6
  export * from "./ShapesGraph.js";
7
+ export { NodeShape, Ontology, PropertyGroup, PropertyShape, Shape, ValidationReport, ValidationResult, } from "./shacl-ast.shaclmate.js";
8
8
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export * from "./AbstractShapesGraph.js";
2
2
  export * from "./Curie.js";
3
3
  export * from "./CurieFactory.js";
4
- export { NodeShape, Ontology, PropertyGroup, PropertyShape, Shape, ValidationReport, ValidationResult, } from "./generated.js";
5
4
  export * from "./IdentifierNodeKind.js";
6
5
  export * from "./NodeKind.js";
7
6
  export * from "./ShapesGraph.js";
7
+ export { NodeShape, Ontology, PropertyGroup, PropertyShape, Shape, ValidationReport, ValidationResult, } from "./shacl-ast.shaclmate.js";
8
8
  //# sourceMappingURL=index.js.map
@@ -553,6 +553,7 @@ export declare namespace NodeShape {
553
553
  };
554
554
  };
555
555
  };
556
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#NodeShape">];
556
557
  };
557
558
  type Schema = typeof schema;
558
559
  const _toRdfResource: $_ToRdfResourceFunction<NodeShape.Identifier, NodeShape>;
@@ -616,6 +617,7 @@ export declare namespace Ontology {
616
617
  };
617
618
  };
618
619
  };
620
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2002/07/owl#Ontology">];
619
621
  };
620
622
  type Schema = typeof schema;
621
623
  const _toRdfResource: $_ToRdfResourceFunction<Ontology.Identifier, Ontology>;
@@ -679,6 +681,7 @@ export declare namespace PropertyGroup {
679
681
  };
680
682
  };
681
683
  };
684
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyGroup">];
682
685
  };
683
686
  type Schema = typeof schema;
684
687
  const _toRdfResource: $_ToRdfResourceFunction<PropertyGroup.Identifier, PropertyGroup>;
@@ -1330,6 +1333,7 @@ export declare namespace PropertyShape {
1330
1333
  };
1331
1334
  };
1332
1335
  };
1336
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyShape">];
1333
1337
  };
1334
1338
  type Schema = typeof schema;
1335
1339
  const _toRdfResource: $_ToRdfResourceFunction<PropertyShape.Identifier, PropertyShape>;
@@ -1471,6 +1475,7 @@ export declare namespace ValidationReport {
1471
1475
  };
1472
1476
  };
1473
1477
  };
1478
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#ValidationResult">];
1474
1479
  };
1475
1480
  };
1476
1481
  };
@@ -1485,6 +1490,7 @@ export declare namespace ValidationReport {
1485
1490
  };
1486
1491
  };
1487
1492
  };
1493
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#ValidationReport">];
1488
1494
  };
1489
1495
  type Schema = typeof schema;
1490
1496
  const _toRdfResource: $_ToRdfResourceFunction<ValidationReport.Identifier, ValidationReport>;
@@ -1619,6 +1625,7 @@ export declare namespace ValidationResult {
1619
1625
  };
1620
1626
  };
1621
1627
  };
1628
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#ValidationResult">];
1622
1629
  };
1623
1630
  type Schema = typeof schema;
1624
1631
  const _toRdfResource: $_ToRdfResourceFunction<ValidationResult.Identifier, ValidationResult>;
@@ -2015,6 +2022,7 @@ export declare namespace Shape {
2015
2022
  };
2016
2023
  };
2017
2024
  };
2025
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#NodeShape">];
2018
2026
  };
2019
2027
  };
2020
2028
  readonly PropertyShape: {
@@ -2505,6 +2513,7 @@ export declare namespace Shape {
2505
2513
  };
2506
2514
  };
2507
2515
  };
2516
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyShape">];
2508
2517
  };
2509
2518
  };
2510
2519
  };
@@ -3218,6 +3227,7 @@ export declare namespace $Object {
3218
3227
  };
3219
3228
  };
3220
3229
  };
3230
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#NodeShape">];
3221
3231
  };
3222
3232
  };
3223
3233
  readonly Ontology: {
@@ -3252,6 +3262,7 @@ export declare namespace $Object {
3252
3262
  };
3253
3263
  };
3254
3264
  };
3265
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/2002/07/owl#Ontology">];
3255
3266
  };
3256
3267
  };
3257
3268
  readonly PropertyGroup: {
@@ -3286,6 +3297,7 @@ export declare namespace $Object {
3286
3297
  };
3287
3298
  };
3288
3299
  };
3300
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyGroup">];
3289
3301
  };
3290
3302
  };
3291
3303
  readonly PropertyShape: {
@@ -3776,6 +3788,7 @@ export declare namespace $Object {
3776
3788
  };
3777
3789
  };
3778
3790
  };
3791
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#PropertyShape">];
3779
3792
  };
3780
3793
  };
3781
3794
  readonly ValidationReport: {
@@ -3884,6 +3897,7 @@ export declare namespace $Object {
3884
3897
  };
3885
3898
  };
3886
3899
  };
3900
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#ValidationResult">];
3887
3901
  };
3888
3902
  };
3889
3903
  };
@@ -3898,6 +3912,7 @@ export declare namespace $Object {
3898
3912
  };
3899
3913
  };
3900
3914
  };
3915
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#ValidationReport">];
3901
3916
  };
3902
3917
  };
3903
3918
  readonly ValidationResult: {
@@ -3985,6 +4000,7 @@ export declare namespace $Object {
3985
4000
  };
3986
4001
  };
3987
4002
  };
4003
+ readonly toRdfTypes: readonly [import("@rdfx/data-factory/dist/NamedNode.js").NamedNode<"http://www.w3.org/ns/shacl#ValidationResult">];
3988
4004
  };
3989
4005
  };
3990
4006
  };
@@ -4000,4 +4016,4 @@ export declare namespace $Object {
4000
4016
  }) => (BlankNode | NamedNode)[];
4001
4017
  }
4002
4018
  export {};
4003
- //# sourceMappingURL=generated.d.ts.map
4019
+ //# sourceMappingURL=shacl-ast.shaclmate.d.ts.map