@rdfx/builder 0.0.33 → 0.0.35

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/index.d.ts CHANGED
@@ -1,6 +1,19 @@
1
1
  export { builder as default } from "./builder.js";
2
2
  import type { DatasetCore } from "@rdfjs/types";
3
- import { $Object } from "./shapes.js";
3
+ import { $Object, type owl_Ontology, type sh_NodeShape, type sh_PropertyGroup, type sh_PropertyShape, type sh_Shape, type skos_Concept, type skos_ConceptScheme } from "./shapes.js";
4
+ export declare namespace owl {
5
+ type Ontology = owl_Ontology;
6
+ }
7
+ export declare namespace sh {
8
+ type NodeShape = sh_NodeShape;
9
+ type PropertyGroup = sh_PropertyGroup;
10
+ type PropertyShape = sh_PropertyShape;
11
+ type Shape = sh_Shape;
12
+ }
13
+ export declare namespace skos {
14
+ type Concept = skos_Concept;
15
+ type ConceptScheme = skos_ConceptScheme;
16
+ }
4
17
  export declare function toRdfDataset(dataset: DatasetCore, ...objects: readonly $Object[]): void;
5
18
  export declare const toRdfResource: import("./shapes.js").$ToRdfResourceFunction<$Object, import("@rdfx/resource/dist/Identifier.js").Identifier>;
6
19
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  export { builder as default } from "./builder.js";
2
2
  import dataFactory from "@rdfx/data-factory";
3
3
  import { ResourceSet } from "@rdfx/resource";
4
- import { $Object } from "./shapes.js";
4
+ import { $Object, } from "./shapes.js";
5
5
  export function toRdfDataset(dataset, ...objects) {
6
6
  const resourceSet = new ResourceSet({ dataFactory, dataset });
7
7
  for (const object of objects) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "dependencies": {
3
- "@rdfx/data-factory": "0.0.33",
4
- "@rdfx/resource": "0.0.33",
3
+ "@rdfx/data-factory": "0.0.35",
4
+ "@rdfx/resource": "0.0.35",
5
5
  "@rdfjs/namespace": "~2.0.1",
6
6
  "@rdfjs/types": "~2.0.1",
7
7
  "@types/rdfjs__namespace": "~2.0.10",
@@ -10,8 +10,8 @@
10
10
  "ts-invariant": "~0.10.3"
11
11
  },
12
12
  "devDependencies": {
13
- "@rdfx/fs": "0.0.33",
14
- "@rdfx/resource": "0.0.33",
13
+ "@rdfx/fs": "0.0.35",
14
+ "@rdfx/resource": "0.0.35",
15
15
  "@rdfjs/dataset": "~2.0.2",
16
16
  "@shaclmate/compiler": "4.0.65",
17
17
  "@shaclmate/validator": "4.0.65",
@@ -42,5 +42,5 @@
42
42
  },
43
43
  "type": "module",
44
44
  "types": "./dist/index.d.ts",
45
- "version": "0.0.33"
45
+ "version": "0.0.35"
46
46
  }