@manta-eu/ldo 0.1.2 → 0.1.3

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.
@@ -111,7 +111,7 @@ export declare const schema: import("ldkit").NamespaceInterface<{
111
111
  export declare const sh: import("ldkit").NamespaceInterface<{
112
112
  readonly iri: "http://www.w3.org/ns/shacl#";
113
113
  readonly prefix: "sh:";
114
- readonly terms: readonly ["BlankNode", "BlankNodeOrIRI", "BlankNodeOrLiteral", "IRI", "IRIOrLiteral", "Literal", "NodeShape", "PropertyShape", "alternativePath", "and", "class", "closed", "datatype", "deactivated", "declare", "description", "disjoint", "entailment", "equals", "flags", "hasValue", "ignoredProperties", "in", "inversePath", "languageIn", "lessThan", "lessThanOrEquals", "maxCount", "maxExclusive", "maxInclusive", "maxLength", "message", "minCount", "minExclusive", "minInclusive", "minLength", "name", "namespace", "node", "nodeKind", "not", "oneOrMorePath", "or", "path", "pattern", "prefix", "property", "qualifiedMaxCount", "qualifiedMinCount", "qualifiedValueShape", "qualifiedValueShapesDisjoint", "severity", "shapesGraph", "sparql", "targetClass", "targetNode", "targetObjectsOf", "targetSubjectsOf", "uniqueLang", "xone", "zeroOrMorePath", "zeroOrOnePath"];
114
+ readonly terms: readonly ["BlankNode", "BlankNodeOrIRI", "BlankNodeOrLiteral", "IRI", "IRIOrLiteral", "Literal", "NodeShape", "PropertyShape", "alternativePath", "and", "class", "closed", "datatype", "deactivated", "declare", "defaultValue", "description", "disjoint", "entailment", "equals", "flags", "hasValue", "ignoredProperties", "in", "inversePath", "languageIn", "lessThan", "lessThanOrEquals", "maxCount", "maxExclusive", "maxInclusive", "maxLength", "message", "minCount", "minExclusive", "minInclusive", "minLength", "name", "namespace", "node", "nodeKind", "not", "oneOrMorePath", "or", "path", "pattern", "prefix", "property", "qualifiedMaxCount", "qualifiedMinCount", "qualifiedValueShape", "qualifiedValueShapesDisjoint", "severity", "shapesGraph", "sparql", "targetClass", "targetNode", "targetObjectsOf", "targetSubjectsOf", "uniqueLang", "xone", "zeroOrMorePath", "zeroOrOnePath"];
115
115
  }>;
116
116
  export declare const slack: import("ldkit").NamespaceInterface<{
117
117
  readonly iri: string;
@@ -1 +1 @@
1
- {"version":3,"file":"namespaces.d.ts","sourceRoot":"","sources":["../../src/.ldkit/namespaces.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;EA0GP,CAAC;AAEZ,eAAO,MAAM,KAAK;;;;EAwWP,CAAC;AAEZ,eAAO,MAAM,OAAO;;;;EAoDT,CAAC;AAEZ,eAAO,MAAM,UAAU;;;;EA2hBZ,CAAC;AAEZ,eAAO,MAAM,EAAE;;;;EAIJ,CAAC;AAEZ,eAAO,MAAM,IAAI;;;;EAIN,CAAC;AAEZ,eAAO,MAAM,KAAK;;;;EA2FP,CAAC;AAEZ,eAAO,MAAM,GAAG;;;;EAwBL,CAAC;AAEZ,eAAO,MAAM,GAAG;;;;EAuFL,CAAC;AAEZ,eAAO,MAAM,MAAM;;;;EAiXR,CAAC;AAEZ,eAAO,MAAM,MAAM;;;;EAIR,CAAC;AAEZ,eAAO,MAAM,QAAQ;;;;EAuEV,CAAC;AAEZ,eAAO,MAAM,CAAC;;;;EAsxBH,CAAC;AAEZ,eAAO,MAAM,OAAO;;;;EAIT,CAAC;AAEZ,eAAO,MAAM,QAAQ;;;;EA6BV,CAAC;AAEZ,eAAO,MAAM,IAAI;;;;EA+tBN,CAAC;AAEZ,eAAO,MAAM,GAAG;;;;EAIL,CAAC;AAEZ,eAAO,MAAM,GAAG;;;;EAeL,CAAC;AAEZ,eAAO,MAAM,GAAG;;;;EAgBL,CAAC;AAEZ,eAAO,MAAM,IAAI;;;;EA0CN,CAAC;AAEZ,eAAO,MAAM,KAAK;;;;EAIP,CAAC;AAEZ,eAAO,MAAM,MAAM;;;;EA+CR,CAAC;AAEZ,eAAO,MAAM,EAAE;;;;EAmEJ,CAAC;AAEZ,eAAO,MAAM,KAAK;;;;EA8DP,CAAC;AAEZ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439
  "deactivated",
3440
3440
  "declare",
3441
+ "defaultValue",
3441
3442
  "description",
3442
3443
  "disjoint",
3443
3444
  "entailment",
@@ -60,6 +60,12 @@ export declare const ShNodeShapeSchema: {
60
60
  readonly "@optional": true;
61
61
  readonly "@array": true;
62
62
  };
63
+ readonly defaultValue: {
64
+ readonly "@id": "sh:defaultValue";
65
+ readonly "@type": "ldkit:IRI";
66
+ readonly "@optional": true;
67
+ readonly "@array": true;
68
+ };
63
69
  readonly description: {
64
70
  readonly "@id": "sh:description";
65
71
  readonly "@type": "ldkit:IRI";
@@ -1 +1 @@
1
- {"version":3,"file":"sh.d.ts","sourceRoot":"","sources":["../../src/.ldkit/sh.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsXpB,CAAC"}
1
+ {"version":3,"file":"sh.d.ts","sourceRoot":"","sources":["../../src/.ldkit/sh.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4XpB,CAAC"}
package/dist/.ldkit/sh.js CHANGED
@@ -62,6 +62,12 @@ export const ShNodeShapeSchema = {
62
62
  "@optional": true,
63
63
  "@array": true,
64
64
  },
65
+ defaultValue: {
66
+ "@id": sh.defaultValue,
67
+ "@type": ldkit.IRI,
68
+ "@optional": true,
69
+ "@array": true,
70
+ },
65
71
  description: {
66
72
  "@id": sh.description,
67
73
  "@type": ldkit.IRI,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manta-eu/ldo",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Package that generates TS types from SHACL shapes using LDkit",
5
5
  "exports": {
6
6
  ".": {
@@ -52,7 +52,7 @@
52
52
  "author": "",
53
53
  "license": "MIT",
54
54
  "dependencies": {
55
- "ldkit": "2.8.0",
55
+ "ldkit": "^2.8.0",
56
56
  "ts-pattern": "^5.9.0"
57
57
  },
58
58
  "devDependencies": {
@@ -63,8 +63,8 @@
63
63
  "prettier": "^3.8.1",
64
64
  "rimraf": "^6.1.3",
65
65
  "tsc-alias": "^1.9.5",
66
- "typescript": "^5.0.0",
67
- "vitest": "^3.0.0"
66
+ "typescript": "^5.9.3",
67
+ "vitest": "^4.1.8"
68
68
  },
69
69
  "files": [
70
70
  "dist"