@shaclmate/compiler 4.0.41 → 4.0.42

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 (320) hide show
  1. package/dist/ShapesGraphToAstTransformer.d.ts +1 -0
  2. package/dist/ShapesGraphToAstTransformer.js +10 -45
  3. package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstStructTypeField.d.ts +17 -0
  4. package/dist/_ShapesGraphToAstTransformer/{transformPropertyShapeToAstObjectTypeProperty.js → transformPropertyShapeToAstStructTypeField.js} +71 -48
  5. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstListType.d.ts +1 -1
  6. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstListType.js +29 -20
  7. package/dist/_ShapesGraphToAstTransformer/{transformShapeToAstObjectType.d.ts → transformShapeToAstStructType.d.ts} +2 -2
  8. package/dist/_ShapesGraphToAstTransformer/{transformShapeToAstObjectType.js → transformShapeToAstStructType.js} +35 -29
  9. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstTermType.js +2 -1
  10. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstType.d.ts +1 -1
  11. package/dist/_ShapesGraphToAstTransformer/transformShapeToAstType.js +3 -3
  12. package/dist/ast/AbstractCompoundType.d.ts +2 -2
  13. package/dist/ast/AbstractCompoundType.js +4 -4
  14. package/dist/ast/AbstractContainerType.d.ts +2 -2
  15. package/dist/ast/AbstractContainerType.js +4 -4
  16. package/dist/ast/{AbstractLazyObjectType.d.ts → AbstractLazyType.d.ts} +10 -10
  17. package/dist/ast/{AbstractLazyObjectType.js → AbstractLazyType.js} +3 -3
  18. package/dist/ast/AbstractType.d.ts +1 -1
  19. package/dist/ast/AbstractType.js +3 -0
  20. package/dist/ast/Ast.d.ts +2 -4
  21. package/dist/ast/DefaultValueType.js +2 -1
  22. package/dist/ast/IntersectionType.d.ts +2 -2
  23. package/dist/ast/IntersectionType.js +3 -3
  24. package/dist/ast/LazyOptionType.d.ts +6 -0
  25. package/dist/ast/LazyOptionType.js +5 -0
  26. package/dist/ast/LazySetType.d.ts +6 -0
  27. package/dist/ast/LazySetType.js +5 -0
  28. package/dist/ast/LazyType.d.ts +5 -0
  29. package/dist/ast/LazyType.js +5 -0
  30. package/dist/ast/ListType.d.ts +2 -2
  31. package/dist/ast/ListType.js +4 -4
  32. package/dist/ast/OptionType.js +2 -1
  33. package/dist/ast/SetType.js +2 -1
  34. package/dist/ast/StructCompoundType.d.ts +12 -0
  35. package/dist/ast/{ObjectCompoundType.js → StructCompoundType.js} +18 -18
  36. package/dist/ast/StructIntersectionType.d.ts +4 -0
  37. package/dist/ast/StructIntersectionType.js +2 -0
  38. package/dist/ast/{ObjectType.d.ts → StructType.d.ts} +28 -27
  39. package/dist/ast/{ObjectType.js → StructType.js} +81 -78
  40. package/dist/ast/StructUnionType.d.ts +4 -0
  41. package/dist/ast/StructUnionType.js +2 -0
  42. package/dist/ast/Type.d.ts +5 -5
  43. package/dist/ast/Type.js +4 -4
  44. package/dist/ast/UnionType.d.ts +2 -2
  45. package/dist/ast/UnionType.js +3 -3
  46. package/dist/ast/index.d.ts +7 -7
  47. package/dist/ast/index.js +7 -7
  48. package/dist/generators/AstJsonGenerator.js +2 -2
  49. package/dist/generators/transformAstToLabeledPropertyGraph.js +8 -8
  50. package/dist/generators/ts/AbstractContainerType.d.ts +1 -1
  51. package/dist/generators/ts/AbstractContainerType.js +6 -6
  52. package/dist/generators/ts/AbstractDateType.d.ts +1 -7
  53. package/dist/generators/ts/AbstractDateType.js +1 -11
  54. package/dist/generators/ts/{AbstractLazyObjectType.d.ts → AbstractLazyType.d.ts} +7 -7
  55. package/dist/generators/ts/{AbstractLazyObjectType.js → AbstractLazyType.js} +19 -17
  56. package/dist/generators/ts/AbstractLiteralType.d.ts +2 -5
  57. package/dist/generators/ts/AbstractLiteralType.js +0 -21
  58. package/dist/generators/ts/AbstractNumericType.d.ts +1 -7
  59. package/dist/generators/ts/AbstractNumericType.js +15 -25
  60. package/dist/generators/ts/AbstractObjectSetType.d.ts +1 -1
  61. package/dist/generators/ts/AbstractObjectSetType.js +2 -2
  62. package/dist/generators/ts/AbstractPrimitiveType.d.ts +1 -1
  63. package/dist/generators/ts/AbstractPrimitiveType.js +1 -1
  64. package/dist/generators/ts/AbstractTermType.d.ts +6 -21
  65. package/dist/generators/ts/AbstractTermType.js +26 -55
  66. package/dist/generators/ts/AbstractType.d.ts +40 -47
  67. package/dist/generators/ts/AbstractType.js +17 -6
  68. package/dist/generators/ts/BigDecimalType.d.ts +3 -3
  69. package/dist/generators/ts/BigDecimalType.js +3 -8
  70. package/dist/generators/ts/BigIntType.d.ts +2 -2
  71. package/dist/generators/ts/BigIntType.js +7 -4
  72. package/dist/generators/ts/BlankNodeType.d.ts +2 -7
  73. package/dist/generators/ts/BlankNodeType.js +2 -7
  74. package/dist/generators/ts/BooleanType.d.ts +3 -3
  75. package/dist/generators/ts/BooleanType.js +12 -14
  76. package/dist/generators/ts/DateTimeType.d.ts +2 -2
  77. package/dist/generators/ts/DateTimeType.js +14 -4
  78. package/dist/generators/ts/DateType.d.ts +2 -2
  79. package/dist/generators/ts/DateType.js +14 -4
  80. package/dist/generators/ts/DefaultValueType.d.ts +8 -8
  81. package/dist/generators/ts/DefaultValueType.js +10 -12
  82. package/dist/generators/ts/FloatType.d.ts +2 -2
  83. package/dist/generators/ts/FloatType.js +7 -4
  84. package/dist/generators/ts/IdentifierType.d.ts +2 -2
  85. package/dist/generators/ts/IdentifierType.js +2 -7
  86. package/dist/generators/ts/IntType.d.ts +2 -2
  87. package/dist/generators/ts/IntType.js +7 -4
  88. package/dist/generators/ts/IriType.d.ts +2 -2
  89. package/dist/generators/ts/IriType.js +12 -14
  90. package/dist/generators/ts/{LazyObjectOptionType.d.ts → LazyOptionType.d.ts} +12 -11
  91. package/dist/generators/ts/{LazyObjectOptionType.js → LazyOptionType.js} +23 -14
  92. package/dist/generators/ts/LazySetType.d.ts +20 -0
  93. package/dist/generators/ts/{LazyObjectSetType.js → LazySetType.js} +22 -13
  94. package/dist/generators/ts/LazyType.d.ts +19 -0
  95. package/dist/generators/ts/{LazyObjectType.js → LazyType.js} +22 -13
  96. package/dist/generators/ts/ListType.d.ts +1 -1
  97. package/dist/generators/ts/ListType.js +9 -19
  98. package/dist/generators/ts/LiteralType.d.ts +3 -2
  99. package/dist/generators/ts/LiteralType.js +6 -2
  100. package/dist/generators/ts/ObjectType.d.ts +16 -3
  101. package/dist/generators/ts/ObjectType.js +301 -91
  102. package/dist/generators/ts/ObjectUnionType.js +40 -40
  103. package/dist/generators/ts/OptionType.d.ts +2 -2
  104. package/dist/generators/ts/OptionType.js +7 -5
  105. package/dist/generators/ts/SetType.d.ts +3 -3
  106. package/dist/generators/ts/SetType.js +8 -10
  107. package/dist/generators/ts/Snippets.d.ts +26 -8
  108. package/dist/generators/ts/Snippets.js +161 -35
  109. package/dist/generators/ts/StringType.d.ts +4 -3
  110. package/dist/generators/ts/StringType.js +18 -11
  111. package/dist/generators/ts/TermType.d.ts +7 -5
  112. package/dist/generators/ts/TermType.js +28 -9
  113. package/dist/generators/ts/TsGenerator.js +11 -6
  114. package/dist/generators/ts/Type.d.ts +4 -4
  115. package/dist/generators/ts/TypeFactory.d.ts +5 -5
  116. package/dist/generators/ts/TypeFactory.js +79 -58
  117. package/dist/generators/ts/UnionType.d.ts +23 -18
  118. package/dist/generators/ts/UnionType.js +227 -221
  119. package/dist/generators/ts/ZodGenerator.js +15 -7
  120. package/dist/generators/ts/_ObjectType/AbstractProperty.d.ts +24 -15
  121. package/dist/generators/ts/_ObjectType/AbstractProperty.js +1 -24
  122. package/dist/generators/ts/_ObjectType/DiscriminantProperty.d.ts +8 -6
  123. package/dist/generators/ts/_ObjectType/DiscriminantProperty.js +11 -24
  124. package/dist/generators/ts/_ObjectType/IdentifierProperty.d.ts +8 -2
  125. package/dist/generators/ts/_ObjectType/IdentifierProperty.js +44 -16
  126. package/dist/generators/ts/_ObjectType/ObjectType_createFunctionExpression.d.ts +4 -0
  127. package/dist/generators/ts/_ObjectType/ObjectType_createFunctionExpression.js +28 -0
  128. package/dist/generators/ts/_ObjectType/ObjectType_equalsFunctionExpression.d.ts +4 -0
  129. package/dist/generators/ts/_ObjectType/{ObjectType_equalsFunctionDeclaration.js → ObjectType_equalsFunctionExpression.js} +6 -10
  130. package/dist/generators/ts/_ObjectType/ObjectType_filterFunctionExpression.d.ts +4 -0
  131. package/dist/generators/ts/_ObjectType/ObjectType_filterFunctionExpression.js +12 -0
  132. package/dist/generators/ts/_ObjectType/ObjectType_filterTypeExpression.d.ts +4 -0
  133. package/dist/generators/ts/_ObjectType/{ObjectType_filterTypeDeclaration.js → ObjectType_filterTypeExpression.js} +6 -8
  134. package/dist/generators/ts/_ObjectType/{ObjectType_focusSparqlConstructTriplesFunctionDeclaration.d.ts → ObjectType_focusSparqlConstructTriplesFunctionExpression.d.ts} +2 -3
  135. package/dist/generators/ts/_ObjectType/{ObjectType_focusSparqlConstructTriplesFunctionDeclaration.js → ObjectType_focusSparqlConstructTriplesFunctionExpression.js} +5 -9
  136. package/dist/generators/ts/_ObjectType/{ObjectType_focusSparqlWherePatternsFunctionDeclaration.d.ts → ObjectType_focusSparqlWherePatternsFunctionExpression.d.ts} +2 -3
  137. package/dist/generators/ts/_ObjectType/{ObjectType_focusSparqlWherePatternsFunctionDeclaration.js → ObjectType_focusSparqlWherePatternsFunctionExpression.js} +5 -9
  138. package/dist/generators/ts/_ObjectType/ObjectType_fromJsonFunctionExpression.d.ts +4 -0
  139. package/dist/generators/ts/_ObjectType/ObjectType_fromJsonFunctionExpression.js +12 -0
  140. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfResourceFunctionExpression.d.ts +4 -0
  141. package/dist/generators/ts/_ObjectType/{ObjectType_fromRdfResourceFunctionDeclaration.js → ObjectType_fromRdfResourceFunctionExpression.js} +8 -16
  142. package/dist/generators/ts/_ObjectType/ObjectType_graphqlTypeExpression.d.ts +4 -0
  143. package/dist/generators/ts/_ObjectType/{ObjectType_graphqlTypeVariableStatement.js → ObjectType_graphqlTypeExpression.js} +6 -13
  144. package/dist/generators/ts/_ObjectType/ObjectType_hashFunctionExpression.d.ts +4 -0
  145. package/dist/generators/ts/_ObjectType/ObjectType_hashFunctionExpression.js +30 -0
  146. package/dist/generators/ts/_ObjectType/ObjectType_identifierTypeDeclarations.d.ts +4 -0
  147. package/dist/generators/ts/_ObjectType/{identifierTypeDeclarations.js → ObjectType_identifierTypeDeclarations.js} +2 -5
  148. package/dist/generators/ts/_ObjectType/ObjectType_isTypeFunctionDeclaration.js +3 -3
  149. package/dist/generators/ts/_ObjectType/ObjectType_jsonParseFunctionDeclaration.d.ts +1 -2
  150. package/dist/generators/ts/_ObjectType/ObjectType_jsonParseFunctionDeclaration.js +2 -6
  151. package/dist/generators/ts/_ObjectType/ObjectType_jsonSchemaExpression.d.ts +4 -0
  152. package/dist/generators/ts/_ObjectType/{ObjectType_jsonSchemaFunctionDeclaration.js → ObjectType_jsonSchemaExpression.js} +3 -10
  153. package/dist/generators/ts/_ObjectType/ObjectType_jsonTypeExpression.d.ts +4 -0
  154. package/dist/generators/ts/_ObjectType/ObjectType_jsonTypeExpression.js +5 -0
  155. package/dist/generators/ts/_ObjectType/ObjectType_jsonUiSchemaFunctionExpression.d.ts +4 -0
  156. package/dist/generators/ts/_ObjectType/ObjectType_jsonUiSchemaFunctionExpression.js +17 -0
  157. package/dist/generators/ts/_ObjectType/ObjectType_objectSetMethodNames.d.ts +1 -1
  158. package/dist/generators/ts/_ObjectType/ObjectType_objectSetMethodNames.js +2 -2
  159. package/dist/generators/ts/_ObjectType/ObjectType_schemaExpression.d.ts +4 -0
  160. package/dist/generators/ts/_ObjectType/ObjectType_schemaExpression.js +18 -0
  161. package/dist/generators/ts/_ObjectType/ObjectType_schemaTypeExpression.d.ts +4 -0
  162. package/dist/generators/ts/_ObjectType/ObjectType_schemaTypeExpression.js +18 -0
  163. package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryFunctionDeclaration.d.ts +2 -3
  164. package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryFunctionDeclaration.js +5 -9
  165. package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryStringFunctionDeclaration.d.ts +2 -3
  166. package/dist/generators/ts/_ObjectType/ObjectType_sparqlConstructQueryStringFunctionDeclaration.js +4 -8
  167. package/dist/generators/ts/_ObjectType/ObjectType_toJsonFunctionExpression.d.ts +4 -0
  168. package/dist/generators/ts/_ObjectType/ObjectType_toJsonFunctionExpression.js +14 -0
  169. package/dist/generators/ts/_ObjectType/ObjectType_toRdfResourceFunctionExpression.d.ts +4 -0
  170. package/dist/generators/ts/_ObjectType/{ObjectType_toRdfResourceFunctionDeclaration.js → ObjectType_toRdfResourceFunctionExpression.js} +6 -12
  171. package/dist/generators/ts/_ObjectType/ObjectType_toStringFunctionExpression.d.ts +4 -0
  172. package/dist/generators/ts/_ObjectType/ObjectType_toStringFunctionExpression.js +7 -0
  173. package/dist/generators/ts/_ObjectType/ObjectType_toStringRecordFunctionExpression.d.ts +4 -0
  174. package/dist/generators/ts/_ObjectType/ObjectType_toStringRecordFunctionExpression.js +5 -0
  175. package/dist/generators/ts/_ObjectType/{ObjectType_valueSparqlConstructTriplesFunctionDeclaration.d.ts → ObjectType_valueSparqlConstructTriplesFunctionExpression.d.ts} +2 -3
  176. package/dist/generators/ts/_ObjectType/ObjectType_valueSparqlConstructTriplesFunctionExpression.js +8 -0
  177. package/dist/generators/ts/_ObjectType/{ObjectType_valueSparqlWherePatternsFunctionDeclaration.d.ts → ObjectType_valueSparqlWherePatternsFunctionExpression.d.ts} +2 -3
  178. package/dist/generators/ts/_ObjectType/ObjectType_valueSparqlWherePatternsFunctionExpression.js +10 -0
  179. package/dist/generators/ts/_ObjectType/ShaclProperty.d.ts +9 -2
  180. package/dist/generators/ts/_ObjectType/ShaclProperty.js +65 -33
  181. package/dist/generators/ts/_snippets/snippets_BooleanSchema.js +4 -3
  182. package/dist/generators/ts/_snippets/snippets_DateSchema.js +4 -3
  183. package/dist/generators/ts/_snippets/snippets_DefaultValueSchema.js +3 -3
  184. package/dist/generators/ts/_snippets/snippets_FromRdfResourceValuesFunction.js +6 -5
  185. package/dist/generators/ts/_snippets/snippets_IdentifierSchema.js +2 -1
  186. package/dist/generators/ts/_snippets/snippets_IriSchema.js +1 -0
  187. package/dist/generators/ts/_snippets/snippets_Lazy.d.ts +3 -0
  188. package/dist/generators/ts/_snippets/snippets_Lazy.js +22 -0
  189. package/dist/generators/ts/_snippets/snippets_LazyOption.d.ts +3 -0
  190. package/dist/generators/ts/_snippets/snippets_LazyOption.js +25 -0
  191. package/dist/generators/ts/_snippets/snippets_LazySet.d.ts +3 -0
  192. package/dist/generators/ts/_snippets/snippets_LazySet.js +40 -0
  193. package/dist/generators/ts/_snippets/snippets_LiteralFilter.js +1 -3
  194. package/dist/generators/ts/_snippets/snippets_LiteralSchema.js +1 -0
  195. package/dist/generators/ts/_snippets/snippets_NumericSchema.js +2 -1
  196. package/dist/generators/ts/_snippets/snippets_PropertyPath.js +6 -8
  197. package/dist/generators/ts/_snippets/snippets_RdfVocabularies.js +32 -32
  198. package/dist/generators/ts/_snippets/snippets_ShaclPropertySchema.js +1 -1
  199. package/dist/generators/ts/_snippets/snippets_StringSchema.js +5 -3
  200. package/dist/generators/ts/_snippets/snippets_TermFilter.js +3 -3
  201. package/dist/generators/ts/_snippets/snippets_TermSchema.js +4 -2
  202. package/dist/generators/ts/_snippets/snippets_bigDecimalFromRdfResourceValues.d.ts +3 -0
  203. package/dist/generators/ts/_snippets/snippets_bigDecimalFromRdfResourceValues.js +6 -0
  204. package/dist/generators/ts/_snippets/snippets_bigIntFromRdfResourceValues.d.ts +3 -0
  205. package/dist/generators/ts/_snippets/snippets_bigIntFromRdfResourceValues.js +6 -0
  206. package/dist/generators/ts/_snippets/snippets_blankNodeFromRdfResourceValues.d.ts +3 -0
  207. package/dist/generators/ts/_snippets/snippets_blankNodeFromRdfResourceValues.js +6 -0
  208. package/dist/generators/ts/_snippets/snippets_booleanFromRdfResourceValues.d.ts +3 -0
  209. package/dist/generators/ts/_snippets/snippets_booleanFromRdfResourceValues.js +6 -0
  210. package/dist/generators/ts/_snippets/snippets_convertToLazy.d.ts +3 -0
  211. package/dist/generators/ts/_snippets/snippets_convertToLazy.js +15 -0
  212. package/dist/generators/ts/_snippets/snippets_convertToLazyOption.d.ts +3 -0
  213. package/dist/generators/ts/_snippets/snippets_convertToLazyOption.js +33 -0
  214. package/dist/generators/ts/_snippets/snippets_convertToLazySet.d.ts +3 -0
  215. package/dist/generators/ts/_snippets/snippets_convertToLazySet.js +27 -0
  216. package/dist/generators/ts/_snippets/snippets_dateFromRdfResourceValues.d.ts +3 -0
  217. package/dist/generators/ts/_snippets/snippets_dateFromRdfResourceValues.js +6 -0
  218. package/dist/generators/ts/_snippets/snippets_dateTimeFromRdfResourceValues.d.ts +3 -0
  219. package/dist/generators/ts/_snippets/snippets_dateTimeFromRdfResourceValues.js +6 -0
  220. package/dist/generators/ts/_snippets/snippets_defaultValueFromRdfResourceValues.d.ts +3 -0
  221. package/dist/generators/ts/_snippets/snippets_defaultValueFromRdfResourceValues.js +10 -0
  222. package/dist/generators/ts/_snippets/snippets_defaultValueSparqlWherePatterns.js +1 -1
  223. package/dist/generators/ts/_snippets/snippets_filterNumeric.js +1 -1
  224. package/dist/generators/ts/_snippets/snippets_filterTerm.js +1 -2
  225. package/dist/generators/ts/_snippets/snippets_floatFromRdfResourceValues.d.ts +3 -0
  226. package/dist/generators/ts/_snippets/snippets_floatFromRdfResourceValues.js +6 -0
  227. package/dist/generators/ts/_snippets/snippets_identifierFromRdfResourceValues.d.ts +3 -0
  228. package/dist/generators/ts/_snippets/snippets_identifierFromRdfResourceValues.js +6 -0
  229. package/dist/generators/ts/_snippets/snippets_intFromRdfResourceValues.d.ts +3 -0
  230. package/dist/generators/ts/_snippets/snippets_intFromRdfResourceValues.js +6 -0
  231. package/dist/generators/ts/_snippets/snippets_iriFromRdfResourceValues.d.ts +3 -0
  232. package/dist/generators/ts/_snippets/snippets_iriFromRdfResourceValues.js +6 -0
  233. package/dist/generators/ts/_snippets/snippets_listFromRdfResourceValues.d.ts +3 -0
  234. package/dist/generators/ts/_snippets/snippets_listFromRdfResourceValues.js +15 -0
  235. package/dist/generators/ts/_snippets/snippets_literalFromRdfResourceValues.d.ts +3 -0
  236. package/dist/generators/ts/_snippets/snippets_literalFromRdfResourceValues.js +6 -0
  237. package/dist/generators/ts/_snippets/snippets_maybeFromRdfResourceValues.d.ts +3 -0
  238. package/dist/generators/ts/_snippets/snippets_maybeFromRdfResourceValues.js +11 -0
  239. package/dist/generators/ts/_snippets/snippets_mutableListFromRdfResourceValues.d.ts +3 -0
  240. package/dist/generators/ts/_snippets/snippets_mutableListFromRdfResourceValues.js +8 -0
  241. package/dist/generators/ts/_snippets/snippets_mutableSetFromRdfResourceValues.d.ts +3 -0
  242. package/dist/generators/ts/_snippets/snippets_mutableSetFromRdfResourceValues.js +8 -0
  243. package/dist/generators/ts/_snippets/snippets_numericSparqlWherePatterns.js +1 -1
  244. package/dist/generators/ts/_snippets/snippets_setFromRdfResourceValues.d.ts +3 -0
  245. package/dist/generators/ts/_snippets/snippets_setFromRdfResourceValues.js +9 -0
  246. package/dist/generators/ts/_snippets/snippets_shaclPropertyFromRdf.js +13 -7
  247. package/dist/generators/ts/_snippets/snippets_stringFromRdfResourceValues.d.ts +3 -0
  248. package/dist/generators/ts/_snippets/snippets_stringFromRdfResourceValues.js +6 -0
  249. package/dist/generators/ts/_snippets/snippets_termFilterSparqlPatterns.js +1 -1
  250. package/dist/generators/ts/_snippets/snippets_termFromRdfResourceValues.d.ts +3 -0
  251. package/dist/generators/ts/_snippets/snippets_termFromRdfResourceValues.js +17 -0
  252. package/dist/generators/ts/_snippets/snippets_termLikeFromRdfResourceValues.d.ts +3 -0
  253. package/dist/generators/ts/_snippets/snippets_termLikeFromRdfResourceValues.js +60 -0
  254. package/dist/generators/ts/_snippets/snippets_termSparqlWherePatterns.js +2 -2
  255. package/dist/input/generated.d.ts +464 -389
  256. package/dist/input/generated.js +1748 -2294
  257. package/package.json +2 -2
  258. package/dist/_ShapesGraphToAstTransformer/transformPropertyShapeToAstObjectTypeProperty.d.ts +0 -9
  259. package/dist/ast/LazyObjectOptionType.d.ts +0 -6
  260. package/dist/ast/LazyObjectOptionType.js +0 -5
  261. package/dist/ast/LazyObjectSetType.d.ts +0 -6
  262. package/dist/ast/LazyObjectSetType.js +0 -5
  263. package/dist/ast/LazyObjectType.d.ts +0 -5
  264. package/dist/ast/LazyObjectType.js +0 -5
  265. package/dist/ast/ObjectCompoundType.d.ts +0 -12
  266. package/dist/ast/ObjectIntersectionType.d.ts +0 -4
  267. package/dist/ast/ObjectIntersectionType.js +0 -2
  268. package/dist/ast/ObjectUnionType.d.ts +0 -4
  269. package/dist/ast/ObjectUnionType.js +0 -2
  270. package/dist/generators/ts/LazyObjectSetType.d.ts +0 -20
  271. package/dist/generators/ts/LazyObjectType.d.ts +0 -19
  272. package/dist/generators/ts/_ObjectType/ObjectType_createFunctionDeclaration.d.ts +0 -5
  273. package/dist/generators/ts/_ObjectType/ObjectType_createFunctionDeclaration.js +0 -44
  274. package/dist/generators/ts/_ObjectType/ObjectType_equalsFunctionDeclaration.d.ts +0 -5
  275. package/dist/generators/ts/_ObjectType/ObjectType_filterFunctionDeclaration.d.ts +0 -5
  276. package/dist/generators/ts/_ObjectType/ObjectType_filterFunctionDeclaration.js +0 -21
  277. package/dist/generators/ts/_ObjectType/ObjectType_filterTypeDeclaration.d.ts +0 -5
  278. package/dist/generators/ts/_ObjectType/ObjectType_fromJsonFunctionDeclaration.d.ts +0 -5
  279. package/dist/generators/ts/_ObjectType/ObjectType_fromJsonFunctionDeclaration.js +0 -18
  280. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfResourceFunctionDeclaration.d.ts +0 -5
  281. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfResourceValuesFunctionDeclaration.d.ts +0 -5
  282. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfResourceValuesFunctionDeclaration.js +0 -15
  283. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfTypeVariableStatement.d.ts +0 -5
  284. package/dist/generators/ts/_ObjectType/ObjectType_fromRdfTypeVariableStatement.js +0 -10
  285. package/dist/generators/ts/_ObjectType/ObjectType_graphqlTypeVariableStatement.d.ts +0 -5
  286. package/dist/generators/ts/_ObjectType/ObjectType_hashFunctionDeclarations.d.ts +0 -4
  287. package/dist/generators/ts/_ObjectType/ObjectType_hashFunctionDeclarations.js +0 -41
  288. package/dist/generators/ts/_ObjectType/ObjectType_interfaceDeclaration.d.ts +0 -4
  289. package/dist/generators/ts/_ObjectType/ObjectType_interfaceDeclaration.js +0 -12
  290. package/dist/generators/ts/_ObjectType/ObjectType_jsonSchemaFunctionDeclaration.d.ts +0 -5
  291. package/dist/generators/ts/_ObjectType/ObjectType_jsonTypeAliasDeclaration.d.ts +0 -5
  292. package/dist/generators/ts/_ObjectType/ObjectType_jsonTypeAliasDeclaration.js +0 -9
  293. package/dist/generators/ts/_ObjectType/ObjectType_jsonUiSchemaFunctionDeclaration.d.ts +0 -5
  294. package/dist/generators/ts/_ObjectType/ObjectType_jsonUiSchemaFunctionDeclaration.js +0 -15
  295. package/dist/generators/ts/_ObjectType/ObjectType_schemaVariableStatement.d.ts +0 -5
  296. package/dist/generators/ts/_ObjectType/ObjectType_schemaVariableStatement.js +0 -12
  297. package/dist/generators/ts/_ObjectType/ObjectType_toJsonFunctionDeclaration.d.ts +0 -5
  298. package/dist/generators/ts/_ObjectType/ObjectType_toJsonFunctionDeclaration.js +0 -20
  299. package/dist/generators/ts/_ObjectType/ObjectType_toRdfResourceFunctionDeclaration.d.ts +0 -5
  300. package/dist/generators/ts/_ObjectType/ObjectType_toStringFunctionDeclarations.d.ts +0 -4
  301. package/dist/generators/ts/_ObjectType/ObjectType_toStringFunctionDeclarations.js +0 -29
  302. package/dist/generators/ts/_ObjectType/ObjectType_valueSparqlConstructTriplesFunctionDeclaration.js +0 -11
  303. package/dist/generators/ts/_ObjectType/ObjectType_valueSparqlWherePatternsFunctionDeclaration.js +0 -13
  304. package/dist/generators/ts/_ObjectType/identifierTypeDeclarations.d.ts +0 -4
  305. package/dist/generators/ts/_snippets/snippets_LazyObject.d.ts +0 -3
  306. package/dist/generators/ts/_snippets/snippets_LazyObject.js +0 -22
  307. package/dist/generators/ts/_snippets/snippets_LazyObjectOption.d.ts +0 -3
  308. package/dist/generators/ts/_snippets/snippets_LazyObjectOption.js +0 -25
  309. package/dist/generators/ts/_snippets/snippets_LazyObjectSet.d.ts +0 -3
  310. package/dist/generators/ts/_snippets/snippets_LazyObjectSet.js +0 -40
  311. package/dist/generators/ts/_snippets/snippets_convertToLazyObject.d.ts +0 -3
  312. package/dist/generators/ts/_snippets/snippets_convertToLazyObject.js +0 -15
  313. package/dist/generators/ts/_snippets/snippets_convertToLazyObjectOption.d.ts +0 -3
  314. package/dist/generators/ts/_snippets/snippets_convertToLazyObjectOption.js +0 -31
  315. package/dist/generators/ts/_snippets/snippets_convertToLazyObjectSet.d.ts +0 -3
  316. package/dist/generators/ts/_snippets/snippets_convertToLazyObjectSet.js +0 -25
  317. package/dist/generators/ts/_snippets/snippets_fromRdfLanguageIn.d.ts +0 -3
  318. package/dist/generators/ts/_snippets/snippets_fromRdfLanguageIn.js +0 -15
  319. package/dist/generators/ts/_snippets/snippets_fromRdfPreferredLanguages.d.ts +0 -3
  320. package/dist/generators/ts/_snippets/snippets_fromRdfPreferredLanguages.js +0 -23
