@rdfx/builder 0.0.44 → 0.0.46

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/builder.d.ts CHANGED
@@ -5,7 +5,7 @@ export declare function builder<DefaultNamespaceT extends NamespaceBuilder = Nam
5
5
  }): {
6
6
  sh: {
7
7
  namespace: NamespaceBuilder<keyof typeof import("@tpluscode/rdf-ns-builders").sh>;
8
- NodeShape: ($identifier: BlankNode | NamedNode<string> | (keyof DefaultNamespaceT & string), parameters?: (Omit<{
8
+ NodeShape: ($identifier: BlankNode | NamedNode<string> | (keyof DefaultNamespaceT & string) | undefined, parameters?: (Omit<{
9
9
  readonly $defaultNamespace?: DefaultNamespaceT | undefined;
10
10
  readonly $identifier?: BlankNode | NamedNode<string> | (() => import("./shapes.js").sh_NodeShape.Identifier) | (keyof DefaultNamespaceT & string) | undefined;
11
11
  readonly and?: import("purify-ts").Maybe<readonly (NamedNode<string> | import("./shapes.js").sh_Shape)[]> | readonly (NamedNode<string> | import("./shapes.js").sh_Shape | (keyof DefaultNamespaceT & string))[] | undefined;
@@ -120,7 +120,7 @@ export declare function builder<DefaultNamespaceT extends NamespaceBuilder = Nam
120
120
  }> | readonly (import("./shapes.js").sh_PropertyShape | (keyof DefaultNamespaceT & string) | NamedNode<string>)[] | undefined;
121
121
  readonly shaclmateName?: string;
122
122
  }) | undefined) => import("./shapes.js").sh_NodeShape;
123
- PropertyShape: ($identifier: BlankNode | NamedNode<string> | (keyof DefaultNamespaceT & string), parameters?: (Omit<{
123
+ PropertyShape: ($identifier: BlankNode | NamedNode<string> | (keyof DefaultNamespaceT & string) | undefined, parameters?: (Omit<{
124
124
  readonly $defaultNamespace?: DefaultNamespaceT | undefined;
125
125
  readonly $identifier?: BlankNode | NamedNode<string> | (() => import("./shapes.js").sh_PropertyShape.Identifier) | (keyof DefaultNamespaceT & string) | undefined;
126
126
  readonly and?: import("purify-ts").Maybe<readonly (NamedNode<string> | import("./shapes.js").sh_Shape)[]> | readonly (NamedNode<string> | import("./shapes.js").sh_Shape | (keyof DefaultNamespaceT & string))[] | undefined;
package/dist/sh.d.ts CHANGED
@@ -9,7 +9,7 @@ type NodeKindIri = (typeof _namespace)["BlankNode"] | (typeof _namespace)["Blank
9
9
  type NodeKindString = "BlankNode" | "BlankNodeOrIRI" | "BlankNodeOrLiteral" | "IRI" | "IRIOrLiteral" | "Literal";
10
10
  export declare function sh<DefaultNamespaceT extends NamespaceBuilder>({ defaultNamespace, toIdentifier, toIri, toIriArray, }: BuilderBuilderParameters<DefaultNamespaceT>): {
11
11
  namespace: NamespaceBuilder<keyof typeof _namespace>;
12
- NodeShape: ($identifier: BlankNode | (keyof DefaultNamespaceT & string) | NamedNode, parameters?: Omit<NonNullable<Parameters<typeof sh_NodeShape.createUnsafe<DefaultNamespaceT>>[0]>, "$identifier" | "in_" | "nodeKind" | "properties" | "shaclmateName"> & {
12
+ NodeShape: ($identifier: BlankNode | (keyof DefaultNamespaceT & string) | NamedNode | undefined, parameters?: Omit<NonNullable<Parameters<typeof sh_NodeShape.createUnsafe<DefaultNamespaceT>>[0]>, "$identifier" | "in_" | "nodeKind" | "properties" | "shaclmateName"> & {
13
13
  readonly in_?: skos_ConceptScheme | ConvertibleInArray;
14
14
  readonly implicitClassTarget?: true;
15
15
  readonly nodeKind?: NodeKindIri | NodeKindString;
@@ -73,7 +73,7 @@ export declare function sh<DefaultNamespaceT extends NamespaceBuilder>({ default
73
73
  readonly nodeKind?: NodeKindIri | NodeKindString;
74
74
  readonly path?: (keyof DefaultNamespaceT & string) | PropertyPath;
75
75
  }, "$identifier" | "path"> & {
76
- readonly $identifier?: Parameters<($identifier: BlankNode | (keyof DefaultNamespaceT & string) | NamedNode, parameters?: Omit<NonNullable<Parameters<typeof sh_PropertyShape.createUnsafe<DefaultNamespaceT>>[0]>, "$identifier" | "in_" | "maxCount" | "minCount" | "nodeKind" | "path"> & {
76
+ readonly $identifier?: Parameters<($identifier: BlankNode | (keyof DefaultNamespaceT & string) | NamedNode | undefined, parameters?: Omit<NonNullable<Parameters<typeof sh_PropertyShape.createUnsafe<DefaultNamespaceT>>[0]>, "$identifier" | "in_" | "maxCount" | "minCount" | "nodeKind" | "path"> & {
77
77
  readonly cardinality?: "optional" | "required" | "set";
78
78
  readonly in_?: skos_ConceptScheme | ConvertibleInArray;
79
79
  readonly nodeKind?: NodeKindIri | NodeKindString;
@@ -83,7 +83,7 @@ export declare function sh<DefaultNamespaceT extends NamespaceBuilder>({ default
83
83
  }> | readonly (sh_PropertyShape | (keyof DefaultNamespaceT & string) | NamedNode<string>)[];
84
84
  readonly shaclmateName?: string;
85
85
  }) => sh_NodeShape;
86
- PropertyShape: ($identifier: BlankNode | (keyof DefaultNamespaceT & string) | NamedNode, parameters?: Omit<NonNullable<Parameters<typeof sh_PropertyShape.createUnsafe<DefaultNamespaceT>>[0]>, "$identifier" | "in_" | "maxCount" | "minCount" | "nodeKind" | "path"> & {
86
+ PropertyShape: ($identifier: BlankNode | (keyof DefaultNamespaceT & string) | NamedNode | undefined, parameters?: Omit<NonNullable<Parameters<typeof sh_PropertyShape.createUnsafe<DefaultNamespaceT>>[0]>, "$identifier" | "in_" | "maxCount" | "minCount" | "nodeKind" | "path"> & {
87
87
  readonly cardinality?: "optional" | "required" | "set";
88
88
  readonly in_?: skos_ConceptScheme | ConvertibleInArray;
89
89
  readonly nodeKind?: NodeKindIri | NodeKindString;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "dependencies": {
3
- "@rdfx/data-factory": "0.0.44",
4
- "@rdfx/literal": "0.0.44",
5
- "@rdfx/resource": "0.0.44",
6
- "@rdfx/string": "0.0.44",
3
+ "@rdfx/data-factory": "0.0.46",
4
+ "@rdfx/literal": "0.0.46",
5
+ "@rdfx/resource": "0.0.46",
6
+ "@rdfx/string": "0.0.46",
7
7
  "@rdfjs/namespace": "~2.0.1",
8
8
  "@rdfjs/types": "~2.0.1",
9
9
  "@types/rdfjs__namespace": "~2.0.10",
@@ -11,9 +11,9 @@
11
11
  "purify-ts": "~2.1.4"
12
12
  },
13
13
  "devDependencies": {
14
- "@rdfx/collection": "0.0.44",
15
- "@rdfx/fs": "0.0.44",
16
- "@rdfx/testing": "0.0.44",
14
+ "@rdfx/collection": "0.0.46",
15
+ "@rdfx/fs": "0.0.46",
16
+ "@rdfx/testing": "0.0.46",
17
17
  "@shaclmate/compiler": "4.0.80",
18
18
  "@shaclmate/validator": "4.0.80",
19
19
  "@tpluscode/rdf-ns-builders": "~4.3.0",
@@ -42,5 +42,5 @@
42
42
  },
43
43
  "type": "module",
44
44
  "types": "./dist/index.d.ts",
45
- "version": "0.0.44"
45
+ "version": "0.0.46"
46
46
  }