liana-authoring 0.0.1

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 (279) hide show
  1. package/dist/globals.d.ts +26 -0
  2. package/dist/globals.js +2 -0
  3. package/dist/implementation/generated/liana/schemas/completion_suggestions/refiners/astn_parse_tree.d.ts +2 -0
  4. package/dist/implementation/generated/liana/schemas/completion_suggestions/refiners/astn_parse_tree.js +66 -0
  5. package/dist/implementation/generated/liana/schemas/completion_suggestions/refiners/list_of_characters.d.ts +2 -0
  6. package/dist/implementation/generated/liana/schemas/completion_suggestions/refiners/list_of_characters.js +44 -0
  7. package/dist/implementation/generated/liana/schemas/completion_suggestions/transformers/astn_sealed_target.d.ts +2 -0
  8. package/dist/implementation/generated/liana/schemas/completion_suggestions/transformers/astn_sealed_target.js +57 -0
  9. package/dist/implementation/generated/liana/schemas/completion_suggestions/transformers/boilerplate_for_migrate.d.ts +2 -0
  10. package/dist/implementation/generated/liana/schemas/completion_suggestions/transformers/boilerplate_for_migrate.js +48 -0
  11. package/dist/implementation/generated/liana/schemas/completion_suggestions/transformers/fountain_pen.d.ts +2 -0
  12. package/dist/implementation/generated/liana/schemas/completion_suggestions/transformers/fountain_pen.js +41 -0
  13. package/dist/implementation/generated/liana/schemas/convert_to_json/refiners/astn_parse_tree.d.ts +2 -0
  14. package/dist/implementation/generated/liana/schemas/convert_to_json/refiners/astn_parse_tree.js +94 -0
  15. package/dist/implementation/generated/liana/schemas/convert_to_json/refiners/list_of_characters.d.ts +2 -0
  16. package/dist/implementation/generated/liana/schemas/convert_to_json/refiners/list_of_characters.js +44 -0
  17. package/dist/implementation/generated/liana/schemas/convert_to_json/transformers/astn_sealed_target.d.ts +2 -0
  18. package/dist/implementation/generated/liana/schemas/convert_to_json/transformers/astn_sealed_target.js +66 -0
  19. package/dist/implementation/generated/liana/schemas/convert_to_json/transformers/boilerplate_for_migrate.d.ts +2 -0
  20. package/dist/implementation/generated/liana/schemas/convert_to_json/transformers/boilerplate_for_migrate.js +19 -0
  21. package/dist/implementation/generated/liana/schemas/convert_to_json/transformers/fountain_pen.d.ts +2 -0
  22. package/dist/implementation/generated/liana/schemas/convert_to_json/transformers/fountain_pen.js +41 -0
  23. package/dist/implementation/generated/liana/schemas/format/refiners/astn_parse_tree.d.ts +4 -0
  24. package/dist/implementation/generated/liana/schemas/format/refiners/astn_parse_tree.js +164 -0
  25. package/dist/implementation/generated/liana/schemas/format/refiners/list_of_characters.d.ts +4 -0
  26. package/dist/implementation/generated/liana/schemas/format/refiners/list_of_characters.js +54 -0
  27. package/dist/implementation/generated/liana/schemas/format/transformers/astn_sealed_target.d.ts +4 -0
  28. package/dist/implementation/generated/liana/schemas/format/transformers/astn_sealed_target.js +112 -0
  29. package/dist/implementation/generated/liana/schemas/format/transformers/boilerplate_for_migrate.d.ts +4 -0
  30. package/dist/implementation/generated/liana/schemas/format/transformers/boilerplate_for_migrate.js +78 -0
  31. package/dist/implementation/generated/liana/schemas/format/transformers/fountain_pen.d.ts +4 -0
  32. package/dist/implementation/generated/liana/schemas/format/transformers/fountain_pen.js +45 -0
  33. package/dist/implementation/generated/liana/schemas/get_completion_suggestions/refiners/astn_parse_tree.d.ts +3 -0
  34. package/dist/implementation/generated/liana/schemas/get_completion_suggestions/refiners/astn_parse_tree.js +103 -0
  35. package/dist/implementation/generated/liana/schemas/get_completion_suggestions/refiners/list_of_characters.d.ts +3 -0
  36. package/dist/implementation/generated/liana/schemas/get_completion_suggestions/refiners/list_of_characters.js +49 -0
  37. package/dist/implementation/generated/liana/schemas/get_completion_suggestions/transformers/astn_sealed_target.d.ts +3 -0
  38. package/dist/implementation/generated/liana/schemas/get_completion_suggestions/transformers/astn_sealed_target.js +69 -0
  39. package/dist/implementation/generated/liana/schemas/get_completion_suggestions/transformers/boilerplate_for_migrate.d.ts +3 -0
  40. package/dist/implementation/generated/liana/schemas/get_completion_suggestions/transformers/boilerplate_for_migrate.js +58 -0
  41. package/dist/implementation/generated/liana/schemas/get_completion_suggestions/transformers/fountain_pen.d.ts +3 -0
  42. package/dist/implementation/generated/liana/schemas/get_completion_suggestions/transformers/fountain_pen.js +43 -0
  43. package/dist/implementation/generated/liana/schemas/get_on_hover_info/refiners/astn_parse_tree.d.ts +3 -0
  44. package/dist/implementation/generated/liana/schemas/get_on_hover_info/refiners/astn_parse_tree.js +110 -0
  45. package/dist/implementation/generated/liana/schemas/get_on_hover_info/refiners/list_of_characters.d.ts +3 -0
  46. package/dist/implementation/generated/liana/schemas/get_on_hover_info/refiners/list_of_characters.js +49 -0
  47. package/dist/implementation/generated/liana/schemas/get_on_hover_info/transformers/astn_sealed_target.d.ts +3 -0
  48. package/dist/implementation/generated/liana/schemas/get_on_hover_info/transformers/astn_sealed_target.js +67 -0
  49. package/dist/implementation/generated/liana/schemas/get_on_hover_info/transformers/boilerplate_for_migrate.d.ts +3 -0
  50. package/dist/implementation/generated/liana/schemas/get_on_hover_info/transformers/boilerplate_for_migrate.js +59 -0
  51. package/dist/implementation/generated/liana/schemas/get_on_hover_info/transformers/fountain_pen.d.ts +3 -0
  52. package/dist/implementation/generated/liana/schemas/get_on_hover_info/transformers/fountain_pen.js +43 -0
  53. package/dist/implementation/generated/liana/schemas/hover_info/refiners/astn_parse_tree.d.ts +2 -0
  54. package/dist/implementation/generated/liana/schemas/hover_info/refiners/astn_parse_tree.js +45 -0
  55. package/dist/implementation/generated/liana/schemas/hover_info/refiners/list_of_characters.d.ts +2 -0
  56. package/dist/implementation/generated/liana/schemas/hover_info/refiners/list_of_characters.js +44 -0
  57. package/dist/implementation/generated/liana/schemas/hover_info/transformers/astn_sealed_target.d.ts +2 -0
  58. package/dist/implementation/generated/liana/schemas/hover_info/transformers/astn_sealed_target.js +43 -0
  59. package/dist/implementation/generated/liana/schemas/hover_info/transformers/boilerplate_for_migrate.d.ts +2 -0
  60. package/dist/implementation/generated/liana/schemas/hover_info/transformers/boilerplate_for_migrate.js +40 -0
  61. package/dist/implementation/generated/liana/schemas/hover_info/transformers/fountain_pen.d.ts +2 -0
  62. package/dist/implementation/generated/liana/schemas/hover_info/transformers/fountain_pen.js +41 -0
  63. package/dist/implementation/generated/liana/schemas/location/refiners/astn_parse_tree.d.ts +3 -0
  64. package/dist/implementation/generated/liana/schemas/location/refiners/astn_parse_tree.js +83 -0
  65. package/dist/implementation/generated/liana/schemas/location/refiners/list_of_characters.d.ts +3 -0
  66. package/dist/implementation/generated/liana/schemas/location/refiners/list_of_characters.js +49 -0
  67. package/dist/implementation/generated/liana/schemas/location/transformers/astn_sealed_target.d.ts +3 -0
  68. package/dist/implementation/generated/liana/schemas/location/transformers/astn_sealed_target.js +59 -0
  69. package/dist/implementation/generated/liana/schemas/location/transformers/boilerplate_for_migrate.d.ts +3 -0
  70. package/dist/implementation/generated/liana/schemas/location/transformers/boilerplate_for_migrate.js +18 -0
  71. package/dist/implementation/generated/liana/schemas/location/transformers/fountain_pen.d.ts +3 -0
  72. package/dist/implementation/generated/liana/schemas/location/transformers/fountain_pen.js +43 -0
  73. package/dist/implementation/generated/liana/schemas/path/refiners/astn_parse_tree.d.ts +7 -0
  74. package/dist/implementation/generated/liana/schemas/path/refiners/astn_parse_tree.js +151 -0
  75. package/dist/implementation/generated/liana/schemas/path/refiners/list_of_characters.d.ts +7 -0
  76. package/dist/implementation/generated/liana/schemas/path/refiners/list_of_characters.js +69 -0
  77. package/dist/implementation/generated/liana/schemas/path/transformers/astn_sealed_target.d.ts +7 -0
  78. package/dist/implementation/generated/liana/schemas/path/transformers/astn_sealed_target.js +125 -0
  79. package/dist/implementation/generated/liana/schemas/path/transformers/boilerplate_for_migrate.d.ts +7 -0
  80. package/dist/implementation/generated/liana/schemas/path/transformers/boilerplate_for_migrate.js +88 -0
  81. package/dist/implementation/generated/liana/schemas/path/transformers/fountain_pen.d.ts +7 -0
  82. package/dist/implementation/generated/liana/schemas/path/transformers/fountain_pen.js +51 -0
  83. package/dist/implementation/generated/liana/schemas/seal/refiners/astn_parse_tree.d.ts +3 -0
  84. package/dist/implementation/generated/liana/schemas/seal/refiners/astn_parse_tree.js +101 -0
  85. package/dist/implementation/generated/liana/schemas/seal/refiners/list_of_characters.d.ts +3 -0
  86. package/dist/implementation/generated/liana/schemas/seal/refiners/list_of_characters.js +49 -0
  87. package/dist/implementation/generated/liana/schemas/seal/transformers/astn_sealed_target.d.ts +3 -0
  88. package/dist/implementation/generated/liana/schemas/seal/transformers/astn_sealed_target.js +73 -0
  89. package/dist/implementation/generated/liana/schemas/seal/transformers/boilerplate_for_migrate.d.ts +3 -0
  90. package/dist/implementation/generated/liana/schemas/seal/transformers/boilerplate_for_migrate.js +56 -0
  91. package/dist/implementation/generated/liana/schemas/seal/transformers/fountain_pen.d.ts +3 -0
  92. package/dist/implementation/generated/liana/schemas/seal/transformers/fountain_pen.js +43 -0
  93. package/dist/implementation/generated/liana/schemas/sort_alphabetically/refiners/astn_parse_tree.d.ts +2 -0
  94. package/dist/implementation/generated/liana/schemas/sort_alphabetically/refiners/astn_parse_tree.js +59 -0
  95. package/dist/implementation/generated/liana/schemas/sort_alphabetically/refiners/list_of_characters.d.ts +2 -0
  96. package/dist/implementation/generated/liana/schemas/sort_alphabetically/refiners/list_of_characters.js +44 -0
  97. package/dist/implementation/generated/liana/schemas/sort_alphabetically/transformers/astn_sealed_target.d.ts +2 -0
  98. package/dist/implementation/generated/liana/schemas/sort_alphabetically/transformers/astn_sealed_target.js +47 -0
  99. package/dist/implementation/generated/liana/schemas/sort_alphabetically/transformers/boilerplate_for_migrate.d.ts +2 -0
  100. package/dist/implementation/generated/liana/schemas/sort_alphabetically/transformers/boilerplate_for_migrate.js +46 -0
  101. package/dist/implementation/generated/liana/schemas/sort_alphabetically/transformers/fountain_pen.d.ts +2 -0
  102. package/dist/implementation/generated/liana/schemas/sort_alphabetically/transformers/fountain_pen.js +41 -0
  103. package/dist/implementation/generated/liana/schemas/validate_document/refiners/astn_parse_tree.d.ts +3 -0
  104. package/dist/implementation/generated/liana/schemas/validate_document/refiners/astn_parse_tree.js +152 -0
  105. package/dist/implementation/generated/liana/schemas/validate_document/refiners/list_of_characters.d.ts +3 -0
  106. package/dist/implementation/generated/liana/schemas/validate_document/refiners/list_of_characters.js +49 -0
  107. package/dist/implementation/generated/liana/schemas/validate_document/transformers/astn_sealed_target.d.ts +3 -0
  108. package/dist/implementation/generated/liana/schemas/validate_document/transformers/astn_sealed_target.js +103 -0
  109. package/dist/implementation/generated/liana/schemas/validate_document/transformers/boilerplate_for_migrate.d.ts +3 -0
  110. package/dist/implementation/generated/liana/schemas/validate_document/transformers/boilerplate_for_migrate.js +78 -0
  111. package/dist/implementation/generated/liana/schemas/validate_document/transformers/fountain_pen.d.ts +3 -0
  112. package/dist/implementation/generated/liana/schemas/validate_document/transformers/fountain_pen.js +43 -0
  113. package/dist/implementation/manual/queries/get_completion_suggestions.d.ts +2 -0
  114. package/dist/implementation/manual/queries/get_completion_suggestions.js +51 -0
  115. package/dist/implementation/manual/queries/get_on_hover_info.d.ts +2 -0
  116. package/dist/implementation/manual/queries/get_on_hover_info.js +54 -0
  117. package/dist/implementation/manual/queries/seal.d.ts +2 -0
  118. package/dist/implementation/manual/queries/seal.js +47 -0
  119. package/dist/implementation/manual/queries/sort_alphabetically.d.ts +1 -0
  120. package/dist/implementation/manual/queries/sort_alphabetically.js +12 -0
  121. package/dist/implementation/manual/queries/validate_document.d.ts +0 -0
  122. package/dist/implementation/manual/queries/validate_document.js +282 -0
  123. package/dist/implementation/manual/refiners/format/pseudo_deserializers.d.ts +0 -0
  124. package/dist/implementation/manual/refiners/format/pseudo_deserializers.js +54 -0
  125. package/dist/implementation/manual/text_to_text/convert_to_json.d.ts +5 -0
  126. package/dist/implementation/manual/text_to_text/convert_to_json.js +46 -0
  127. package/dist/implementation/manual/transformers/astn_core_location/location.d.ts +7 -0
  128. package/dist/implementation/manual/transformers/astn_core_location/location.js +14 -0
  129. package/dist/implementation/manual/transformers/liana_schema/authoring_target.d.ts +5 -0
  130. package/dist/implementation/manual/transformers/liana_schema/authoring_target.js +128 -0
  131. package/dist/implementation/manual/transformers/unmarshall_result/completion_suggestions.d.ts +9 -0
  132. package/dist/implementation/manual/transformers/unmarshall_result/completion_suggestions.js +83 -0
  133. package/dist/implementation/manual/transformers/unmarshall_result/found.d.ts +16 -0
  134. package/dist/implementation/manual/transformers/unmarshall_result/found.js +168 -0
  135. package/dist/implementation/manual/transformers/unmarshall_result/hover_info.d.ts +10 -0
  136. package/dist/implementation/manual/transformers/unmarshall_result/hover_info.js +56 -0
  137. package/dist/index.d.ts +1 -0
  138. package/dist/index.js +5 -0
  139. package/dist/interface/generated/liana/schemas/completion_suggestions/data.d.ts +15 -0
  140. package/dist/interface/generated/liana/schemas/completion_suggestions/data.js +3 -0
  141. package/dist/interface/generated/liana/schemas/completion_suggestions/signatures/refiners/astn_parse_tree.d.ts +13 -0
  142. package/dist/interface/generated/liana/schemas/completion_suggestions/signatures/refiners/astn_parse_tree.js +3 -0
  143. package/dist/interface/generated/liana/schemas/completion_suggestions/signatures/refiners/list_of_characters.d.ts +18 -0
  144. package/dist/interface/generated/liana/schemas/completion_suggestions/signatures/refiners/list_of_characters.js +3 -0
  145. package/dist/interface/generated/liana/schemas/completion_suggestions/signatures/transformers/astn_sealed_target.d.ts +10 -0
  146. package/dist/interface/generated/liana/schemas/completion_suggestions/signatures/transformers/astn_sealed_target.js +3 -0
  147. package/dist/interface/generated/liana/schemas/completion_suggestions/signatures/transformers/boilerplate_for_migrate.d.ts +10 -0
  148. package/dist/interface/generated/liana/schemas/completion_suggestions/signatures/transformers/boilerplate_for_migrate.js +3 -0
  149. package/dist/interface/generated/liana/schemas/completion_suggestions/signatures/transformers/fountain_pen.d.ts +10 -0
  150. package/dist/interface/generated/liana/schemas/completion_suggestions/signatures/transformers/fountain_pen.js +3 -0
  151. package/dist/interface/generated/liana/schemas/convert_to_json/data.d.ts +23 -0
  152. package/dist/interface/generated/liana/schemas/convert_to_json/data.js +3 -0
  153. package/dist/interface/generated/liana/schemas/convert_to_json/signatures/refiners/astn_parse_tree.d.ts +13 -0
  154. package/dist/interface/generated/liana/schemas/convert_to_json/signatures/refiners/astn_parse_tree.js +3 -0
  155. package/dist/interface/generated/liana/schemas/convert_to_json/signatures/refiners/list_of_characters.d.ts +18 -0
  156. package/dist/interface/generated/liana/schemas/convert_to_json/signatures/refiners/list_of_characters.js +3 -0
  157. package/dist/interface/generated/liana/schemas/convert_to_json/signatures/transformers/astn_sealed_target.d.ts +10 -0
  158. package/dist/interface/generated/liana/schemas/convert_to_json/signatures/transformers/astn_sealed_target.js +3 -0
  159. package/dist/interface/generated/liana/schemas/convert_to_json/signatures/transformers/boilerplate_for_migrate.d.ts +10 -0
  160. package/dist/interface/generated/liana/schemas/convert_to_json/signatures/transformers/boilerplate_for_migrate.js +3 -0
  161. package/dist/interface/generated/liana/schemas/convert_to_json/signatures/transformers/fountain_pen.d.ts +10 -0
  162. package/dist/interface/generated/liana/schemas/convert_to_json/signatures/transformers/fountain_pen.js +3 -0
  163. package/dist/interface/generated/liana/schemas/format/data.d.ts +56 -0
  164. package/dist/interface/generated/liana/schemas/format/data.js +3 -0
  165. package/dist/interface/generated/liana/schemas/format/signatures/refiners/astn_parse_tree.d.ts +29 -0
  166. package/dist/interface/generated/liana/schemas/format/signatures/refiners/astn_parse_tree.js +3 -0
  167. package/dist/interface/generated/liana/schemas/format/signatures/refiners/list_of_characters.d.ts +44 -0
  168. package/dist/interface/generated/liana/schemas/format/signatures/refiners/list_of_characters.js +3 -0
  169. package/dist/interface/generated/liana/schemas/format/signatures/transformers/astn_sealed_target.d.ts +24 -0
  170. package/dist/interface/generated/liana/schemas/format/signatures/transformers/astn_sealed_target.js +3 -0
  171. package/dist/interface/generated/liana/schemas/format/signatures/transformers/boilerplate_for_migrate.d.ts +24 -0
  172. package/dist/interface/generated/liana/schemas/format/signatures/transformers/boilerplate_for_migrate.js +3 -0
  173. package/dist/interface/generated/liana/schemas/format/signatures/transformers/fountain_pen.d.ts +24 -0
  174. package/dist/interface/generated/liana/schemas/format/signatures/transformers/fountain_pen.js +3 -0
  175. package/dist/interface/generated/liana/schemas/get_completion_suggestions/data.d.ts +29 -0
  176. package/dist/interface/generated/liana/schemas/get_completion_suggestions/data.js +3 -0
  177. package/dist/interface/generated/liana/schemas/get_completion_suggestions/signatures/refiners/astn_parse_tree.d.ts +21 -0
  178. package/dist/interface/generated/liana/schemas/get_completion_suggestions/signatures/refiners/astn_parse_tree.js +3 -0
  179. package/dist/interface/generated/liana/schemas/get_completion_suggestions/signatures/refiners/list_of_characters.d.ts +31 -0
  180. package/dist/interface/generated/liana/schemas/get_completion_suggestions/signatures/refiners/list_of_characters.js +3 -0
  181. package/dist/interface/generated/liana/schemas/get_completion_suggestions/signatures/transformers/astn_sealed_target.d.ts +17 -0
  182. package/dist/interface/generated/liana/schemas/get_completion_suggestions/signatures/transformers/astn_sealed_target.js +3 -0
  183. package/dist/interface/generated/liana/schemas/get_completion_suggestions/signatures/transformers/boilerplate_for_migrate.d.ts +17 -0
  184. package/dist/interface/generated/liana/schemas/get_completion_suggestions/signatures/transformers/boilerplate_for_migrate.js +3 -0
  185. package/dist/interface/generated/liana/schemas/get_completion_suggestions/signatures/transformers/fountain_pen.d.ts +17 -0
  186. package/dist/interface/generated/liana/schemas/get_completion_suggestions/signatures/transformers/fountain_pen.js +3 -0
  187. package/dist/interface/generated/liana/schemas/get_on_hover_info/data.d.ts +32 -0
  188. package/dist/interface/generated/liana/schemas/get_on_hover_info/data.js +3 -0
  189. package/dist/interface/generated/liana/schemas/get_on_hover_info/signatures/refiners/astn_parse_tree.d.ts +21 -0
  190. package/dist/interface/generated/liana/schemas/get_on_hover_info/signatures/refiners/astn_parse_tree.js +3 -0
  191. package/dist/interface/generated/liana/schemas/get_on_hover_info/signatures/refiners/list_of_characters.d.ts +31 -0
  192. package/dist/interface/generated/liana/schemas/get_on_hover_info/signatures/refiners/list_of_characters.js +3 -0
  193. package/dist/interface/generated/liana/schemas/get_on_hover_info/signatures/transformers/astn_sealed_target.d.ts +17 -0
  194. package/dist/interface/generated/liana/schemas/get_on_hover_info/signatures/transformers/astn_sealed_target.js +3 -0
  195. package/dist/interface/generated/liana/schemas/get_on_hover_info/signatures/transformers/boilerplate_for_migrate.d.ts +17 -0
  196. package/dist/interface/generated/liana/schemas/get_on_hover_info/signatures/transformers/boilerplate_for_migrate.js +3 -0
  197. package/dist/interface/generated/liana/schemas/get_on_hover_info/signatures/transformers/fountain_pen.d.ts +17 -0
  198. package/dist/interface/generated/liana/schemas/get_on_hover_info/signatures/transformers/fountain_pen.js +3 -0
  199. package/dist/interface/generated/liana/schemas/hover_info/data.d.ts +9 -0
  200. package/dist/interface/generated/liana/schemas/hover_info/data.js +3 -0
  201. package/dist/interface/generated/liana/schemas/hover_info/signatures/refiners/astn_parse_tree.d.ts +13 -0
  202. package/dist/interface/generated/liana/schemas/hover_info/signatures/refiners/astn_parse_tree.js +3 -0
  203. package/dist/interface/generated/liana/schemas/hover_info/signatures/refiners/list_of_characters.d.ts +18 -0
  204. package/dist/interface/generated/liana/schemas/hover_info/signatures/refiners/list_of_characters.js +3 -0
  205. package/dist/interface/generated/liana/schemas/hover_info/signatures/transformers/astn_sealed_target.d.ts +10 -0
  206. package/dist/interface/generated/liana/schemas/hover_info/signatures/transformers/astn_sealed_target.js +3 -0
  207. package/dist/interface/generated/liana/schemas/hover_info/signatures/transformers/boilerplate_for_migrate.d.ts +10 -0
  208. package/dist/interface/generated/liana/schemas/hover_info/signatures/transformers/boilerplate_for_migrate.js +3 -0
  209. package/dist/interface/generated/liana/schemas/hover_info/signatures/transformers/fountain_pen.d.ts +10 -0
  210. package/dist/interface/generated/liana/schemas/hover_info/signatures/transformers/fountain_pen.js +3 -0
  211. package/dist/interface/generated/liana/schemas/location/data.d.ts +17 -0
  212. package/dist/interface/generated/liana/schemas/location/data.js +3 -0
  213. package/dist/interface/generated/liana/schemas/location/signatures/refiners/astn_parse_tree.d.ts +21 -0
  214. package/dist/interface/generated/liana/schemas/location/signatures/refiners/astn_parse_tree.js +3 -0
  215. package/dist/interface/generated/liana/schemas/location/signatures/refiners/list_of_characters.d.ts +31 -0
  216. package/dist/interface/generated/liana/schemas/location/signatures/refiners/list_of_characters.js +3 -0
  217. package/dist/interface/generated/liana/schemas/location/signatures/transformers/astn_sealed_target.d.ts +17 -0
  218. package/dist/interface/generated/liana/schemas/location/signatures/transformers/astn_sealed_target.js +3 -0
  219. package/dist/interface/generated/liana/schemas/location/signatures/transformers/boilerplate_for_migrate.d.ts +17 -0
  220. package/dist/interface/generated/liana/schemas/location/signatures/transformers/boilerplate_for_migrate.js +3 -0
  221. package/dist/interface/generated/liana/schemas/location/signatures/transformers/fountain_pen.d.ts +17 -0
  222. package/dist/interface/generated/liana/schemas/location/signatures/transformers/fountain_pen.js +3 -0
  223. package/dist/interface/generated/liana/schemas/path/data.d.ts +52 -0
  224. package/dist/interface/generated/liana/schemas/path/data.js +3 -0
  225. package/dist/interface/generated/liana/schemas/path/signatures/refiners/astn_parse_tree.d.ts +53 -0
  226. package/dist/interface/generated/liana/schemas/path/signatures/refiners/astn_parse_tree.js +3 -0
  227. package/dist/interface/generated/liana/schemas/path/signatures/refiners/list_of_characters.d.ts +83 -0
  228. package/dist/interface/generated/liana/schemas/path/signatures/refiners/list_of_characters.js +3 -0
  229. package/dist/interface/generated/liana/schemas/path/signatures/transformers/astn_sealed_target.d.ts +45 -0
  230. package/dist/interface/generated/liana/schemas/path/signatures/transformers/astn_sealed_target.js +3 -0
  231. package/dist/interface/generated/liana/schemas/path/signatures/transformers/boilerplate_for_migrate.d.ts +45 -0
  232. package/dist/interface/generated/liana/schemas/path/signatures/transformers/boilerplate_for_migrate.js +3 -0
  233. package/dist/interface/generated/liana/schemas/path/signatures/transformers/fountain_pen.d.ts +45 -0
  234. package/dist/interface/generated/liana/schemas/path/signatures/transformers/fountain_pen.js +3 -0
  235. package/dist/interface/generated/liana/schemas/seal/data.d.ts +27 -0
  236. package/dist/interface/generated/liana/schemas/seal/data.js +3 -0
  237. package/dist/interface/generated/liana/schemas/seal/signatures/refiners/astn_parse_tree.d.ts +21 -0
  238. package/dist/interface/generated/liana/schemas/seal/signatures/refiners/astn_parse_tree.js +3 -0
  239. package/dist/interface/generated/liana/schemas/seal/signatures/refiners/list_of_characters.d.ts +31 -0
  240. package/dist/interface/generated/liana/schemas/seal/signatures/refiners/list_of_characters.js +3 -0
  241. package/dist/interface/generated/liana/schemas/seal/signatures/transformers/astn_sealed_target.d.ts +17 -0
  242. package/dist/interface/generated/liana/schemas/seal/signatures/transformers/astn_sealed_target.js +3 -0
  243. package/dist/interface/generated/liana/schemas/seal/signatures/transformers/boilerplate_for_migrate.d.ts +17 -0
  244. package/dist/interface/generated/liana/schemas/seal/signatures/transformers/boilerplate_for_migrate.js +3 -0
  245. package/dist/interface/generated/liana/schemas/seal/signatures/transformers/fountain_pen.d.ts +17 -0
  246. package/dist/interface/generated/liana/schemas/seal/signatures/transformers/fountain_pen.js +3 -0
  247. package/dist/interface/generated/liana/schemas/sort_alphabetically/data.d.ts +8 -0
  248. package/dist/interface/generated/liana/schemas/sort_alphabetically/data.js +3 -0
  249. package/dist/interface/generated/liana/schemas/sort_alphabetically/signatures/refiners/astn_parse_tree.d.ts +13 -0
  250. package/dist/interface/generated/liana/schemas/sort_alphabetically/signatures/refiners/astn_parse_tree.js +3 -0
  251. package/dist/interface/generated/liana/schemas/sort_alphabetically/signatures/refiners/list_of_characters.d.ts +18 -0
  252. package/dist/interface/generated/liana/schemas/sort_alphabetically/signatures/refiners/list_of_characters.js +3 -0
  253. package/dist/interface/generated/liana/schemas/sort_alphabetically/signatures/transformers/astn_sealed_target.d.ts +10 -0
  254. package/dist/interface/generated/liana/schemas/sort_alphabetically/signatures/transformers/astn_sealed_target.js +3 -0
  255. package/dist/interface/generated/liana/schemas/sort_alphabetically/signatures/transformers/boilerplate_for_migrate.d.ts +10 -0
  256. package/dist/interface/generated/liana/schemas/sort_alphabetically/signatures/transformers/boilerplate_for_migrate.js +3 -0
  257. package/dist/interface/generated/liana/schemas/sort_alphabetically/signatures/transformers/fountain_pen.d.ts +10 -0
  258. package/dist/interface/generated/liana/schemas/sort_alphabetically/signatures/transformers/fountain_pen.js +3 -0
  259. package/dist/interface/generated/liana/schemas/validate_document/data.d.ts +60 -0
  260. package/dist/interface/generated/liana/schemas/validate_document/data.js +3 -0
  261. package/dist/interface/generated/liana/schemas/validate_document/signatures/refiners/astn_parse_tree.d.ts +21 -0
  262. package/dist/interface/generated/liana/schemas/validate_document/signatures/refiners/astn_parse_tree.js +3 -0
  263. package/dist/interface/generated/liana/schemas/validate_document/signatures/refiners/list_of_characters.d.ts +31 -0
  264. package/dist/interface/generated/liana/schemas/validate_document/signatures/refiners/list_of_characters.js +3 -0
  265. package/dist/interface/generated/liana/schemas/validate_document/signatures/transformers/astn_sealed_target.d.ts +17 -0
  266. package/dist/interface/generated/liana/schemas/validate_document/signatures/transformers/astn_sealed_target.js +3 -0
  267. package/dist/interface/generated/liana/schemas/validate_document/signatures/transformers/boilerplate_for_migrate.d.ts +17 -0
  268. package/dist/interface/generated/liana/schemas/validate_document/signatures/transformers/boilerplate_for_migrate.js +3 -0
  269. package/dist/interface/generated/liana/schemas/validate_document/signatures/transformers/fountain_pen.d.ts +17 -0
  270. package/dist/interface/generated/liana/schemas/validate_document/signatures/transformers/fountain_pen.js +3 -0
  271. package/dist/interface/resources.d.ts +13 -0
  272. package/dist/interface/resources.js +3 -0
  273. package/dist/interface/signatures.d.ts +17 -0
  274. package/dist/interface/signatures.js +3 -0
  275. package/dist/interface/to_be_generated/found.d.ts +4 -0
  276. package/dist/interface/to_be_generated/found.js +3 -0
  277. package/dist/interface/to_be_generated/seal.d.ts +3 -0
  278. package/dist/interface/to_be_generated/seal.js +3 -0
  279. package/package.json +33 -0
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.$$ = void 0;
37
+ const _p = __importStar(require("pareto-core/dist/query"));
38
+ //dependencies
39
+ const get_unmarshalled_document_1 = require("pareto-liana/dist/implementation/manual/queries/get_unmarshalled_document");
40
+ const r_sealed_target_from_unmarshalled_document = __importStar(require("pareto-liana/dist/implementation/manual/refiners/astn_sealed_target/unmarshall_result"));
41
+ const t_sealed_target_to_text = __importStar(require("astn-core/dist/implementation/manual/transformers/sealed_target/text"));
42
+ exports.$$ = _p.query_function(($p, $qr) => (0, get_unmarshalled_document_1.$$x)($qr)({
43
+ 'content': $p.content,
44
+ 'file path': $p.source['file path'],
45
+ 'tab size': $p.source['tab size'],
46
+ }, ($) => ['unmarshall', $]).refine_without_error_transformation(($, abort) => r_sealed_target_from_unmarshalled_document.Document($, ($) => abort(['se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UFBRSxDQUFDLHVCQUF1QixDQUFDLFFBQVEsQ0FDbkUsQ0FBQyxFQUNELEVBQUUsQ0FBQyxNQUFNLENBQ1QsQ0FBQyxDQUNGLENBQUEifQ==
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ // export const $$: _pi.Query_Function<d.Sort_Alphabetically_Parameters, d.Replace, null, null> = (
4
+ // $p,
5
+ // ) => _ei.__create_success_refinement_result({
6
+ // 'range': {
7
+ // 'start': $p.position,
8
+ // 'end': $p.position
9
+ // },
10
+ // 'text': `sort alphabetically at ${$p.position.line}:${$p.position.character}`
11
+ // })
12
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29ydF9hbHBoYWJldGljYWxseS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbXBsZW1lbnRhdGlvbi9tYW51YWwvcXVlcmllcy9zb3J0X2FscGhhYmV0aWNhbGx5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBUUEsbUdBQW1HO0FBQ25HLE9BQU87QUFDUCxnREFBZ0Q7QUFDaEQsY0FBYztBQUNkLDBCQUEwQjtBQUMxQix1QkFBdUI7QUFDdkIsTUFBTTtBQUNOLGlGQUFpRjtBQUNqRixLQUFLIn0=
@@ -0,0 +1,282 @@
1
+ "use strict";
2
+ // import * as _p from 'pareto-core/dist/query'
3
+ // import * as _pi from 'pareto-core/dist/interface'
4
+ // import * as _p_temp_transformer from 'pareto-core/dist/assign'
5
+ // import * as signatures from "../../../interface/signatures"
6
+ // //data types
7
+ // import * as d from "../../../interface/generated/liana/schemas/server/data"
8
+ // import * as d_token from "astn-core/dist/interface/generated/liana/schemas/token/data"
9
+ // import * as d_ide from "astn/dist/interface/generated/liana/schemas/ide/data"
10
+ // import * as d_parse_result from "astn-core/dist/implementation/manual/transformers/deserialize_parse_tree/fountain_pen"
11
+ // //dependencies
12
+ // import * as ds_path from "pareto-resources/dist/implementation/manual/schemas/node_path/deserializers"
13
+ // import * as t_unmarshall_result_2_unmarshall_errors from "pareto/dist/implementation/manual/schemas/unmarshall_result/transformers/unmarshall_errors"
14
+ // import { $$ as q_get_unmarshalled_document } from "pareto/dist/implementation/manual/queries/load_pareto_document"
15
+ // import { $$ as s_list_of_separated_texts } from "pareto-standard-operations/dist/implementation/temp_serializers/schemas/list_of_separated_texts"
16
+ // const create_frontend_position_from_relative_location = ($: d_token.Relative_Location): d.Position => ({
17
+ // line: $.line,
18
+ // character: $.column
19
+ // })
20
+ // const create_frontend_range_from_relative_range = ($: d_ide.Relative_Range): d.Range => ({
21
+ // start: create_frontend_position_from_relative_location($.start),
22
+ // end: create_frontend_position_from_relative_location($.end),
23
+ // })
24
+ // const create_frontend_range_from_range = ($: d_token.Range): d.Range => (create_frontend_range_from_relative_range({
25
+ // 'start': $.start.relative,
26
+ // 'end': $.end.relative,
27
+ // }))
28
+ // // export const $$: _pi.Guaranteed_Query<d.Validate_Document_Parameters, d.On_Validate_Document_Result, Resources> = (
29
+ // // $p, $r
30
+ // // ) => load_astn_document(
31
+ // // {
32
+ // // 'content': $p.content,
33
+ // // 'file path': $p['file path'],
34
+ // // },
35
+ // // $r,
36
+ // // ).map_(
37
+ // // ($): d.On_Validate_Document_Result => ({
38
+ // // 'diagnostics': t_unmarshall_result_2_unmarshall_errors.Node($, null).__d_map(($): d.Diagnostic => ({
39
+ // // 'severity': _pt.decide.state($.type, ($) => {
40
+ // // switch ($[0]) {
41
+ // // case 'error': return _pt.ss($, ($) => ['error', null])
42
+ // // case 'warning': return _pt.ss($, ($) => ['warning', null])
43
+ // // default: return _pt.au($[0])
44
+ // // }
45
+ // // }),
46
+ // // 'range': create_frontend_range_from_range($.range),
47
+ // // 'message': _pt.decide.state($.type, ($) => {
48
+ // // switch ($[0]) {
49
+ // // case 'error': return _pt.ss($, ($) => _pt.decide.state($, ($) => _pt.decide.state($, ($) => {
50
+ // // switch ($[0]) {
51
+ // // case 'duplicate property': return _pt.ss($, ($) => "Duplicate property '${$.name}'")
52
+ // // case 'invalid value type': return _pt.ss($, ($) => "Invalid type, expected ${s_list_of_separated_texts($.expected.__d_map(($) => "'${$[0]}'"), { 'separator': " or " })}")
53
+ // // case 'missing property': return _pt.ss($, ($) => "Missing property '${$.name}'")
54
+ // // case 'state': return _pt.ss($, ($) => _pt.decide.state($, ($) => {
55
+ // // switch ($[0]) {
56
+ // // case 'missing state name': return _pt.ss($, ($) => "Missing state name")
57
+ // // case 'missing data marker': return _pt.ss($, ($) => "Missing data marker for state 'XXXX'")
58
+ // // case 'missing value': return _pt.ss($, ($) => "Missing value for state 'XXXX'")
59
+ // // case 'more than 2 elements': return _pt.ss($, ($) => "State 'XXXX' has more than 2 elements")
60
+ // // case 'state is not a string': return _pt.ss($, ($) => "State 'XXXX' is not a string")
61
+ // // case 'unknown state': return _pt.ss($, ($) => "this state does not exist, choose from ${s_list_of_separated_texts(op_dictionary_to_list($.expected).__d_map(($) => "'${$.key}'"), { 'separator': " or " })}")
62
+ // // default: return _pt.au($[0])
63
+ // // }
64
+ // // }))
65
+ // // case 'superfluous property': return _pt.ss($, ($) => "Superfluous property '${$.name}'")
66
+ // // default: return _pt.au($[0])
67
+ // // }
68
+ // // })))
69
+ // // case 'warning': return _pt.ss($, ($) => _pt.decide.state($, ($) => "${$[0]} (FIXME: more info)"))
70
+ // // default: return _pt.au($[0])
71
+ // // }
72
+ // // }),
73
+ // // 'related information': _pt.not_set()
74
+ // // }))
75
+ // // })
76
+ // // ).catch_(($) => {
77
+ // // return _easync.query.guaranteed['create result']<d.On_Validate_Document_Result>({
78
+ // // 'diagnostics': _pt.decide.state(
79
+ // // $,
80
+ // // ($): d.Diagnostics => {
81
+ // // switch ($[0]) {
82
+ // // case 'no schema file': return _pt.ss($, ($) => _pt.list.literal<d.Diagnostic>([
83
+ // // {
84
+ // // 'severity': ['error', null],
85
+ // // 'range': {
86
+ // // 'start': {
87
+ // // 'line': 0,
88
+ // // 'character': 0,
89
+ // // },
90
+ // // 'end': {
91
+ // // 'line': 0,
92
+ // // 'character': 0,
93
+ // // }
94
+ // // },
95
+ // // 'message': "No schema file found",
96
+ // // 'related information': _pt.not_set()
97
+ // // }
98
+ // // ]))
99
+ // // case 'schema error': return _pt.ss($, ($) => _pt.list.literal<d.Diagnostic>([
100
+ // // {
101
+ // // 'severity': ['error', null],
102
+ // // 'range': {
103
+ // // 'start': {
104
+ // // 'line': 0,
105
+ // // 'character': 0,
106
+ // // },
107
+ // // 'end': {
108
+ // // 'line': 0,
109
+ // // 'character': 0,
110
+ // // }
111
+ // // },
112
+ // // 'message': "error in schema: ${$['file location']}",
113
+ // // 'related information': _pt.set(_pt.list.literal([
114
+ // // {
115
+ // // 'location': {
116
+ // // 'file path': "FIXME/PATH/TO/SCHEMA",
117
+ // // 'range': {
118
+ // // 'start': { 'line': 0, 'character': 0 },
119
+ // // 'end': { 'line': 0, 'character': 0 }
120
+ // // }
121
+ // // },
122
+ // // 'message': 'Dependency declared here'
123
+ // // }
124
+ // // ]))
125
+ // // }
126
+ // // ]))
127
+ // // case 'parse error': return _pt.ss($, ($) => _pt.list.literal<d.Diagnostic>([
128
+ // // {
129
+ // // 'severity': ['error', null],
130
+ // // 'range': create_frontend_range_from_range($.range),
131
+ // // 'message': "${d_parse_result.Parse_Error_Type($.type)}",
132
+ // // 'related information': _pt.not_set()
133
+ // // }
134
+ // // ]))
135
+ // // default: return _pt.au($[0])
136
+ // // }
137
+ // // }
138
+ // // )
139
+ // // })
140
+ // // })
141
+ // export const $$: signatures.queries.validate_document = _p.query_function(
142
+ // ($p, $qr) => q_get_unmarshalled_document($qr)(
143
+ // {
144
+ // 'content': $p.content,
145
+ // 'file path': ds_path.Node_Path(
146
+ // $p['file path'],
147
+ // () => _pdev.implement_me("Invalid file path"),
148
+ // {
149
+ // 'pedantic': true,
150
+ // },
151
+ // ),
152
+ // },
153
+ // ($): d.On_Validate_Document_Result => ({
154
+ // 'diagnostics': _p.decide.state(
155
+ // $,
156
+ // ($): d.Diagnostics => {
157
+ // switch ($[0]) {
158
+ // case 'no schema file': return _p.ss($, ($) => _p.list.literal<d.Diagnostic>([
159
+ // {
160
+ // 'severity': ['error', null],
161
+ // 'range': {
162
+ // 'start': {
163
+ // 'line': 0,
164
+ // 'character': 0,
165
+ // },
166
+ // 'end': {
167
+ // 'line': 0,
168
+ // 'character': 0,
169
+ // }
170
+ // },
171
+ // 'message': "No schema file found",
172
+ // 'related information': _p.optional.literal.not_set()
173
+ // }
174
+ // ]))
175
+ // case 'schema error': return _p.ss($, ($) => _p.list.literal<d.Diagnostic>([
176
+ // {
177
+ // 'severity': ['error', null],
178
+ // 'range': {
179
+ // 'start': {
180
+ // 'line': 0,
181
+ // 'character': 0,
182
+ // },
183
+ // 'end': {
184
+ // 'line': 0,
185
+ // 'character': 0,
186
+ // }
187
+ // },
188
+ // 'message': "error in schema: ${$['file location']}",
189
+ // 'related information': _p.optional.literal.set(_p.list.literal([
190
+ // {
191
+ // 'location': {
192
+ // 'file path': "FIXME/PATH/TO/SCHEMA",
193
+ // 'range': {
194
+ // 'start': { 'line': 0, 'character': 0 },
195
+ // 'end': { 'line': 0, 'character': 0 }
196
+ // }
197
+ // },
198
+ // 'message': 'Dependency declared here'
199
+ // }
200
+ // ]))
201
+ // }
202
+ // ]))
203
+ // case 'parse error': return _p.ss($, ($) => _p.list.literal<d.Diagnostic>([
204
+ // {
205
+ // 'severity': ['error', null],
206
+ // 'range': create_frontend_range_from_range($.range.__decide(
207
+ // ($) => $,
208
+ // () => ({
209
+ // 'end': { 'absolute': 0, 'relative': { 'line': 0, 'column': 0 } },
210
+ // 'start': { 'absolute': 0, 'relative': { 'line': 0, 'column': 0 } },
211
+ // })
212
+ // )),
213
+ // 'message': "${d_parse_result.Error($, { 'position info': ['zero based', null] })}",
214
+ // 'related information': _p.optional.literal.not_set()
215
+ // }
216
+ // ]))
217
+ // case 'unmarshall error': return _p.ss($, ($) => _p.list.literal<d.Diagnostic>([
218
+ // {
219
+ // 'severity': ['error', null],
220
+ // 'range': {
221
+ // 'start': {
222
+ // 'line': 0,
223
+ // 'character': 0,
224
+ // },
225
+ // 'end': {
226
+ // 'line': 0,
227
+ // 'character': 0,
228
+ // }
229
+ // },
230
+ // 'message': "unmarshall error (no further information available currently)",
231
+ // 'related information': _p.optional.literal.not_set()
232
+ // }
233
+ // ]))
234
+ // default: return _p.au($[0])
235
+ // }
236
+ // }
237
+ // )
238
+ // }),
239
+ // ).transform_result(($): d.On_Validate_Document_Result => ({
240
+ // 'diagnostics': t_unmarshall_result_2_unmarshall_errors.Node($, null).__l_map(($): d.Diagnostic => ({
241
+ // 'severity': _p.decide.state($.type, ($) => {
242
+ // switch ($[0]) {
243
+ // case 'error': return _p.ss($, ($) => ['error', null])
244
+ // case 'warning': return _p.ss($, ($) => ['warning', null])
245
+ // default: return _p.au($[0])
246
+ // }
247
+ // }),
248
+ // 'range': create_frontend_range_from_range($.range),
249
+ // 'message': _p.decide.state($.type, ($) => {
250
+ // switch ($[0]) {
251
+ // case 'error': return _p.ss($, ($) => _p.decide.state($, ($) => _p.decide.state($, ($) => {
252
+ // switch ($[0]) {
253
+ // case 'duplicate property': return _p.ss($, ($) => "Duplicate property '${$.name}'")
254
+ // case 'invalid value type': return _p.ss($, ($) => "Invalid type, expected ${s_list_of_separated_texts($.expected.__l_map(($) => "'${$[0]}'"), { 'separator': " or " })}")
255
+ // case 'missing property': return _p.ss($, ($) => "Missing property '${$.name}'")
256
+ // case 'state': return _p.ss($, ($) => _p.decide.state($, ($) => {
257
+ // switch ($[0]) {
258
+ // case 'missing state name': return _p.ss($, ($) => "Missing state name")
259
+ // case 'missing data marker': return _p.ss($, ($) => "Missing data marker for state 'XXXX'")
260
+ // case 'missing value': return _p.ss($, ($) => "Missing value for state 'XXXX'")
261
+ // case 'more than 2 elements': return _p.ss($, ($) => "State 'XXXX' has more than 2 elements")
262
+ // case 'state is not a string': return _p.ss($, ($) => "State 'XXXX' is not a string")
263
+ // case 'unknown state': return _p.ss($, ($) => "this state does not exist, choose from ${s_list_of_separated_texts(
264
+ // _p_temp_transformer.list.from_dictionary($.expected, ($, id) => "'${key}'"),
265
+ // { 'separator': " or " }
266
+ // )}")
267
+ // default: return _p.au($[0])
268
+ // }
269
+ // }))
270
+ // case 'superfluous property': return _p.ss($, ($) => "Superfluous property '${$.name}'")
271
+ // default: return _p.au($[0])
272
+ // }
273
+ // })))
274
+ // case 'warning': return _p.ss($, ($) => _p.decide.state($, ($) => "${$[0]} (FIXME: more info)"))
275
+ // default: return _p.au($[0])
276
+ // }
277
+ // }),
278
+ // 'related information': _p.optional.literal.not_set()
279
+ // }))
280
+ // }))
281
+ // )
282
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsaWRhdGVfZG9jdW1lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW1wbGVtZW50YXRpb24vbWFudWFsL3F1ZXJpZXMvdmFsaWRhdGVfZG9jdW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLCtDQUErQztBQUMvQyxvREFBb0Q7QUFDcEQsaUVBQWlFO0FBRWpFLDhEQUE4RDtBQUU5RCxlQUFlO0FBQ2YsOEVBQThFO0FBQzlFLHlGQUF5RjtBQUN6RixnRkFBZ0Y7QUFDaEYsMEhBQTBIO0FBRTFILGlCQUFpQjtBQUNqQix5R0FBeUc7QUFDekcsd0pBQXdKO0FBQ3hKLHFIQUFxSDtBQUNySCxvSkFBb0o7QUFJcEosMkdBQTJHO0FBQzNHLG9CQUFvQjtBQUNwQiwwQkFBMEI7QUFDMUIsS0FBSztBQUVMLDZGQUE2RjtBQUM3Rix1RUFBdUU7QUFDdkUsbUVBQW1FO0FBQ25FLEtBQUs7QUFFTCx1SEFBdUg7QUFDdkgsaUNBQWlDO0FBQ2pDLDZCQUE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Usb0NBQW9DO0FBQ3BDLGtDQUFrQztBQUNsQyxzSEFBc0g7QUFDdEgsMERBQTBEO0FBQzFELDRCQUE0QjtBQUM1QiwyQkFBMkI7QUFDM0Isc0hBQXNIO0FBQ3RILGtEQUFrRDtBQUNsRCxvQkFBb0I7QUFDcEIsa0JBQWtCO0FBQ2xCLG1FQUFtRTtBQUNuRSxjQUFjO0FBQ2QsVUFBVTtBQUNWLElBQUkifQ==
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ // import * as _pi from 'pareto-core/dist/interface'
3
+ // import * as _p from 'pareto-core/dist/deserializer'
4
+ // import * as _pt from 'pareto-core/dist/assign'
5
+ // import * as d_client from "../../../../interface/generated/liana/schemas/client/data"
6
+ // // import * as d_parse_result from "astn/dist/interface/generated/liana/schemas/authoring_parse_result/data"
7
+ // // import * as d_parse_tree from "astn/dist/interface/generated/liana/schemas/parse_tree/data"
8
+ // import * as d_token from "astn-core/dist/interface/generated/liana/schemas/token/data"
9
+ // import * as d_ide from "astn/dist/interface/generated/liana/schemas/ide/data"
10
+ // type Signature = _pi.Deserializer_With_Parameters<d_client.Format_Result, d_client.Format_Error, d_client.Format_Parameters>
11
+ // //dependencies
12
+ // import * as ds_authoring_parse_tree from "astn-core/dist/implementation/manual/schemas/parse_tree/deserializers"
13
+ // import * as r_ide_from_parse_tree from "astn/dist/implementation/manual/schemas/ide/refiners/parse_tree"
14
+ // import * as s_deserialize_parse_tree from "astn-core/dist/implementation/manual/schemas/deserialize_parse_tree/serializers"
15
+ // namespace t_token_to_client {
16
+ // export const create_frontend_position_from_relative_location = ($: d_token.Relative_Location): d_client.Position => ({
17
+ // line: $.line,
18
+ // character: $.column
19
+ // })
20
+ // }
21
+ // namespace t_ide_to_client {
22
+ // export const create_frontend_range_from_relative_range = ($: d_ide.Relative_Range): d_client.Range => ({
23
+ // start: t_token_to_client.create_frontend_position_from_relative_location($.start),
24
+ // end: t_token_to_client.create_frontend_position_from_relative_location($.end),
25
+ // })
26
+ // }
27
+ // export const $$: Signature = ($, abort, $p) => {
28
+ // const x = ds_authoring_parse_tree.Document(
29
+ // $,
30
+ // ($) => abort({
31
+ // 'message': s_deserialize_parse_tree.Error($, { 'position info': ['zero based', null] })
32
+ // }),
33
+ // {
34
+ // 'tab size': 1,
35
+ // },
36
+ // )
37
+ // const x2 = r_ide_from_parse_tree.Document(
38
+ // x,
39
+ // {
40
+ // 'current indentation': "",
41
+ // 'indentation string': $p.options['indent string'],
42
+ // 'remove commas': $p.options['preserve commas'],
43
+ // }
44
+ // )
45
+ // return x2.__l_map(($): d_client.Text_Edit => _pt.decide.state($, ($): d_client.Text_Edit => {
46
+ // switch ($[0]) {
47
+ // case 'replace': return _pt.ss($, ($) => ['replace', { 'range': t_ide_to_client.create_frontend_range_from_relative_range($.range), 'text': $.text }])
48
+ // case 'delete': return _pt.ss($, ($) => ['delete', { 'range': t_ide_to_client.create_frontend_range_from_relative_range($.range) }])
49
+ // case 'insert': return _pt.ss($, ($) => ['insert', { 'location': t_token_to_client.create_frontend_position_from_relative_location($.location), 'text': $.text }])
50
+ // default: return _pt.au($[0])
51
+ // }
52
+ // }))
53
+ // }
54
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHNldWRvX2Rlc2VyaWFsaXplcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvaW1wbGVtZW50YXRpb24vbWFudWFsL3JlZmluZXJzL2Zvcm1hdC9wc2V1ZG9fZGVzZXJpYWxpemVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0RBQW9EO0FBQ3BELHNEQUFzRDtBQUN0RCxpREFBaUQ7QUFFakQsd0ZBQXdGO0FBQ3hGLCtHQUErRztBQUMvRyxpR0FBaUc7QUFDakcseUZBQXlGO0FBQ3pGLGdGQUFnRjtBQUVoRiwrSEFBK0g7QUFFL0gsaUJBQWlCO0FBQ2pCLG1IQUFtSDtBQUNuSCwyR0FBMkc7QUFDM0csOEhBQThIO0FBRzlILGdDQUFnQztBQUVoQyw2SEFBNkg7QUFDN0gsd0JBQXdCO0FBQ3hCLDhCQUE4QjtBQUM5QixTQUFTO0FBQ1QsSUFBSTtBQUVKLDhCQUE4QjtBQUU5QiwrR0FBK0c7QUFDL0csNkZBQTZGO0FBQzdGLHlGQUF5RjtBQUN6RixTQUFTO0FBRVQsSUFBSTtBQUdKLG1EQUFtRDtBQUNuRCxrREFBa0Q7QUFDbEQsYUFBYTtBQUNiLHlCQUF5QjtBQUN6QixzR0FBc0c7QUFDdEcsY0FBYztBQUNkLFlBQVk7QUFDWiw2QkFBNkI7QUFDN0IsYUFBYTtBQUNiLFFBQVE7QUFFUixpREFBaUQ7QUFDakQsYUFBYTtBQUNiLFlBQVk7QUFDWix5Q0FBeUM7QUFDekMsaUVBQWlFO0FBQ2pFLDhEQUE4RDtBQUM5RCxZQUFZO0FBQ1osUUFBUTtBQUVSLG9HQUFvRztBQUNwRywwQkFBMEI7QUFDMUIsb0tBQW9LO0FBQ3BLLGtKQUFrSjtBQUNsSixnTEFBZ0w7QUFDaEwsMkNBQTJDO0FBQzNDLFlBQVk7QUFDWixVQUFVO0FBRVYsSUFBSSJ9
@@ -0,0 +1,5 @@
1
+ import * as _pi from 'pareto-core/dist/interface';
2
+ import * as d_function from "../../../interface/generated/liana/schemas/convert_to_json/data";
3
+ type Signature = _pi.Refiner_With_Parameter<string, null, string, d_function.Parameters>;
4
+ export declare const $$: Signature;
5
+ export {};
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.$$ = void 0;
37
+ //dependencies
38
+ const t_ast_2_json = __importStar(require("astn/dist/implementation/manual/transformers/parse_tree/json_target"));
39
+ const t_json_to_text = __importStar(require("pareto-json/dist/implementation/manual/transformers/json/text"));
40
+ const r_astn_parse_tree_from_text = __importStar(require("astn-core/dist/implementation/manual/refiners/parse_tree/text"));
41
+ const $$ = ($, abort, $p) => t_json_to_text.Value(t_ast_2_json.Document(r_astn_parse_tree_from_text.Document($, ($) => abort(null), {
42
+ 'document resource identifier': $p.source['document resource identifier'],
43
+ 'tab size': $p.source['tab size']
44
+ })), $p.target);
45
+ exports.$$ = $$;
46
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udmVydF90b19qc29uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ltcGxlbWVudGF0aW9uL21hbnVhbC90ZXh0X3RvX3RleHQvY29udmVydF90b19qc29uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQVFBLGNBQWM7QUFDZCxrSEFBbUc7QUFDbkcsOEdBQStGO0FBQy9GLDJIQUE0RztBQUdyRyxNQUFNLEVBQUUsR0FBYyxDQUFDLENBQUMsRUFBRSxLQUFLLEVBQUUsRUFBRSxFQUFHLEVBQUUsQ0FBQyxjQUFjLENBQUMsS0FBSyxDQUNoRSxZQUFZLENBQUMsUUFBUSxDQUNqQiwyQkFBMkIsQ0FBQyxRQUFRLENBQ2hDLENBQUMsRUFDRCxDQUFDLENBQUMsRUFBRSxFQUFFLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxFQUNsQjtJQUNJLDhCQUE4QixFQUFFLEVBQUUsQ0FBQyxNQUFNLENBQUMsOEJBQThCLENBQUM7SUFDekUsVUFBVSxFQUFFLEVBQUUsQ0FBQyxNQUFNLENBQUMsVUFBVSxDQUFDO0NBQ3BDLENBQ0osQ0FDSixFQUNELEVBQUUsQ0FBQyxNQUFNLENBQ1osQ0FBQTtBQVpZLFFBQUEsRUFBRSxNQVlkIn0=
@@ -0,0 +1,7 @@
1
+ import * as _pi from 'pareto-core/dist/interface';
2
+ import * as d_out from "../../../../interface/generated/liana/schemas/location/data";
3
+ import * as d_in from "astn-core/dist/interface/generated/liana/schemas/location/data";
4
+ export type Relative_Location = _pi.Transformer<d_in.Relative_Location, d_out.Position>;
5
+ export type Range = _pi.Transformer<d_in.Range, d_out.Range>;
6
+ export declare const Range: Range;
7
+ export declare const Relative_Location: Relative_Location;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Relative_Location = exports.Range = void 0;
4
+ const Range = ($) => ({
5
+ 'start': (0, exports.Relative_Location)($.start.relative),
6
+ 'end': (0, exports.Relative_Location)($.end.relative),
7
+ });
8
+ exports.Range = Range;
9
+ const Relative_Location = ($) => ({
10
+ 'line': $.line,
11
+ 'character': $.column,
12
+ });
13
+ exports.Relative_Location = Relative_Location;
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvaW1wbGVtZW50YXRpb24vbWFudWFsL3RyYW5zZm9ybWVycy9hc3RuX2NvcmVfbG9jYXRpb24vbG9jYXRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBUU8sTUFBTSxLQUFLLEdBQVUsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUM7SUFDaEMsT0FBTyxFQUFFLElBQUEseUJBQWlCLEVBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxRQUFRLENBQUM7SUFDNUMsS0FBSyxFQUFFLElBQUEseUJBQWlCLEVBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxRQUFRLENBQUM7Q0FDM0MsQ0FBQyxDQUFBO0FBSFcsUUFBQSxLQUFLLFNBR2hCO0FBRUssTUFBTSxpQkFBaUIsR0FBc0IsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUM7SUFDeEQsTUFBTSxFQUFFLENBQUMsQ0FBQyxJQUFJO0lBQ2QsV0FBVyxFQUFFLENBQUMsQ0FBQyxNQUFNO0NBQ3hCLENBQUMsQ0FBQTtBQUhXLFFBQUEsaUJBQWlCLHFCQUc1QiJ9
@@ -0,0 +1,5 @@
1
+ import * as d_out from "astn/dist/interface/generated/liana/schemas/authoring_target/data";
2
+ import * as d_in from "pareto-liana/dist/interface/generated/liana/schemas/schema/data/resolved";
3
+ export declare const Value: ($: d_in.Value) => d_out.Value;
4
+ export declare const Concrete_Value: ($: d_in.Value) => d_out.Value.data.concrete.type_;
5
+ export declare const Type_Node_Resolver: ($: d_in.Resolver_Value) => d_out.Value;