@@ -14,10 +14,14 @@ import { snippets_BlankNodeFilter } from "./_snippets/snippets_BlankNodeFilter.j
14
14
  import { snippets_BlankNodeSchema } from "./_snippets/snippets_BlankNodeSchema.js";
15
15
  import { snippets_BooleanFilter } from "./_snippets/snippets_BooleanFilter.js";
16
16
  import { snippets_BooleanSchema } from "./_snippets/snippets_BooleanSchema.js";
17
+ import { snippets_bigDecimalFromRdfResourceValues } from "./_snippets/snippets_bigDecimalFromRdfResourceValues.js";
17
18
  import { snippets_bigDecimalLiteral } from "./_snippets/snippets_bigDecimalLiteral.js";
18
19
  import { snippets_bigDecimalSparqlWherePatterns } from "./_snippets/snippets_bigDecimalSparqlWherePatterns.js";
20
+ import { snippets_bigIntFromRdfResourceValues } from "./_snippets/snippets_bigIntFromRdfResourceValues.js";
21
+ import { snippets_blankNodeFromRdfResourceValues } from "./_snippets/snippets_blankNodeFromRdfResourceValues.js";
19
22
  import { snippets_blankNodeSparqlWherePatterns } from "./_snippets/snippets_blankNodeSparqlWherePatterns.js";
