@shaclmate/compiler 2.0.16 → 2.0.17

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.
Files changed (217) hide show
  1. package/{Compiler.js → dist/Compiler.js} +2 -0
  2. package/{ShapesGraphToAstTransformer.js → dist/ShapesGraphToAstTransformer.js} +13 -11
  3. package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformNodeShapeToAstType.js +4 -2
  4. package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformPropertyShapeToAstType.js +2 -0
  5. package/{ast → dist/ast}/ListType.d.ts +1 -1
  6. package/dist/ast/SetType.d.ts +23 -0
  7. package/dist/enums/IdentifierMintingStrategy.d.ts +5 -0
  8. package/{generators → dist/generators}/index.d.ts +1 -0
  9. package/{generators → dist/generators}/index.js +1 -0
  10. package/{generators → dist/generators}/ts/BooleanType.js +1 -4
  11. package/{generators → dist/generators}/ts/DateTimeType.d.ts +4 -1
  12. package/{generators → dist/generators}/ts/DateTimeType.js +11 -10
  13. package/dist/generators/ts/DateType.d.ts +9 -0
  14. package/dist/generators/ts/DateType.js +11 -0
  15. package/{generators → dist/generators}/ts/DeclaredType.js +3 -0
  16. package/{generators → dist/generators}/ts/IdentifierType.js +1 -4
  17. package/{generators → dist/generators}/ts/ListType.d.ts +5 -4
  18. package/{generators → dist/generators}/ts/ListType.js +18 -7
  19. package/{generators → dist/generators}/ts/LiteralType.js +1 -0
  20. package/{generators → dist/generators}/ts/NumberType.js +1 -4
  21. package/{generators → dist/generators}/ts/ObjectType.d.ts +3 -3
  22. package/{generators → dist/generators}/ts/ObjectType.js +16 -3
  23. package/{generators → dist/generators}/ts/ObjectUnionType.js +5 -1
  24. package/{generators → dist/generators}/ts/OptionType.js +5 -2
  25. package/{generators → dist/generators}/ts/PrimitiveType.js +3 -1
  26. package/{generators → dist/generators}/ts/SetType.d.ts +3 -1
  27. package/{generators → dist/generators}/ts/SetType.js +16 -10
  28. package/{generators → dist/generators}/ts/StringType.js +1 -4
  29. package/{generators → dist/generators}/ts/TermType.js +9 -5
  30. package/{generators → dist/generators}/ts/Type.js +1 -0
  31. package/{generators → dist/generators}/ts/TypeFactory.js +9 -6
  32. package/{generators → dist/generators}/ts/UnionType.js +3 -1
  33. package/{generators → dist/generators}/ts/_ObjectType/IdentifierProperty.js +13 -8
  34. package/{generators → dist/generators}/ts/_ObjectType/Property.js +14 -0
  35. package/{generators → dist/generators}/ts/_ObjectType/ShaclProperty.js +5 -0
  36. package/{generators → dist/generators}/ts/_ObjectType/TypeDiscriminatorProperty.js +7 -2
  37. package/dist/index.d.ts +3 -0
  38. package/dist/index.js +3 -0
  39. package/{input → dist/input}/NodeShape.d.ts +1 -1
  40. package/{input → dist/input}/NodeShape.js +11 -4
  41. package/{input → dist/input}/Ontology.js +1 -0
  42. package/{input → dist/input}/PropertyShape.js +1 -0
  43. package/{input → dist/input}/generated.d.ts +2 -2
  44. package/{input → dist/input}/generated.js +10 -10
  45. package/package.json +28 -24
  46. package/ast/SetType.d.ts +0 -12
  47. package/enums/IdentifierMintingStrategy.d.ts +0 -5
  48. package/index.d.ts +0 -2
  49. package/index.js +0 -2
  50. /package/{Compiler.d.ts → dist/Compiler.d.ts} +0 -0
  51. /package/{ShapesGraphToAstTransformer.d.ts → dist/ShapesGraphToAstTransformer.d.ts} +0 -0
  52. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/NodeShapeAstType.d.ts +0 -0
  53. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/NodeShapeAstType.js +0 -0
  54. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/index.d.ts +0 -0
  55. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/index.js +0 -0
  56. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/pickLiteral.d.ts +0 -0
  57. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/pickLiteral.js +0 -0
  58. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/propertyShapeNodeKinds.d.ts +0 -0
  59. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/propertyShapeNodeKinds.js +0 -0
  60. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/shapeAstName.d.ts +0 -0
  61. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/shapeAstName.js +0 -0
  62. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformNodeShapeToAstType.d.ts +0 -0
  63. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformPropertyShapeToAstCompositeType.d.ts +0 -0
  64. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformPropertyShapeToAstCompositeType.js +0 -0
  65. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformPropertyShapeToAstIdentifierType.d.ts +0 -0
  66. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformPropertyShapeToAstIdentifierType.js +0 -0
  67. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformPropertyShapeToAstLiteralType.d.ts +0 -0
  68. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformPropertyShapeToAstLiteralType.js +0 -0
  69. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformPropertyShapeToAstObjectTypeProperty.d.ts +0 -0
  70. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformPropertyShapeToAstObjectTypeProperty.js +0 -0
  71. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformPropertyShapeToAstTermType.d.ts +0 -0
  72. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformPropertyShapeToAstTermType.js +0 -0
  73. /package/{_ShapesGraphToAstTransformer → dist/_ShapesGraphToAstTransformer}/transformPropertyShapeToAstType.d.ts +0 -0
  74. /package/{ast → dist/ast}/Ast.d.ts +0 -0
  75. /package/{ast → dist/ast}/Ast.js +0 -0
  76. /package/{ast → dist/ast}/CompositeType.d.ts +0 -0
  77. /package/{ast → dist/ast}/CompositeType.js +0 -0
  78. /package/{ast → dist/ast}/IdentifierType.d.ts +0 -0
  79. /package/{ast → dist/ast}/IdentifierType.js +0 -0
  80. /package/{ast → dist/ast}/IntersectionType.d.ts +0 -0
  81. /package/{ast → dist/ast}/IntersectionType.js +0 -0
  82. /package/{ast → dist/ast}/ListType.js +0 -0
  83. /package/{ast → dist/ast}/LiteralType.d.ts +0 -0
  84. /package/{ast → dist/ast}/LiteralType.js +0 -0
  85. /package/{ast → dist/ast}/Name.d.ts +0 -0
  86. /package/{ast → dist/ast}/Name.js +0 -0
  87. /package/{ast → dist/ast}/ObjectCompositeType.d.ts +0 -0
  88. /package/{ast → dist/ast}/ObjectCompositeType.js +0 -0
  89. /package/{ast → dist/ast}/ObjectIntersectionType.d.ts +0 -0
  90. /package/{ast → dist/ast}/ObjectIntersectionType.js +0 -0
  91. /package/{ast → dist/ast}/ObjectType.d.ts +0 -0
  92. /package/{ast → dist/ast}/ObjectType.js +0 -0
  93. /package/{ast → dist/ast}/ObjectUnionType.d.ts +0 -0
  94. /package/{ast → dist/ast}/ObjectUnionType.js +0 -0
  95. /package/{ast → dist/ast}/OptionType.d.ts +0 -0
  96. /package/{ast → dist/ast}/OptionType.js +0 -0
  97. /package/{ast → dist/ast}/PlaceholderType.d.ts +0 -0
  98. /package/{ast → dist/ast}/PlaceholderType.js +0 -0
  99. /package/{ast → dist/ast}/SetType.js +0 -0
  100. /package/{ast → dist/ast}/TermType.d.ts +0 -0
  101. /package/{ast → dist/ast}/TermType.js +0 -0
  102. /package/{ast → dist/ast}/Type.d.ts +0 -0
  103. /package/{ast → dist/ast}/Type.js +0 -0
  104. /package/{ast → dist/ast}/UnionType.d.ts +0 -0
  105. /package/{ast → dist/ast}/UnionType.js +0 -0
  106. /package/{ast → dist/ast}/index.d.ts +0 -0
  107. /package/{ast → dist/ast}/index.js +0 -0
  108. /package/{enums → dist/enums}/IdentifierMintingStrategy.js +0 -0
  109. /package/{enums → dist/enums}/PropertyVisibility.d.ts +0 -0
  110. /package/{enums → dist/enums}/PropertyVisibility.js +0 -0
  111. /package/{enums → dist/enums}/TsFeature.d.ts +0 -0
  112. /package/{enums → dist/enums}/TsFeature.js +0 -0
  113. /package/{enums → dist/enums}/TsObjectDeclarationType.d.ts +0 -0
  114. /package/{enums → dist/enums}/TsObjectDeclarationType.js +0 -0
  115. /package/{enums → dist/enums}/index.d.ts +0 -0
  116. /package/{enums → dist/enums}/index.js +0 -0
  117. /package/{generators → dist/generators}/Generator.d.ts +0 -0
  118. /package/{generators → dist/generators}/Generator.js +0 -0
  119. /package/{generators → dist/generators}/json/AstJsonGenerator.d.ts +0 -0
  120. /package/{generators → dist/generators}/json/AstJsonGenerator.js +0 -0
  121. /package/{generators → dist/generators}/json/index.d.ts +0 -0
  122. /package/{generators → dist/generators}/json/index.js +0 -0
  123. /package/{generators → dist/generators}/ts/BooleanType.d.ts +0 -0
  124. /package/{generators → dist/generators}/ts/DeclaredType.d.ts +0 -0
  125. /package/{generators → dist/generators}/ts/IdentifierType.d.ts +0 -0
  126. /package/{generators → dist/generators}/ts/Import.d.ts +0 -0
  127. /package/{generators → dist/generators}/ts/Import.js +0 -0
  128. /package/{generators → dist/generators}/ts/LiteralType.d.ts +0 -0
  129. /package/{generators → dist/generators}/ts/NumberType.d.ts +0 -0
  130. /package/{generators → dist/generators}/ts/ObjectUnionType.d.ts +0 -0
  131. /package/{generators → dist/generators}/ts/OptionType.d.ts +0 -0
  132. /package/{generators → dist/generators}/ts/PrimitiveType.d.ts +0 -0
  133. /package/{generators → dist/generators}/ts/SnippetDeclarations.d.ts +0 -0
  134. /package/{generators → dist/generators}/ts/SnippetDeclarations.js +0 -0
  135. /package/{generators → dist/generators}/ts/StringType.d.ts +0 -0
  136. /package/{generators → dist/generators}/ts/TermType.d.ts +0 -0
  137. /package/{generators → dist/generators}/ts/TsGenerator.d.ts +0 -0
  138. /package/{generators → dist/generators}/ts/TsGenerator.js +0 -0
  139. /package/{generators → dist/generators}/ts/Type.d.ts +0 -0
  140. /package/{generators → dist/generators}/ts/TypeFactory.d.ts +0 -0
  141. /package/{generators → dist/generators}/ts/UnionType.d.ts +0 -0
  142. /package/{generators → dist/generators}/ts/_ObjectType/IdentifierProperty.d.ts +0 -0
  143. /package/{generators → dist/generators}/ts/_ObjectType/Property.d.ts +0 -0
  144. /package/{generators → dist/generators}/ts/_ObjectType/ShaclProperty.d.ts +0 -0
  145. /package/{generators → dist/generators}/ts/_ObjectType/TypeDiscriminatorProperty.d.ts +0 -0
  146. /package/{generators → dist/generators}/ts/_ObjectType/classDeclaration.d.ts +0 -0
  147. /package/{generators → dist/generators}/ts/_ObjectType/classDeclaration.js +0 -0
  148. /package/{generators → dist/generators}/ts/_ObjectType/createFunctionDeclaration.d.ts +0 -0
  149. /package/{generators → dist/generators}/ts/_ObjectType/createFunctionDeclaration.js +0 -0
  150. /package/{generators → dist/generators}/ts/_ObjectType/equalsFunctionDeclaration.d.ts +0 -0
  151. /package/{generators → dist/generators}/ts/_ObjectType/equalsFunctionDeclaration.js +0 -0
  152. /package/{generators → dist/generators}/ts/_ObjectType/equalsFunctionOrMethodDeclaration.d.ts +0 -0
  153. /package/{generators → dist/generators}/ts/_ObjectType/equalsFunctionOrMethodDeclaration.js +0 -0
  154. /package/{generators → dist/generators}/ts/_ObjectType/fromJsonFunctionDeclarations.d.ts +0 -0
  155. /package/{generators → dist/generators}/ts/_ObjectType/fromJsonFunctionDeclarations.js +0 -0
  156. /package/{generators → dist/generators}/ts/_ObjectType/fromRdfFunctionDeclarations.d.ts +0 -0
  157. /package/{generators → dist/generators}/ts/_ObjectType/fromRdfFunctionDeclarations.js +0 -0
  158. /package/{generators → dist/generators}/ts/_ObjectType/fromRdfTypeVariableStatement.d.ts +0 -0
  159. /package/{generators → dist/generators}/ts/_ObjectType/fromRdfTypeVariableStatement.js +0 -0
  160. /package/{generators → dist/generators}/ts/_ObjectType/hashFunctionDeclaration.d.ts +0 -0
  161. /package/{generators → dist/generators}/ts/_ObjectType/hashFunctionDeclaration.js +0 -0
  162. /package/{generators → dist/generators}/ts/_ObjectType/hashFunctionOrMethodDeclaration.d.ts +0 -0
  163. /package/{generators → dist/generators}/ts/_ObjectType/hashFunctionOrMethodDeclaration.js +0 -0
  164. /package/{generators → dist/generators}/ts/_ObjectType/index.d.ts +0 -0
  165. /package/{generators → dist/generators}/ts/_ObjectType/index.js +0 -0
  166. /package/{generators → dist/generators}/ts/_ObjectType/interfaceDeclaration.d.ts +0 -0
  167. /package/{generators → dist/generators}/ts/_ObjectType/interfaceDeclaration.js +0 -0
  168. /package/{generators → dist/generators}/ts/_ObjectType/jsonSchemaFunctionDeclaration.d.ts +0 -0
  169. /package/{generators → dist/generators}/ts/_ObjectType/jsonSchemaFunctionDeclaration.js +0 -0
  170. /package/{generators → dist/generators}/ts/_ObjectType/jsonUiSchemaFunctionDeclaration.d.ts +0 -0
  171. /package/{generators → dist/generators}/ts/_ObjectType/jsonUiSchemaFunctionDeclaration.js +0 -0
  172. /package/{generators → dist/generators}/ts/_ObjectType/jsonZodSchemaFunctionDeclaration.d.ts +0 -0
  173. /package/{generators → dist/generators}/ts/_ObjectType/jsonZodSchemaFunctionDeclaration.js +0 -0
  174. /package/{generators → dist/generators}/ts/_ObjectType/rdfjsTermExpression.d.ts +0 -0
  175. /package/{generators → dist/generators}/ts/_ObjectType/rdfjsTermExpression.js +0 -0
  176. /package/{generators → dist/generators}/ts/_ObjectType/sparqlConstructQueryFunctionDeclaration.d.ts +0 -0
  177. /package/{generators → dist/generators}/ts/_ObjectType/sparqlConstructQueryFunctionDeclaration.js +0 -0
  178. /package/{generators → dist/generators}/ts/_ObjectType/sparqlConstructQueryStringFunctionDeclaration.d.ts +0 -0
  179. /package/{generators → dist/generators}/ts/_ObjectType/sparqlConstructQueryStringFunctionDeclaration.js +0 -0
  180. /package/{generators → dist/generators}/ts/_ObjectType/sparqlFunctionDeclarations.d.ts +0 -0
  181. /package/{generators → dist/generators}/ts/_ObjectType/sparqlFunctionDeclarations.js +0 -0
  182. /package/{generators → dist/generators}/ts/_ObjectType/toJsonFunctionDeclaration.d.ts +0 -0
  183. /package/{generators → dist/generators}/ts/_ObjectType/toJsonFunctionDeclaration.js +0 -0
  184. /package/{generators → dist/generators}/ts/_ObjectType/toJsonFunctionOrMethodDeclaration.d.ts +0 -0
  185. /package/{generators → dist/generators}/ts/_ObjectType/toJsonFunctionOrMethodDeclaration.js +0 -0
  186. /package/{generators → dist/generators}/ts/_ObjectType/toJsonReturnType.d.ts +0 -0
  187. /package/{generators → dist/generators}/ts/_ObjectType/toJsonReturnType.js +0 -0
  188. /package/{generators → dist/generators}/ts/_ObjectType/toRdfFunctionDeclaration.d.ts +0 -0
  189. /package/{generators → dist/generators}/ts/_ObjectType/toRdfFunctionDeclaration.js +0 -0
  190. /package/{generators → dist/generators}/ts/_ObjectType/toRdfFunctionOrMethodDeclaration.d.ts +0 -0
  191. /package/{generators → dist/generators}/ts/_ObjectType/toRdfFunctionOrMethodDeclaration.js +0 -0
  192. /package/{generators → dist/generators}/ts/index.d.ts +0 -0
  193. /package/{generators → dist/generators}/ts/index.js +0 -0
  194. /package/{generators → dist/generators}/ts/objectInitializer.d.ts +0 -0
  195. /package/{generators → dist/generators}/ts/objectInitializer.js +0 -0
  196. /package/{generators → dist/generators}/ts/stringToValidTsIdentifier.d.ts +0 -0
  197. /package/{generators → dist/generators}/ts/stringToValidTsIdentifier.js +0 -0
  198. /package/{generators → dist/generators}/ts/tsComment.d.ts +0 -0
  199. /package/{generators → dist/generators}/ts/tsComment.js +0 -0
  200. /package/{generators → dist/generators}/ts/tsName.d.ts +0 -0
  201. /package/{generators → dist/generators}/ts/tsName.js +0 -0
  202. /package/{input → dist/input}/Ontology.d.ts +0 -0
  203. /package/{input → dist/input}/PropertyShape.d.ts +0 -0
  204. /package/{input → dist/input}/Shape.d.ts +0 -0
  205. /package/{input → dist/input}/Shape.js +0 -0
  206. /package/{input → dist/input}/ShapesGraph.d.ts +0 -0
  207. /package/{input → dist/input}/ShapesGraph.js +0 -0
  208. /package/{input → dist/input}/ancestorClassIris.d.ts +0 -0
  209. /package/{input → dist/input}/ancestorClassIris.js +0 -0
  210. /package/{input → dist/input}/descendantClassIris.d.ts +0 -0
  211. /package/{input → dist/input}/descendantClassIris.js +0 -0
  212. /package/{input → dist/input}/index.d.ts +0 -0
  213. /package/{input → dist/input}/index.js +0 -0
  214. /package/{input → dist/input}/tsFeatures.d.ts +0 -0
  215. /package/{input → dist/input}/tsFeatures.js +0 -0
  216. /package/{logger.d.ts → dist/logger.d.ts} +0 -0
  217. /package/{logger.js → dist/logger.js} +0 -0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes