rdfjs-resource 3.0.2 → 3.0.4

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.
@@ -33,10 +33,12 @@ interface ZeroOrOnePath {
33
33
  export type PropertyPath = AlternativePath | InversePath | OneOrMorePath | PredicatePath | SequencePath | ZeroOrMorePath | ZeroOrOnePath;
34
34
  export declare namespace PropertyPath {
35
35
  function $fromRdf(resource: Resource, options?: {
36
+ [index: string]: unknown;
36
37
  graph?: Exclude<Quad_Graph, Variable>;
37
38
  }): Either<Error, PropertyPath>;
38
39
  type $Filter = object;
39
40
  function $filter(_filter: $Filter, _value: PropertyPath): boolean;
41
+ const $schema: Readonly<object>;
40
42
  function $toString(propertyPath: PropertyPath): string;
41
43
  function $toRdf(propertyPath: PropertyPath, options?: {
42
44
  graph?: Exclude<Quad_Graph, Variable>;
@@ -94,6 +94,7 @@ export var PropertyPath;
94
94
  return true;
95
95
  }
96
96
  PropertyPath.$filter = $filter;
97
+ PropertyPath.$schema = {};
97
98
  function $toString(propertyPath) {
98
99
  switch (propertyPath.termType) {
99
100
  case "AlternativePath":
package/package.json CHANGED
@@ -47,5 +47,5 @@
47
47
  },
48
48
  "type": "module",
49
49
  "types": "dist/index.d.ts",
50
- "version": "3.0.2"
50
+ "version": "3.0.4"
51
51
  }