20
23
  import { snippets_booleanEquals } from "./_snippets/snippets_booleanEquals.js";
24
+ import { snippets_booleanFromRdfResourceValues } from "./_snippets/snippets_booleanFromRdfResourceValues.js";
21
25
  import { snippets_booleanSparqlWherePatterns } from "./_snippets/snippets_booleanSparqlWherePatterns.js";
22
26
  import { snippets_CollectionFilter } from "./_snippets/snippets_CollectionFilter.js";
23
27
  import { snippets_CollectionSchema } from "./_snippets/snippets_CollectionSchema.js";
@@ -30,9 +34,9 @@ import { snippets_convertToIdentifier } from "./_snippets/snippets_convertToIden
30
34
  import { snippets_convertToIdentifierProperty } from "./_snippets/snippets_convertToIdentifierProperty.js";
31
35
  import { snippets_convertToIri } from "./_snippets/snippets_convertToIri.js";
32
36
  import { snippets_convertToIriIdentifierProperty } from "./_snippets/snippets_convertToIriIdentifierProperty.js";
33
- import { snippets_convertToLazyObject } from "./_snippets/snippets_convertToLazyObject.js";
34
- import { snippets_convertToLazyObjectOption } from "./_snippets/snippets_convertToLazyObjectOption.js";
35
- import { snippets_convertToLazyObjectSet } from "./_snippets/snippets_convertToLazyObjectSet.js";
37
+ import { snippets_convertToLazy } from "./_snippets/snippets_convertToLazy.js";
38
+ import { snippets_convertToLazyOption } from "./_snippets/snippets_convertToLazyOption.js";
39
+ import { snippets_convertToLazySet } from "./_snippets/snippets_convertToLazySet.js";
36
40
  import { snippets_convertToList } from "./_snippets/snippets_convertToList.js";
37
41
  import { snippets_convertToLiteral } from "./_snippets/snippets_convertToLiteral.js";
38
42
  import { snippets_convertToMaybe } from "./_snippets/snippets_convertToMaybe.js";
@@ -42,9 +46,12 @@ import { snippets_DateFilter } from "./_snippets/snippets_DateFilter.js";
42
46
  import { snippets_DateSchema } from "./_snippets/snippets_DateSchema.js";
43
47
  import { snippets_DefaultValueSchema } from "./_snippets/snippets_DefaultValueSchema.js";
44
48
  import { snippets_dateEquals } from "./_snippets/snippets_dateEquals.js";
49
+ import { snippets_dateFromRdfResourceValues } from "./_snippets/snippets_dateFromRdfResourceValues.js";
45
50
  import { snippets_dateSparqlWherePatterns } from "./_snippets/snippets_dateSparqlWherePatterns.js";
51
+ import { snippets_dateTimeFromRdfResourceValues } from "./_snippets/snippets_dateTimeFromRdfResourceValues.js";
46
52
  import { snippets_decodeBigDecimalLiteral } from "./_snippets/snippets_decodeBigDecimalLiteral.js";
47
53
  import { snippets_deduplicateSparqlPatterns } from "./_snippets/snippets_deduplicateSparqlPatterns.js";
54
+ import { snippets_defaultValueFromRdfResourceValues } from "./_snippets/snippets_defaultValueFromRdfResourceValues.js";
48
55
  import { snippets_defaultValueSparqlWherePatterns } from "./_snippets/snippets_defaultValueSparqlWherePatterns.js";
49
56
  import { snippets_EqualsResult } from "./_snippets/snippets_EqualsResult.js";
50
57
  import { snippets_ensureRdfResourceType } from "./_snippets/snippets_ensureRdfResourceType.js";
@@ -64,8 +71,7 @@ import { snippets_filterMaybe } from "./_snippets/snippets_filterMaybe.js";
64
71
  import { snippets_filterNumeric } from "./_snippets/snippets_filterNumeric.js";
65
72
  import { snippets_filterString } from "./_snippets/snippets_filterString.js";
66
73
  import { snippets_filterTerm } from "./_snippets/snippets_filterTerm.js";
67
- import { snippets_fromRdfLanguageIn } from "./_snippets/snippets_fromRdfLanguageIn.js";
68
- import { snippets_fromRdfPreferredLanguages } from "./_snippets/snippets_fromRdfPreferredLanguages.js";
74
+ import { snippets_floatFromRdfResourceValues } from "./_snippets/snippets_floatFromRdfResourceValues.js";
69
75
  import { snippets_Hasher } from "./_snippets/snippets_Hasher.js";
70
76
  import { snippets_HashFunction } from "./_snippets/snippets_HashFunction.js";
71
77
  import { snippets_hashArray } from "./_snippets/snippets_hashArray.js";
@@ -82,27 +88,35 @@ import { snippets_IdentifierSchema } from "./_snippets/snippets_IdentifierSchema
82
88
  import { snippets_IdentifierSet } from "./_snippets/snippets_IdentifierSet.js";
83
89
  import { snippets_IriFilter } from "./_snippets/snippets_IriFilter.js";
84
90
  import { snippets_IriSchema } from "./_snippets/snippets_IriSchema.js";
91
+ import { snippets_identifierFromRdfResourceValues } from "./_snippets/snippets_identifierFromRdfResourceValues.js";
85
92
  import { snippets_identifierSparqlWherePatterns } from "./_snippets/snippets_identifierSparqlWherePatterns.js";
86
93
  import { snippets_identityConversionFunction } from "./_snippets/snippets_identityConversionFunction.js";
87
94
  import { snippets_identityValidationFunction } from "./_snippets/snippets_identityValidationFunction.js";
95
+ import { snippets_intFromRdfResourceValues } from "./_snippets/snippets_intFromRdfResourceValues.js";
96
+ import { snippets_iriFromRdfResourceValues } from "./_snippets/snippets_iriFromRdfResourceValues.js";
88
97
  import { snippets_iriSparqlWherePatterns } from "./_snippets/snippets_iriSparqlWherePatterns.js";
89
- import { snippets_LazyObject } from "./_snippets/snippets_LazyObject.js";
90
- import { snippets_LazyObjectOption } from "./_snippets/snippets_LazyObjectOption.js";
91
- import { snippets_LazyObjectSet } from "./_snippets/snippets_LazyObjectSet.js";
98
+ import { snippets_Lazy } from "./_snippets/snippets_Lazy.js";
99
+ import { snippets_LazyOption } from "./_snippets/snippets_LazyOption.js";
100
+ import { snippets_LazySet } from "./_snippets/snippets_LazySet.js";
92
101
  import { snippets_LiteralFilter } from "./_snippets/snippets_LiteralFilter.js";
93
102
  import { snippets_LiteralSchema } from "./_snippets/snippets_LiteralSchema.js";
94
103
  import { snippets_liftSparqlPatterns } from "./_snippets/snippets_liftSparqlPatterns.js";
104
+ import { snippets_listFromRdfResourceValues } from "./_snippets/snippets_listFromRdfResourceValues.js";
95
105
  import { snippets_listSparqlConstructTriples } from "./_snippets/snippets_listSparqlConstructTriples.js";
96
106
  import { snippets_listSparqlWherePatterns } from "./_snippets/snippets_listSparqlWherePatterns.js";
97
107
  import { snippets_literalFactory } from "./_snippets/snippets_literalFactory.js";
108
+ import { snippets_literalFromRdfResourceValues } from "./_snippets/snippets_literalFromRdfResourceValues.js";
98
109
  import { snippets_literalSchemaSparqlPatterns } from "./_snippets/snippets_literalSchemaSparqlPatterns.js";
99
110
  import { snippets_literalSparqlWherePatterns } from "./_snippets/snippets_literalSparqlWherePatterns.js";
100
111
  import { snippets_MaybeFilter } from "./_snippets/snippets_MaybeFilter.js";
101
112
  import { snippets_MaybeSchema } from "./_snippets/snippets_MaybeSchema.js";
102
113
  import { snippets_maybeEquals } from "./_snippets/snippets_maybeEquals.js";
114
+ import { snippets_maybeFromRdfResourceValues } from "./_snippets/snippets_maybeFromRdfResourceValues.js";
103
115
  import { snippets_maybeSparqlConstructTriples } from "./_snippets/snippets_maybeSparqlConstructTriples.js";
104
116
  import { snippets_maybeSparqlWherePatterns } from "./_snippets/snippets_maybeSparqlWherePatterns.js";
105
117
  import { snippets_monkeyPatchObject } from "./_snippets/snippets_monkeyPatchObject.js";
118
+ import { snippets_mutableListFromRdfResourceValues } from "./_snippets/snippets_mutableListFromRdfResourceValues.js";
119
+ import { snippets_mutableSetFromRdfResourceValues } from "./_snippets/snippets_mutableSetFromRdfResourceValues.js";
106
120
  import { snippets_NumericFilter } from "./_snippets/snippets_NumericFilter.js";
107
121
  import { snippets_NumericSchema } from "./_snippets/snippets_NumericSchema.js";
108
122
  import { snippets_normalizeSparqlWherePatterns } from "./_snippets/snippets_normalizeSparqlWherePatterns.js";
@@ -119,6 +133,7 @@ import { snippets_SparqlPattern_isSolutionGenerating } from "./_snippets/snippet
119
133
  import { snippets_StringFilter } from "./_snippets/snippets_StringFilter.js";
120
134
  import { snippets_StringSchema } from "./_snippets/snippets_StringSchema.js";
121
135
  import { snippets_sequenceRecord } from "./_snippets/snippets_sequenceRecord.js";
136
+ import { snippets_setFromRdfResourceValues } from "./_snippets/snippets_setFromRdfResourceValues.js";
122
137
  import { snippets_setSparqlConstructTriples } from "./_snippets/snippets_setSparqlConstructTriples.js";
123
138
  import { snippets_setSparqlWherePatterns } from "./_snippets/snippets_setSparqlWherePatterns.js";
124
139
  import { snippets_shaclPropertyFromRdf } from "./_snippets/snippets_shaclPropertyFromRdf.js";
@@ -129,12 +144,15 @@ import { snippets_sparqlInstancesOfPattern } from "./_snippets/snippets_sparqlIn
129
144
  import { snippets_sparqlPropertyPath } from "./_snippets/snippets_sparqlPropertyPath.js";
130
145
  import { snippets_sparqlValueInPattern } from "./_snippets/snippets_sparqlValueInPattern.js";
131
146
  import { snippets_strictEquals } from "./_snippets/snippets_strictEquals.js";
147
+ import { snippets_stringFromRdfResourceValues } from "./_snippets/snippets_stringFromRdfResourceValues.js";
132
148
  import { snippets_stringSparqlWherePatterns } from "./_snippets/snippets_stringSparqlWherePatterns.js";
133
149
  import { snippets_TermFilter } from "./_snippets/snippets_TermFilter.js";
134
150
  import { snippets_TermSchema } from "./_snippets/snippets_TermSchema.js";
135
151
  import { snippets_ToRdfResourceFunction } from "./_snippets/snippets_ToRdfResourceFunction.js";
136
152
  import { snippets_ToRdfResourceValuesFunction } from "./_snippets/snippets_ToRdfResourceValuesFunction.js";
137
153
  import { snippets_termFilterSparqlPatterns } from "./_snippets/snippets_termFilterSparqlPatterns.js";
154
+ import { snippets_termFromRdfResourceValues } from "./_snippets/snippets_termFromRdfResourceValues.js";
155
+ import { snippets_termLikeFromRdfResourceValues } from "./_snippets/snippets_termLikeFromRdfResourceValues.js";
138
156
  import { snippets_termSchemaSparqlPatterns } from "./_snippets/snippets_termSchemaSparqlPatterns.js";
139
157
  import { snippets_termSparqlWherePatterns } from "./_snippets/snippets_termSparqlWherePatterns.js";
140
158
  import { snippets_toIsoDateString } from "./_snippets/snippets_toIsoDateString.js";
@@ -223,14 +241,14 @@ export class Snippets {
223
241
  get IriSchema() {
224
242
  return this.snippet(snippets_IriSchema);
225
243
  }
226
- get LazyObject() {
227
- return this.snippet(snippets_LazyObject);
244
+ get Lazy() {
245
+ return this.snippet(snippets_Lazy);
228
246
  }
229
- get LazyObjectOption() {
230
- return this.snippet(snippets_LazyObjectOption);
247
+ get LazyOption() {
248
+ return this.snippet(snippets_LazyOption);
231
249
  }
232
- get LazyObjectSet() {
233
- return this.snippet(snippets_LazyObjectSet);
250
+ get LazySet() {
251
+ return this.snippet(snippets_LazySet);
234
252
  }
235
253
  get LiteralFilter() {
236
254
  return this.snippet(snippets_LiteralFilter);
@@ -310,18 +328,30 @@ export class Snippets {
310
328
  get arrayIntersection() {
311
329
  return this.snippet(snippets_arrayIntersection);
312
330
  }
331
+ get bigDecimalFromRdfResourceValues() {
332
+ return this.snippet(snippets_bigDecimalFromRdfResourceValues);
333
+ }
313
334
  get bigDecimalLiteral() {
314
335
  return this.snippet(snippets_bigDecimalLiteral);
315
336
  }
316
337
  get bigDecimalSparqlWherePatterns() {
317
338
  return this.snippet(snippets_bigDecimalSparqlWherePatterns);
318
339
  }
340
+ get bigIntFromRdfResourceValues() {
341
+ return this.snippet(snippets_bigIntFromRdfResourceValues);
342
+ }
343
+ get blankNodeFromRdfResourceValues() {
344
+ return this.snippet(snippets_blankNodeFromRdfResourceValues);
345
+ }
319
346
  get blankNodeSparqlWherePatterns() {
320
347
  return this.snippet(snippets_blankNodeSparqlWherePatterns);
321
348
  }
322
349
  get booleanEquals() {
323
350
  return this.snippet(snippets_booleanEquals);
324
351
  }
352
+ get booleanFromRdfResourceValues() {
353
+ return this.snippet(snippets_booleanFromRdfResourceValues);
354
+ }
325
355
  get booleanSparqlWherePatterns() {
326
356
  return this.snippet(snippets_booleanSparqlWherePatterns);
327
357
  }
@@ -349,14 +379,14 @@ export class Snippets {
349
379
  get convertToIriIdentifierProperty() {
350
380
  return this.snippet(snippets_convertToIriIdentifierProperty);
351
381
  }
352
- get convertToLazyObject() {
353
- return this.snippet(snippets_convertToLazyObject);
382
+ get convertToLazy() {
383
+ return this.snippet(snippets_convertToLazy);
354
384
  }
355
- get convertToLazyObjectOption() {
356
- return this.snippet(snippets_convertToLazyObjectOption);
385
+ get convertToLazyOption() {
386
+ return this.snippet(snippets_convertToLazyOption);
357
387
  }
358
- get convertToLazyObjectSet() {
359
- return this.snippet(snippets_convertToLazyObjectSet);
388
+ get convertToLazySet() {
389
+ return this.snippet(snippets_convertToLazySet);
360
390
  }
361
391
  get convertToList() {
362
392
  return this.snippet(snippets_convertToList);
@@ -376,15 +406,24 @@ export class Snippets {
376
406
  get dateEquals() {
377
407
  return this.snippet(snippets_dateEquals);
378
408
  }
409
+ get dateFromRdfResourceValues() {
410
+ return this.snippet(snippets_dateFromRdfResourceValues);
411
+ }
379
412
  get dateSparqlWherePatterns() {
380
413
  return this.snippet(snippets_dateSparqlWherePatterns);
381
414
  }
415
+ get dateTimeFromRdfResourceValues() {
416
+ return this.snippet(snippets_dateTimeFromRdfResourceValues);
417
+ }
382
418
  get decodeBigDecimalLiteral() {
383
419
  return this.snippet(snippets_decodeBigDecimalLiteral);
384
420
  }
385
421
  get deduplicateSparqlPatterns() {
386
422
  return this.snippet(snippets_deduplicateSparqlPatterns);
387
423
  }
424
+ get defaultValueFromRdfResourceValues() {
425
+ return this.snippet(snippets_defaultValueFromRdfResourceValues);
426
+ }
388
427
  get defaultValueSparqlWherePatterns() {
389
428
  return this.snippet(snippets_defaultValueSparqlWherePatterns);
390
429
  }
@@ -427,11 +466,8 @@ export class Snippets {
427
466
  get filterTerm() {
428
467
  return this.snippet(snippets_filterTerm);
429
468
  }
430
- get fromRdfLanguageIn() {
431
- return this.snippet(snippets_fromRdfLanguageIn);
432
- }
433
- get fromRdfPreferredLanguages() {
434
- return this.snippet(snippets_fromRdfPreferredLanguages);
469
+ get floatFromRdfResourceValues() {
470
+ return this.snippet(snippets_floatFromRdfResourceValues);
435
471
  }
436
472
  get hashArray() {
437
473
  return this.snippet(snippets_hashArray);
@@ -460,6 +496,9 @@ export class Snippets {
460
496
  get hashTerm() {
461
497
  return this.snippet(snippets_hashTerm);
462
498
  }
499
+ get identifierFromRdfResourceValues() {
500
+ return this.snippet(snippets_identifierFromRdfResourceValues);
501
+ }
463
502
  get identifierSparqlWherePatterns() {
464
503
  return this.snippet(snippets_identifierSparqlWherePatterns);
465
504
  }
@@ -488,12 +527,21 @@ export class Snippets {
488
527
  .sort((left, right) => left.usageSiteName.localeCompare(right.usageSiteName))
489
528
  .map((snippet) => code `${snippet.ifUsed}`);
490
529
  }
530
+ get intFromRdfResourceValues() {
531
+ return this.snippet(snippets_intFromRdfResourceValues);
532
+ }
533
+ get iriFromRdfResourceValues() {
534
+ return this.snippet(snippets_iriFromRdfResourceValues);
535
+ }
491
536
  get iriSparqlWherePatterns() {
492
537
  return this.snippet(snippets_iriSparqlWherePatterns);
493
538
  }
494
539
  get liftSparqlPatterns() {
495
540
  return this.snippet(snippets_liftSparqlPatterns);
496
541
  }
542
+ get listFromRdfResourceValues() {
543
+ return this.snippet(snippets_listFromRdfResourceValues);
544
+ }
497
545
  get listSparqlConstructTriples() {
498
546
  return this.snippet(snippets_listSparqlConstructTriples);
499
547
  }
@@ -503,6 +551,9 @@ export class Snippets {
503
551
  get literalFactory() {
504
552
  return this.snippet(snippets_literalFactory);
505
553
  }
554
+ get literalFromRdfResourceValues() {
555
+ return this.snippet(snippets_literalFromRdfResourceValues);
556
+ }
506
557
  get literalSchemaSparqlPatterns() {
507
558
  return this.snippet(snippets_literalSchemaSparqlPatterns);
508
559
  }
@@ -512,6 +563,9 @@ export class Snippets {
512
563
  get maybeEquals() {
513
564
  return this.snippet(snippets_maybeEquals);
514
565
  }
566
+ get maybeFromRdfResourceValues() {
567
+ return this.snippet(snippets_maybeFromRdfResourceValues);
568
+ }
515
569
  get maybeSparqlConstructTriples() {
516
570
  return this.snippet(snippets_maybeSparqlConstructTriples);
517
571
  }
@@ -521,6 +575,12 @@ export class Snippets {
521
575
  get monkeyPatchObject() {
522
576
  return this.snippet(snippets_monkeyPatchObject);
523
577
  }
578
+ get mutableListFromRdfResourceValues() {
579
+ return this.snippet(snippets_mutableListFromRdfResourceValues);
580
+ }
581
+ get mutableSetFromRdfResourceValues() {
582
+ return this.snippet(snippets_mutableSetFromRdfResourceValues);
583
+ }
524
584
  get normalizeSparqlWherePatterns() {
525
585
  return this.snippet(snippets_normalizeSparqlWherePatterns);
526
586
  }
@@ -539,6 +599,9 @@ export class Snippets {
539
599
  get sequenceRecord() {
540
600
  return this.snippet(snippets_sequenceRecord);
541
601
  }
602
+ get setFromRdfResourceValues() {
603
+ return this.snippet(snippets_setFromRdfResourceValues);
604
+ }
542
605
  get setSparqlConstructTriples() {
543
606
  return this.snippet(snippets_setSparqlConstructTriples);
544
607
  }
@@ -569,12 +632,21 @@ export class Snippets {
569
632
  get strictEquals() {
570
633
  return this.snippet(snippets_strictEquals);
571
634
  }
635
+ get stringFromRdfResourceValues() {
636
+ return this.snippet(snippets_stringFromRdfResourceValues);
637
+ }
572
638
  get stringSparqlWherePatterns() {
573
639
  return this.snippet(snippets_stringSparqlWherePatterns);
574
640
  }
575
641
  get termFilterSparqlPatterns() {
576
642
  return this.snippet(snippets_termFilterSparqlPatterns);
577
643
  }
644
+ get termFromRdfResourceValues() {
645
+ return this.snippet(snippets_termFromRdfResourceValues);
646
+ }
647
+ get termLikeFromRdfResourceValues() {
648
+ return this.snippet(snippets_termLikeFromRdfResourceValues);
649
+ }
578
650
  get termSchemaSparqlPatterns() {
579
651
  return this.snippet(snippets_termSchemaSparqlPatterns);
580
652
  }
@@ -682,13 +754,13 @@ __decorate([
682
754
  ], Snippets.prototype, "IriSchema", null);
683
755
  __decorate([
684
756
  Memoize()
685
- ], Snippets.prototype, "LazyObject", null);
757
+ ], Snippets.prototype, "Lazy", null);
686
758
  __decorate([
687
759
  Memoize()
688
- ], Snippets.prototype, "LazyObjectOption", null);
760
+ ], Snippets.prototype, "LazyOption", null);
689
761
  __decorate([
690
762
  Memoize()
691
- ], Snippets.prototype, "LazyObjectSet", null);
763
+ ], Snippets.prototype, "LazySet", null);
692
764
  __decorate([
693
765
  Memoize()
694
766
  ], Snippets.prototype, "LiteralFilter", null);
@@ -767,18 +839,30 @@ __decorate([
767
839
  __decorate([
768
840
  Memoize()
769
841
  ], Snippets.prototype, "arrayIntersection", null);
842
+ __decorate([
843
+ Memoize()
844
+ ], Snippets.prototype, "bigDecimalFromRdfResourceValues", null);
770
845
  __decorate([
771
846
  Memoize()
772
847
  ], Snippets.prototype, "bigDecimalLiteral", null);
773
848
  __decorate([
774
849
  Memoize()
775
850
  ], Snippets.prototype, "bigDecimalSparqlWherePatterns", null);
851
+ __decorate([
852
+ Memoize()
853
+ ], Snippets.prototype, "bigIntFromRdfResourceValues", null);
854
+ __decorate([
855
+ Memoize()
856
+ ], Snippets.prototype, "blankNodeFromRdfResourceValues", null);
776
857
  __decorate([
777
858
  Memoize()
778
859
  ], Snippets.prototype, "blankNodeSparqlWherePatterns", null);
779
860
  __decorate([
780
861
  Memoize()
781
862
  ], Snippets.prototype, "booleanEquals", null);
863
+ __decorate([
864
+ Memoize()
865
+ ], Snippets.prototype, "booleanFromRdfResourceValues", null);
782
866
  __decorate([
783
867
  Memoize()
784
868
  ], Snippets.prototype, "booleanSparqlWherePatterns", null);
@@ -808,13 +892,13 @@ __decorate([
808
892
  ], Snippets.prototype, "convertToIriIdentifierProperty", null);
809
893
  __decorate([
810
894
  Memoize()
811
- ], Snippets.prototype, "convertToLazyObject", null);
895
+ ], Snippets.prototype, "convertToLazy", null);
812
896
  __decorate([
813
897
  Memoize()
814
- ], Snippets.prototype, "convertToLazyObjectOption", null);
898
+ ], Snippets.prototype, "convertToLazyOption", null);
815
899
  __decorate([
816
900
  Memoize()
817
- ], Snippets.prototype, "convertToLazyObjectSet", null);
901
+ ], Snippets.prototype, "convertToLazySet", null);
818
902
  __decorate([
819
903
  Memoize()
820
904
  ], Snippets.prototype, "convertToList", null);
@@ -833,15 +917,24 @@ __decorate([
833
917
  __decorate([
834
918
  Memoize()
835
919
  ], Snippets.prototype, "dateEquals", null);
920
+ __decorate([
921
+ Memoize()
922
+ ], Snippets.prototype, "dateFromRdfResourceValues", null);
836
923
  __decorate([
837
924
  Memoize()
838
925
  ], Snippets.prototype, "dateSparqlWherePatterns", null);
926
+ __decorate([
927
+ Memoize()
928
+ ], Snippets.prototype, "dateTimeFromRdfResourceValues", null);
839
929
  __decorate([
840
930
  Memoize()
841
931
  ], Snippets.prototype, "decodeBigDecimalLiteral", null);
842
932
  __decorate([
843
933
  Memoize()
844
934
  ], Snippets.prototype, "deduplicateSparqlPatterns", null);
935
+ __decorate([
936
+ Memoize()
937
+ ], Snippets.prototype, "defaultValueFromRdfResourceValues", null);
845
938
  __decorate([
846
939
  Memoize()
847
940
  ], Snippets.prototype, "defaultValueSparqlWherePatterns", null);
@@ -886,10 +979,7 @@ __decorate([
886
979
  ], Snippets.prototype, "filterTerm", null);
887
980
  __decorate([
888
981
  Memoize()
889
- ], Snippets.prototype, "fromRdfLanguageIn", null);
890
- __decorate([
891
- Memoize()
892
- ], Snippets.prototype, "fromRdfPreferredLanguages", null);
982
+ ], Snippets.prototype, "floatFromRdfResourceValues", null);
893
983
  __decorate([
894
984
  Memoize()
895
985
  ], Snippets.prototype, "hashArray", null);
@@ -917,6 +1007,9 @@ __decorate([
917
1007
  __decorate([
918
1008
  Memoize()
919
1009
  ], Snippets.prototype, "hashTerm", null);
1010
+ __decorate([
1011
+ Memoize()
1012
+ ], Snippets.prototype, "identifierFromRdfResourceValues", null);
920
1013
  __decorate([
921
1014
  Memoize()
922
1015
  ], Snippets.prototype, "identifierSparqlWherePatterns", null);
@@ -926,12 +1019,21 @@ __decorate([
926
1019
  __decorate([
927
1020
  Memoize()
928
1021
  ], Snippets.prototype, "identityValidationFunction", null);
1022
+ __decorate([
1023
+ Memoize()
1024
+ ], Snippets.prototype, "intFromRdfResourceValues", null);
1025
+ __decorate([
1026
+ Memoize()
1027
+ ], Snippets.prototype, "iriFromRdfResourceValues", null);
929
1028
  __decorate([
930
1029
  Memoize()
931
1030
  ], Snippets.prototype, "iriSparqlWherePatterns", null);
932
1031
  __decorate([
933
1032
  Memoize()
934
1033
  ], Snippets.prototype, "liftSparqlPatterns", null);
1034
+ __decorate([
1035
+ Memoize()
1036
+ ], Snippets.prototype, "listFromRdfResourceValues", null);
935
1037
  __decorate([
936
1038
  Memoize()
937
1039
  ], Snippets.prototype, "listSparqlConstructTriples", null);
@@ -941,6 +1043,9 @@ __decorate([
941
1043
  __decorate([
942
1044
  Memoize()
943
1045
  ], Snippets.prototype, "literalFactory", null);
1046
+ __decorate([
1047
+ Memoize()
1048
+ ], Snippets.prototype, "literalFromRdfResourceValues", null);
944
1049
  __decorate([
945
1050
  Memoize()
946
1051
  ], Snippets.prototype, "literalSchemaSparqlPatterns", null);
@@ -950,6 +1055,9 @@ __decorate([
950
1055
  __decorate([
951
1056
  Memoize()
952
1057
  ], Snippets.prototype, "maybeEquals", null);
1058
+ __decorate([
1059
+ Memoize()
1060
+ ], Snippets.prototype, "maybeFromRdfResourceValues", null);
953
1061
  __decorate([
954
1062
  Memoize()
955
1063
  ], Snippets.prototype, "maybeSparqlConstructTriples", null);
@@ -959,6 +1067,12 @@ __decorate([
959
1067
  __decorate([
960
1068
  Memoize()
961
1069
  ], Snippets.prototype, "monkeyPatchObject", null);
1070
+ __decorate([
1071
+ Memoize()
1072
+ ], Snippets.prototype, "mutableListFromRdfResourceValues", null);
1073
+ __decorate([
1074
+ Memoize()
1075
+ ], Snippets.prototype, "mutableSetFromRdfResourceValues", null);
962
1076
  __decorate([
963
1077
  Memoize()
964
1078
  ], Snippets.prototype, "normalizeSparqlWherePatterns", null);
@@ -977,6 +1091,9 @@ __decorate([
977
1091
  __decorate([
978
1092
  Memoize()
979
1093
  ], Snippets.prototype, "sequenceRecord", null);
1094
+ __decorate([
1095
+ Memoize()
1096
+ ], Snippets.prototype, "setFromRdfResourceValues", null);
980
1097
  __decorate([
981
1098
  Memoize()
982
1099
  ], Snippets.prototype, "setSparqlConstructTriples", null);
@@ -1007,12 +1124,21 @@ __decorate([
1007
1124
  __decorate([
1008
1125
  Memoize()
1009
1126
  ], Snippets.prototype, "strictEquals", null);
1127
+ __decorate([
1128
+ Memoize()
1129
+ ], Snippets.prototype, "stringFromRdfResourceValues", null);
1010
1130
  __decorate([
1011
1131
  Memoize()
1012
1132
  ], Snippets.prototype, "stringSparqlWherePatterns", null);
1013
1133
  __decorate([
1014
1134
  Memoize()
1015
1135
  ], Snippets.prototype, "termFilterSparqlPatterns", null);
1136
+ __decorate([
1137
+ Memoize()
1138
+ ], Snippets.prototype, "termFromRdfResourceValues", null);
1139
+ __decorate([
1140
+ Memoize()
1141
+ ], Snippets.prototype, "termLikeFromRdfResourceValues", null);
1016
1142
  __decorate([
1017
1143
  Memoize()
1018
1144
  ], Snippets.prototype, "termSchemaSparqlPatterns", null);
@@ -11,11 +11,12 @@ export declare class StringType extends AbstractPrimitiveType<string> {
11
11
  }];
12
12
  readonly kind = "String";
13
13
  readonly valueSparqlWherePatternsFunction: Code;
14
- get expression(): Code;
14
+ get fromRdfResourceValuesFunction(): Code;
15
15
  get schemaType(): Code;
16
+ protected get inlineExpression(): Code;
17
+ protected get schemaInitializers(): readonly Code[];
16
18
  jsonSchema(_parameters: Parameters<AbstractPrimitiveType<string>["jsonSchema"]>[0]): Code;
17
- literalExpression(literal: Literal | string): Code;
19
+ literalValueExpression(literal: Literal | string): Code;
18
20
  toRdfResourceValuesExpression({ variables, }: Parameters<AbstractPrimitiveType<string>["toRdfResourceValuesExpression"]>[0]): Code;
19
- protected fromRdfResourceValuesExpressionChain({ variables, }: Parameters<AbstractPrimitiveType<string>["fromRdfResourceValuesExpressionChain"]>[0]): ReturnType<AbstractPrimitiveType<string>["fromRdfResourceValuesExpressionChain"]>;
20
21
  }
21
22
  //# sourceMappingURL=StringType.d.ts.map
@@ -20,14 +20,24 @@ export class StringType extends AbstractPrimitiveType {
20
20
  ];
21
21
  kind = "String";
22
22
  valueSparqlWherePatternsFunction = code `${this.reusables.snippets.stringSparqlWherePatterns}`;
23
- get expression() {
23
+ get fromRdfResourceValuesFunction() {
24
+ return code `${this.reusables.snippets.stringFromRdfResourceValues}<${this.expression}>`;
25
+ }
26
+ get schemaType() {
27
+ return code `${this.reusables.snippets.StringSchema}<${this.expression}>`;
28
+ }
29
+ get inlineExpression() {
24
30
  if (this.primitiveIn.length > 0) {
25
31
  return code `${this.primitiveIn.map((value) => `"${value}"`).join(" | ")}`;
26
32
  }
27
33
  return code `string`;
28
34
  }
29
- get schemaType() {
30
- return code `${this.reusables.snippets.StringSchema}<${this.expression}>`;
35
+ get schemaInitializers() {
36
+ let initializers = super.schemaInitializers;
37
+ if (this.languageIn.length > 0) {
38
+ initializers = initializers.concat(code `languageIn: ${arrayOf(...this.languageIn)}`);
39
+ }
40
+ return initializers;
31
41
  }
32
42
  jsonSchema(_parameters) {
33
43
  switch (this.primitiveIn.length) {
@@ -39,23 +49,20 @@ export class StringType extends AbstractPrimitiveType {
39
49
  return code `${this.reusables.imports.z}.enum(${arrayOf(...this.primitiveIn)})`;
40
50
  }
41
51
  }
42
- literalExpression(literal) {
52
+ literalValueExpression(literal) {
43
53
  return code `${literalOf(typeof literal === "string" ? literal : literal.value)}`;
44
54
  }
45
55
  toRdfResourceValuesExpression({ variables, }) {
46
56
  return code `[${this.reusables.snippets.literalFactory}.string(${variables.value}${!this.datatype.equals(xsd.string) ? `, ${this.rdfjsTermExpression(this.datatype)}` : ""})]`;
47
57
  }
48
- fromRdfResourceValuesExpressionChain({ variables, }) {
49
- return {
50
- ...super.fromRdfResourceValuesExpressionChain({ variables }),
51
- valueTo: code `chain(values => values.chainMap(value => value.toString(${this.primitiveIn.length > 0 ? `${JSON.stringify(this.primitiveIn)} as const` : ""})))`,
52
- };
53
- }
54
58
  }
55
59
  __decorate([
56
60
  Memoize()
57
- ], StringType.prototype, "expression", null);
61
+ ], StringType.prototype, "fromRdfResourceValuesFunction", null);
58
62
  __decorate([
59
63
  Memoize()
60
64
  ], StringType.prototype, "schemaType", null);
65
+ __decorate([
66
+ Memoize()
67
+ ], StringType.prototype, "inlineExpression", null);
61
68
  //# sourceMappingURL=StringType.js.map
@@ -6,20 +6,22 @@ import { type Code } from "./ts-poet-wrapper.js";
6
6
  export declare class TermType<ConstantTermT extends Literal | NamedNode = Literal | NamedNode, RuntimeTermT extends BlankNode | Literal | NamedNode = BlankNode | Literal | NamedNode> extends AbstractTermType {
7
7
  readonly conversionFunction: Maybe<AbstractTermType.ConversionFunction>;
8
8
  readonly filterFunction: Code;
9
- readonly filterType: Code;
10
- readonly kind = "Term";
11
- readonly nodeKinds: ReadonlySet<NodeKind>;
12
- readonly schemaType: Code;
13
9
  readonly jsTypes: readonly [{
14
10
  readonly instanceof: "Object";
15
11
  readonly typeof: "object";
16
12
  }];
13
+ readonly kind = "Term";
14
+ readonly nodeKinds: ReadonlySet<NodeKind>;
17
15
  readonly valueSparqlWherePatternsFunction: Code;
18
16
  constructor({ nodeKinds, ...superParameters }: ConstructorParameters<typeof AbstractTermType<ConstantTermT, RuntimeTermT>>[0] & {
19
17
  nodeKinds: ReadonlySet<NodeKind>;
20
18
  });
21
- get expression(): Code;
19
+ get fromRdfResourceValuesFunction(): Code;
20
+ get filterType(): Code;
22
21
  get graphqlType(): AbstractTermType.GraphqlType;
22
+ get schemaType(): Code;
23
+ protected get inlineExpression(): Code;
24
+ protected get schemaInitializers(): Code[];
23
25
  fromJsonExpression({ variables, }: Parameters<AbstractTermType["fromJsonExpression"]>[0]): Code;
24
26
  graphqlResolveExpression(_parameters: Parameters<AbstractTermType["graphqlResolveExpression"]>[0]): Code;
25
27
  jsonSchema(_parameters: Parameters<AbstractTermType["jsonSchema"]>[0]): Code;