pareto 0.56.0 → 0.57.0

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 (211) hide show
  1. package/auto.dist/index.d.ts +3 -3
  2. package/auto.dist/index.js +5 -5
  3. package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.api.js +1 -1
  4. package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.implementation.js +1 -1
  5. package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.provided_interface_glossary.d.ts +45 -8
  6. package/auto.dist/public/{cosmos__2__pareto → modules/pareto2typescript}/auto.provided_interface_glossary.js +1 -1
  7. package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.provided_interface_glossary.shadow.d.ts +4 -0
  8. package/auto.dist/public/modules/pareto2typescript/auto.provided_interface_glossary.shadow.js +3 -0
  9. package/auto.dist/public/modules/pareto2typescript/implementations/serializeCompilationUnit.alg.js +563 -0
  10. package/auto.dist/public/{cosmos__2__pareto → modules/pareto2typescript}/index.js +1 -1
  11. package/auto.dist/public/{fountain__pen → modules/typescript__naming}/auto.api.d.ts +1 -1
  12. package/auto.dist/public/{cosmos__2__pareto → modules/typescript__naming}/auto.api.js +1 -1
  13. package/auto.dist/public/modules/typescript__naming/auto.implementation.d.ts +2 -0
  14. package/auto.dist/public/modules/typescript__naming/auto.implementation.js +6 -0
  15. package/auto.dist/public/modules/typescript__naming/auto.provided_interface_glossary.d.ts +9 -0
  16. package/auto.dist/public/{fountain__pen → modules/typescript__naming}/auto.provided_interface_glossary.js +1 -1
  17. package/auto.dist/public/{fountain__pen → modules/typescript__naming}/auto.provided_interface_glossary.shadow.d.ts +1 -1
  18. package/auto.dist/public/modules/typescript__naming/auto.provided_interface_glossary.shadow.js +3 -0
  19. package/auto.dist/public/modules/typescript__naming/implementations/createIdentifier.alg.d.ts +2 -0
  20. package/auto.dist/public/modules/typescript__naming/implementations/createIdentifier.alg.js +248 -0
  21. package/auto.dist/public/{pareto__2__typescript → modules/typescript__naming}/index.js +1 -1
  22. package/auto.dist/public/modules/typescript__serialize/auto.api.d.ts +8 -0
  23. package/auto.dist/public/{fountain__pen → modules/typescript__serialize}/auto.api.js +1 -1
  24. package/auto.dist/public/modules/typescript__serialize/auto.implementation.d.ts +4 -0
  25. package/auto.dist/public/modules/typescript__serialize/auto.implementation.js +10 -0
  26. package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.d.ts +11 -0
  27. package/auto.dist/public/{pareto__2__typescript → modules/typescript__serialize}/auto.provided_interface_glossary.js +1 -1
  28. package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.shadow.d.ts +11 -0
  29. package/auto.dist/public/modules/typescript__serialize/auto.provided_interface_glossary.shadow.js +3 -0
  30. package/auto.dist/public/modules/typescript__serialize/implementations/createApostrophedString.alg.d.ts +2 -0
  31. package/auto.dist/public/modules/typescript__serialize/implementations/createApostrophedString.alg.js +62 -0
  32. package/auto.dist/public/modules/typescript__serialize/implementations/createBacktickedString.alg.d.ts +2 -0
  33. package/auto.dist/public/modules/typescript__serialize/implementations/createBacktickedString.alg.js +62 -0
  34. package/auto.dist/public/modules/typescript__serialize/implementations/createQuotedString.alg.d.ts +2 -0
  35. package/auto.dist/public/modules/typescript__serialize/implementations/createQuotedString.alg.js +45 -0
  36. package/auto.dist/public/modules/typescript__serialize/implementations/escape.alg.d.ts +0 -0
  37. package/auto.dist/public/modules/typescript__serialize/implementations/escape.alg.js +20 -0
  38. package/auto.dist/public/{fountain__pen → modules/typescript__serialize}/index.js +1 -1
  39. package/auto.pareto/$.data.ts +5 -16
  40. package/auto.pareto/auto.dependencies/index.ts +6 -4
  41. package/auto.pareto/auto.dependencies/pareto-pure/$.data.ts +60 -0
  42. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/index.ts +7 -0
  43. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/$.data.ts +58 -0
  44. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/arithmetic/api.data.ts +26 -0
  45. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/arithmetic/glossary.data.ts +76 -0
  46. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/array/api.data.ts +21 -0
  47. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/array/glossary.data.ts +60 -0
  48. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/boolean/api.data.ts +21 -0
  49. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/boolean/glossary.data.ts +45 -0
  50. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/build/api.data.ts +25 -0
  51. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/build/glossary.data.ts +133 -0
  52. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/collation/api.data.ts +15 -0
  53. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/collation/glossary.data.ts +34 -0
  54. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/dictionary/api.data.ts +60 -0
  55. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/dictionary/glossary.data.ts +130 -0
  56. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/filesystem/api.data.ts +19 -0
  57. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/filesystem/glossary.data.ts +189 -0
  58. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/foreach/api.data.ts +25 -0
  59. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/foreach/glossary.data.ts +78 -0
  60. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/http/api.data.ts +16 -0
  61. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/http/glossary.data.ts +69 -0
  62. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/json/api.data.ts +16 -0
  63. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/json/glossary.data.ts +51 -0
  64. package/auto.pareto/{modules/fountain_pen → auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/nested}/api.data.ts +1 -3
  65. package/auto.pareto/{modules/fountain_pen → auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/nested}/glossary.data.ts +8 -11
  66. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/numerical_predicates/api.data.ts +18 -0
  67. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/numerical_predicates/glossary.data.ts +40 -0
  68. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/path/api.data.ts +19 -0
  69. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/path/glossary.data.ts +35 -0
  70. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/resolve/api.data.ts +20 -0
  71. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/resolve/glossary.data.ts +84 -0
  72. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/string/api.data.ts +26 -0
  73. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/string/glossary.data.ts +75 -0
  74. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/tostring/api.data.ts +19 -0
  75. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-impure-library/modules/tostring/glossary.data.ts +42 -0
  76. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/$.data.ts +46 -0
  77. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/arithmetic/api.data.ts +19 -0
  78. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/arithmetic/glossary.data.ts +76 -0
  79. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +19 -0
  80. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +52 -0
  81. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/boolean/api.data.ts +21 -0
  82. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts +45 -0
  83. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/build/api.data.ts +25 -0
  84. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/build/glossary.data.ts +133 -0
  85. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +49 -0
  86. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +119 -0
  87. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/json/api.data.ts +15 -0
  88. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/json/glossary.data.ts +47 -0
  89. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +15 -0
  90. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/nested/glossary.data.ts +29 -0
  91. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +15 -0
  92. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +52 -0
  93. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +17 -0
  94. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +39 -0
  95. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +19 -0
  96. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +42 -0
  97. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/res-typescript/$.data.ts +35 -0
  98. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/res-typescript/modules/naming/api.data.ts +15 -0
  99. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/res-typescript/modules/naming/glossary.data.ts +34 -0
  100. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/res-typescript/modules/serialize/api.data.ts +18 -0
  101. package/auto.pareto/auto.dependencies/pareto-pure/auto.dependencies/res-typescript/modules/serialize/glossary.data.ts +42 -0
  102. package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.cosmos_type_system.data.ts +19 -12
  103. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.cosmos_typescript.data.ts +122 -0
  104. package/auto.pareto/auto.dependencies/pareto-pure/glossaries/auto.tendril_resolved.data.ts +1025 -0
  105. package/auto.pareto/{modules → auto.dependencies/pareto-pure/modules}/cosmos2pareto/glossary.data.ts +3 -11
  106. package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen/api.data.ts +19 -0
  107. package/auto.pareto/auto.dependencies/pareto-pure/modules/fountain_pen/glossary.data.ts +55 -0
  108. package/auto.pareto/auto.dependencies/pareto-pure/modules/liana2tendril/api.data.ts +24 -0
  109. package/auto.pareto/auto.dependencies/pareto-pure/modules/liana2tendril/glossary.data.ts +48 -0
  110. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2cosmos_type_system/api.data.ts +16 -0
  111. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2cosmos_type_system/glossary.data.ts +73 -0
  112. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2pareto/api.data.ts +16 -0
  113. package/auto.pareto/auto.dependencies/pareto-pure/modules/tendril2pareto/glossary.data.ts +33 -0
  114. package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult/api.data.ts +26 -0
  115. package/auto.pareto/auto.dependencies/pareto-pure/modules/testresult/glossary.data.ts +144 -0
  116. package/auto.pareto/auto.dependencies/pareto-standard-library/$.data.ts +46 -0
  117. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/arithmetic/api.data.ts +19 -0
  118. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/arithmetic/glossary.data.ts +76 -0
  119. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/api.data.ts +19 -0
  120. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/array/glossary.data.ts +52 -0
  121. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/api.data.ts +21 -0
  122. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/boolean/glossary.data.ts +45 -0
  123. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/build/api.data.ts +25 -0
  124. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/build/glossary.data.ts +133 -0
  125. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/api.data.ts +49 -0
  126. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/dictionary/glossary.data.ts +119 -0
  127. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/json/api.data.ts +15 -0
  128. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/json/glossary.data.ts +47 -0
  129. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/api.data.ts +15 -0
  130. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/nested/glossary.data.ts +29 -0
  131. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/api.data.ts +15 -0
  132. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/resolve/glossary.data.ts +52 -0
  133. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/api.data.ts +17 -0
  134. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/string/glossary.data.ts +39 -0
  135. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/api.data.ts +19 -0
  136. package/auto.pareto/auto.dependencies/pareto-standard-library/modules/tostring/glossary.data.ts +42 -0
  137. package/auto.pareto/auto.dependencies/pareto-subatomic-library/$.data.ts +36 -0
  138. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/api.data.ts +23 -0
  139. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/array/glossary.data.ts +88 -0
  140. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/api.data.ts +27 -0
  141. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/dictionary/glossary.data.ts +82 -0
  142. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/api.data.ts +16 -0
  143. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/json/glossary.data.ts +51 -0
  144. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/numerical_predicates/api.data.ts +18 -0
  145. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/numerical_predicates/glossary.data.ts +40 -0
  146. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/api.data.ts +42 -0
  147. package/auto.pareto/auto.dependencies/pareto-subatomic-library/modules/string/glossary.data.ts +109 -0
  148. package/auto.pareto/modules/pareto2typescript/api.data.ts +8 -11
  149. package/auto.pareto/modules/pareto2typescript/glossary.data.ts +33 -22
  150. package/auto.pareto/modules/typescript_naming/api.data.ts +28 -0
  151. package/auto.pareto/modules/typescript_naming/glossary.data.ts +34 -0
  152. package/auto.pareto/modules/typescript_serialize/api.data.ts +17 -0
  153. package/auto.pareto/modules/typescript_serialize/glossary.data.ts +36 -0
  154. package/package.json +6 -5
  155. package/auto.dist/public/cosmos__2__pareto/auto.api.d.ts +0 -6
  156. package/auto.dist/public/cosmos__2__pareto/auto.implementation.d.ts +0 -2
  157. package/auto.dist/public/cosmos__2__pareto/auto.implementation.js +0 -6
  158. package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.d.ts +0 -3281
  159. package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.shadow.d.ts +0 -29
  160. package/auto.dist/public/cosmos__2__pareto/auto.provided_interface_glossary.shadow.js +0 -3
  161. package/auto.dist/public/cosmos__2__pareto/implementations/library2ParetoComparators.alg.d.ts +0 -2
  162. package/auto.dist/public/cosmos__2__pareto/implementations/library2ParetoComparators.alg.js +0 -359
  163. package/auto.dist/public/fountain__pen/auto.implementation.d.ts +0 -2
  164. package/auto.dist/public/fountain__pen/auto.implementation.js +0 -6
  165. package/auto.dist/public/fountain__pen/auto.provided_interface_glossary.d.ts +0 -29
  166. package/auto.dist/public/fountain__pen/auto.provided_interface_glossary.shadow.js +0 -3
  167. package/auto.dist/public/fountain__pen/implementations/serialize.alg.d.ts +0 -2
  168. package/auto.dist/public/fountain__pen/implementations/serialize.alg.js +0 -98
  169. package/auto.dist/public/glossaries/cosmos__type__system.d.ts +0 -1760
  170. package/auto.dist/public/glossaries/cosmos__type__system.js +0 -3
  171. package/auto.dist/public/glossaries/cosmos__type__system.shadow.d.ts +0 -8
  172. package/auto.dist/public/glossaries/cosmos__type__system.shadow.js +0 -3
  173. package/auto.dist/public/glossaries/grammar.d.ts +0 -260
  174. package/auto.dist/public/glossaries/grammar.js +0 -3
  175. package/auto.dist/public/glossaries/grammar.shadow.d.ts +0 -8
  176. package/auto.dist/public/glossaries/grammar.shadow.js +0 -3
  177. package/auto.dist/public/glossaries/liana.d.ts +0 -2433
  178. package/auto.dist/public/glossaries/liana.js +0 -3
  179. package/auto.dist/public/glossaries/liana.shadow.d.ts +0 -8
  180. package/auto.dist/public/glossaries/liana.shadow.js +0 -3
  181. package/auto.dist/public/glossaries/pareto.d.ts +0 -1503
  182. package/auto.dist/public/glossaries/pareto.js +0 -3
  183. package/auto.dist/public/glossaries/pareto.shadow.d.ts +0 -8
  184. package/auto.dist/public/glossaries/pareto.shadow.js +0 -3
  185. package/auto.dist/public/glossaries/tendril.d.ts +0 -1425
  186. package/auto.dist/public/glossaries/tendril.js +0 -3
  187. package/auto.dist/public/glossaries/tendril.shadow.d.ts +0 -8
  188. package/auto.dist/public/glossaries/tendril.shadow.js +0 -3
  189. package/auto.dist/public/pareto__2__typescript/auto.provided_interface_glossary.shadow.js +0 -3
  190. package/auto.dist/public/pareto__2__typescript/implementations/serializeCompilationUnit.alg.js +0 -558
  191. package/auto.dist/public/shorthands/cosmos.d.ts +0 -50
  192. package/auto.dist/public/shorthands/cosmos.js +0 -512
  193. package/auto.dist/public/shorthands/grammar.d.ts +0 -13
  194. package/auto.dist/public/shorthands/grammar.js +0 -110
  195. package/auto.dist/public/shorthands/liana.d.ts +0 -66
  196. package/auto.dist/public/shorthands/liana.js +0 -728
  197. package/auto.dist/public/shorthands/pareto.d.ts +0 -48
  198. package/auto.dist/public/shorthands/pareto.js +0 -243
  199. package/auto.dist/public/shorthands/tendril.d.ts +0 -48
  200. package/auto.dist/public/shorthands/tendril.js +0 -402
  201. /package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.api.d.ts +0 -0
  202. /package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/auto.implementation.d.ts +0 -0
  203. /package/auto.dist/public/{pareto__2__typescript → modules/pareto2typescript}/implementations/serializeCompilationUnit.alg.d.ts +0 -0
  204. /package/auto.dist/public/{cosmos__2__pareto → modules/pareto2typescript}/index.d.ts +0 -0
  205. /package/auto.dist/public/{fountain__pen → modules/typescript__naming}/index.d.ts +0 -0
  206. /package/auto.dist/public/{pareto__2__typescript → modules/typescript__serialize}/index.d.ts +0 -0
  207. /package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.grammar.data.ts +0 -0
  208. /package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.liana.data.ts +0 -0
  209. /package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.pareto.data.ts +0 -0
  210. /package/auto.pareto/{glossaries → auto.dependencies/pareto-pure/glossaries}/auto.tendril.data.ts +0 -0
  211. /package/auto.pareto/{modules → auto.dependencies/pareto-pure/modules}/cosmos2pareto/api.data.ts +0 -0
@@ -0,0 +1,60 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
4
+
5
+ import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
6
+
7
+ import { $ as glos } from "./glossary.data"
8
+ import { aInterface, aInterfaceMethod, glossary, group, member, number, sInterface, sInterfaceMethod, streamconsumer, string, type, typeReference } from 'pareto/auto.dist/public/shorthands/cosmos'
9
+
10
+ export const $: g_project.D.API = api(
11
+ glos,
12
+ {
13
+ /**
14
+ * does the dictionary contain the specified key
15
+ */
16
+ "contains": algorithm("Contains", null, {}),
17
+ /**
18
+ * is the dictionary empty (no entries)
19
+ */
20
+ "isEmpty": algorithm("IsEmpty", null, {}),
21
+ /**
22
+ * a dictionary where every entry contains optional data is transformed
23
+ * into a dictionary with only the entries that contained data
24
+ */
25
+ "filter": algorithm("Filter", null, {}),
26
+ /**
27
+ * a dictionary with containing entries with values and a key candidate is transformed
28
+ * into a dictionary where the new key of the entry is the candidate. If candidates are not unique
29
+ * the function panics
30
+ */
31
+ "unsafeRekey": algorithm("UnsafeRekey", null, {}),
32
+ /**
33
+ * 2 dictionaries are combined into 1 dictionary. If keys are not unique this function panics.
34
+ */
35
+ "unsafeMerge": algorithm("UnsafeMerge", null, {}),
36
+ /**
37
+ * a key/value pair is added to a dictionary resulting in a new dictionary.
38
+ * if the key is not unique the function panics
39
+ */
40
+ "unsafeAddEntry": algorithm("UnsafeAddEntry", null, {}),
41
+ /**
42
+ * a focus dictionary is matched to a benchmark dictionary resulting in a result dictionary
43
+ * this last dictionary contains all entries found in the benchmark dictionary.
44
+ * each entry value is optionally supplemented with the value of the focus entry, if found.
45
+ */
46
+ "matchDictionaries": algorithm("MatchDictionaries", null, {}),
47
+ /**
48
+ * 2 dictionaries are combined into 1 dictionary. is a key exists in both directories, only the entry of the last dictionary will be used.
49
+ */
50
+ "mergeAndOverwrite": algorithm("MergeAndOverwrite", null, {}),
51
+ /**
52
+ * the keys of the outermost dictionary is combined with the key of the innermost dictionary
53
+ */
54
+ "flattenDictionaryOfDictionaries": algorithm("FlattenDictionaryOfDictionaries", null, {}),
55
+ /**
56
+ * 2 dictionaries are combined into 1 dictionary. is a key exists in both directories, only the entry of the first dictionary will be used.
57
+ */
58
+ "mergeAndIgnore": algorithm("MergeAndIgnore", null, {}),
59
+ }
60
+ )
@@ -0,0 +1,130 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ dictionary,
5
+ typeReference,
6
+ data,
7
+ sfunction,
8
+ ref,
9
+ typeParameter,
10
+ externalTypeReference,
11
+ parametrizedType,
12
+ optional,
13
+ group,
14
+ member,
15
+ aInterface,
16
+ streamconsumer,
17
+ aInterfaceMethod,
18
+ type,
19
+ string,
20
+ boolean,
21
+ sInterface,
22
+ sInterfaceMethod,
23
+ } from "pareto/auto.dist/public/shorthands/cosmos"
24
+
25
+ import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
26
+ const d = pd.d
27
+
28
+ export const $: g_glossary.D.Glossary = {
29
+ 'glossary parameters': d({}),
30
+ 'imports': d({
31
+ }),
32
+ 'root': {
33
+ 'namespaces': d({}),
34
+ 'data types': d({
35
+ "Boolean": type(boolean()),
36
+ "String": type(string()),
37
+ "KeyValuePair": parametrizedType({ "Type": null }, group({
38
+ "key": member(string()),
39
+ "value": member(ref(typeParameter("Type"))),
40
+ })),
41
+ "Dictionary": parametrizedType({ "Type": null }, dictionary(ref(typeParameter("Type")))),
42
+ "DictionaryAndKey": parametrizedType({ "Type": null }, group({
43
+ "dictionary": member(dictionary(ref(typeParameter("Type")))),
44
+ "key": member(string()),
45
+ })),
46
+ "FilterableDictionary": parametrizedType({ "Type": null }, dictionary(optional(ref(typeParameter("Type"))))),
47
+ "MergeParameters": parametrizedType({ "Type": null }, group({
48
+ "primary": member(ref(typeReference("Dictionary", { "Type": typeParameter("Type") }))),
49
+ "secondary": member(ref(typeReference("Dictionary", { "Type": typeParameter("Type") }))),
50
+ })),
51
+ "MatchedDictionary": parametrizedType({ "Benchmark": null, "Focus": null }, dictionary(group({
52
+ "benchmark": member(ref(typeParameter("Benchmark"))),
53
+ "focus": member(optional(ref(typeParameter("Focus")))),
54
+ }))),
55
+
56
+ "DictionaryTuple": parametrizedType({ "Benchmark": null, "Focus": null }, group({
57
+ "benchmark": member(ref(typeReference("Dictionary", { "Type": typeParameter("Benchmark") }))),
58
+ "focus": member(ref(typeReference("Dictionary", { "Type": typeParameter("Focus") }))),
59
+ })),
60
+ "FlattenDictionaryOfDictionariesParameters": parametrizedType({ "Type": null }, group({
61
+ "dictionaries": member(dictionary(ref(typeReference("Dictionary", { "Type": typeParameter("Type") })))),
62
+ "separator": member(string()),
63
+ "escape": member(string()),// to escape if the separator appears in the key of the top level dictionary
64
+ })),
65
+ "UnsafeAddEntryParameters": parametrizedType({ "Type": null }, group({
66
+ "dictionary": member(ref(typeReference("Dictionary", { "Type": typeParameter("Type") }))),
67
+ "keyValuePair": member(ref(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))
68
+ })),
69
+
70
+
71
+ "RekeyDictionary": parametrizedType({ "Type": null }, dictionary(ref(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))),
72
+
73
+ }),
74
+ },
75
+ 'interface types': d({
76
+ }),
77
+ 'algorithm types': d({
78
+ "Contains": sfunction(
79
+ typeReference("Boolean"),
80
+ data(typeReference("DictionaryAndKey", { "Type": typeParameter("Type") })),
81
+ { "Type": null }
82
+ ),
83
+ "IsEmpty": sfunction(
84
+ typeReference("Boolean"),
85
+ data(typeReference("Dictionary", { "Type": typeParameter("Type") })),
86
+ { "Type": null }
87
+ ),
88
+ "Filter": sfunction(
89
+ typeReference("Dictionary", { "Type": typeParameter("Type") }),
90
+ data(typeReference("FilterableDictionary", { "Type": typeParameter("Type") })),
91
+ { "Type": null }
92
+ ),
93
+ "UnsafeRekey": sfunction(
94
+ typeReference("Dictionary", { "Type": typeParameter("Type") }),
95
+ data(typeReference("RekeyDictionary", { "Type": typeParameter("Type") })),
96
+ { "Type": null }
97
+ ),
98
+ "UnsafeMerge": sfunction(
99
+ typeReference("Dictionary", { "Type": typeParameter("Type") }),
100
+ data(typeReference("MergeParameters", { "Type": typeParameter("Type") })),
101
+ { "Type": null }
102
+ ),
103
+ "UnsafeAddEntry": sfunction(
104
+ typeReference("Dictionary", { "Type": typeParameter("Type") }),
105
+ data(typeReference("UnsafeAddEntryParameters", { "Type": typeParameter("Type") })),
106
+ { "Type": null }
107
+ ),
108
+ "MergeAndIgnore": sfunction(
109
+ typeReference("Dictionary", { "Type": typeParameter("Type") }),
110
+ data(typeReference("MergeParameters", { "Type": typeParameter("Type") })),
111
+ { "Type": null }
112
+ ),
113
+ "MatchDictionaries": sfunction(
114
+ typeReference("MatchedDictionary", { "Benchmark": typeParameter("Benchmark"), "Focus": typeParameter("Focus") }),
115
+ data(typeReference("DictionaryTuple", { "Benchmark": typeParameter("Benchmark"), "Focus": typeParameter("Focus") })),
116
+ { "Benchmark": null, "Focus": null }
117
+ ),
118
+ "FlattenDictionaryOfDictionaries": sfunction(
119
+ typeReference("Dictionary", { "Type": typeParameter("Type") }),
120
+ data(typeReference("FlattenDictionaryOfDictionariesParameters", { "Type": typeParameter("Type") })),
121
+ { "Type": null }
122
+ ),
123
+ "MergeAndOverwrite": sfunction(
124
+ typeReference("Dictionary", { "Type": typeParameter("Type") }),
125
+ data(typeReference("MergeParameters", { "Type": typeParameter("Type") })),
126
+ { "Type": null }
127
+ ),
128
+ }),
129
+
130
+ }
@@ -0,0 +1,19 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
4
+
5
+ import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
6
+
7
+ import { $ as glos } from "./glossary.data"
8
+ import { glossary, group, member, number, type } from 'pareto/auto.dist/public/shorthands/cosmos'
9
+
10
+ export const $: g_project.D.API = api(
11
+ glos,
12
+ {
13
+ "createFileWriter": algorithm("CreateFileWriter", null, {}),
14
+ //"openFileStream": algorithm(functionReference("this", {}, "GetFile"), null, {}),
15
+ "makeDirectory": algorithm("MakeDirectory", null, {}),
16
+ "readDirectory": algorithm("ReadDirectory", null, {}),
17
+ "unlink": algorithm("Unlink", null, {}),
18
+ }
19
+ )
@@ -0,0 +1,189 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ infInit,
5
+ afunction, aInterfaceMethod, aInterfaceReference, boolean, data, dictionary, externalTypeReference, group,
6
+ member, null_, parametrizedType, ref, streamconsumer, string, taggedUnion, type, typeParameter, typeReference, aInterface,
7
+ array
8
+ } from "pareto/auto.dist/public/shorthands/cosmos"
9
+
10
+ import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
11
+
12
+ const d = pd.d
13
+
14
+ export const $: g_glossary.D.Glossary = {
15
+ 'glossary parameters': d({}),
16
+ 'imports': d({
17
+ }),
18
+ 'root': {
19
+ 'namespaces': d({}),
20
+ 'data types': d({
21
+ "Null": type(null_()),
22
+ "String": type(string()),
23
+ "Path": type(array(string())),
24
+ "AnnotatedError": parametrizedType({ "Error": null }, group({
25
+ "path": member(ref(typeReference("String"))),
26
+ "error": member(ref(typeParameter("Error"))),
27
+ })),
28
+ "Result": parametrizedType({
29
+ "Error": null,
30
+ "Success": null,
31
+ }, taggedUnion({
32
+ "error": ref(typeParameter("Error")),
33
+ "success": ref(typeParameter("Success")),
34
+ })),
35
+ "AnnotatedReadDirError": type(ref(typeReference("AnnotatedError", {
36
+ "Error": typeReference("ReadDirError"),
37
+ }))),
38
+ "AnnotatedReadFileError": type(ref(typeReference("AnnotatedError", {
39
+ "Error": typeReference("ReadFileError"),
40
+ }))),
41
+ "AnnotatedRmdirError": type(ref(typeReference("AnnotatedError", {
42
+ "Error": typeReference("RmdirError"),
43
+ }))),
44
+ "AnnotatedMkdirError": type(ref(typeReference("AnnotatedError", {
45
+ "Error": typeReference("MkdirError"),
46
+ }))),
47
+ "AnnotatedUnlinkError": type(ref(typeReference("AnnotatedError", {
48
+ "Error": typeReference("UnlinkError"),
49
+ }))),
50
+ "AnnotatedWriteFileError": type(ref(typeReference("AnnotatedError", {
51
+ "Error": typeReference("WriteFileError"),
52
+ }))),
53
+ "WriteFileParameters": type(group({
54
+ "path": member(ref(typeReference("Path"))),
55
+ "overwrite if exists": member(boolean()),
56
+ "create containing directories": member(boolean()),
57
+ })),
58
+ // "AnnotatedReadFileError": group({
59
+ // "path": member(str()),
60
+ // "error": member(taggedUnion({
61
+ // "no entity": null_(),
62
+ // "is directory": null_(),
63
+ // "unknown": type(group({
64
+ // "message": member(str()),
65
+ // })),
66
+ // })),
67
+ // }),
68
+ "DirNodeData": type(group({
69
+ "path": member(string()),
70
+ "type": member(taggedUnion({
71
+ "directory": null_(),
72
+ "file": null_(),
73
+ "unknown": null_(),
74
+ })),
75
+ })),
76
+ "MkdirError": type(taggedUnion({
77
+ "no entity": null_(),
78
+ "exists": null_(),
79
+ "unknown": group({
80
+ "message": member(string()),
81
+ }),
82
+ })),
83
+ "Mkdir_Data": type(group({
84
+ "path": member(ref(typeReference("Path"))),
85
+ "createContainingDirectories": member(boolean()),
86
+ })),
87
+ "Mkdir_Result": type(ref(typeReference("Result", {
88
+ "Error": typeReference("AnnotatedMkdirError"),
89
+ "Success": typeReference("Null"),
90
+ }))),
91
+ "ReadDirectory_Data": type(group({
92
+ "path": member(ref(typeReference("Path"))),
93
+ })),
94
+ "ReadDirectory_Success": type(dictionary(ref(typeReference("DirNodeData")))),
95
+ "ReadDirectory_Result": type(ref(typeReference("Result", {
96
+ "Error": typeReference("AnnotatedReadDirError"),
97
+ "Success": typeReference("ReadDirectory_Success"),
98
+ }))),
99
+ "ReadDirError": type(taggedUnion({
100
+ "no entity": null_(),
101
+ "is not directory": null_(),
102
+ "unknown": group({
103
+ "message": member(string()),
104
+ }),
105
+ })),
106
+ "ReadFile_Result": type(ref(typeReference("Result", {
107
+ "Error": typeReference("AnnotatedReadFileError"),
108
+ "Success": typeReference("String"),
109
+ }))),
110
+
111
+ "ReadFile_Data": type(group({
112
+ "path": member(ref(typeReference("Path"))),
113
+ })),
114
+ "ReadFileError": type(taggedUnion({
115
+ "no entity": null_(),
116
+ "is directory": null_(),
117
+ "unknown": group({
118
+ "message": member(string()),
119
+ }),
120
+ })),
121
+ "RmdirError": type(taggedUnion({
122
+ "no entity": null_(),
123
+ "not empty": null_(),
124
+ "unknown": group({
125
+ "message": member(string()),
126
+ }),
127
+ })),
128
+ "UnlinkError": type(taggedUnion({
129
+ "no entity": null_(),
130
+ "is directory": null_(),
131
+ "unknown": group({
132
+ "message": member(string()),
133
+ }),
134
+ })),
135
+ "Unlink_Data": type(group({
136
+ "path": member(ref(typeReference("Path"))),
137
+ })),
138
+ "Unlink_Result": type(ref(typeReference("Result", {
139
+ "Error": typeReference("AnnotatedUnlinkError"),
140
+ "Success": typeReference("Null"),
141
+ }))),
142
+
143
+ // "WriteFile_Result": type(ref(typeReference("Result", {
144
+ // "Error": typeReference("AnnotatedWriteFileError"),
145
+ // "Success": typeReference("common", "Null"),
146
+ // })),
147
+
148
+ "WriteFileError": type(taggedUnion({
149
+ "no entity": null_(),
150
+ "is directory": null_(),
151
+ "unknown": group({
152
+ "message": member(string()),
153
+ }),
154
+ })),
155
+ }),
156
+ },
157
+ 'interface types': d({
158
+ //these should be defined somewhere but is this the place
159
+ // "HandleReadDirError": interfaceMethod(typeReference("AnnotatedReadDirFileError"), null, null, null),
160
+ // "HandleReadFileError": interfaceMethod(typeReference("AnnotatedReadFileError"), null, null, null),
161
+ // "HandleMkdirError": interfaceMethod(typeReference("AnnotatedMkdirError"), null, null, null),
162
+ // "HandleUnlinkError": interfaceMethod(typeReference("AnnotatedUnlinkError"), null, null, null),
163
+
164
+
165
+ "OnFileWriteError": aInterface(aInterfaceMethod(typeReference("AnnotatedWriteFileError"))),
166
+
167
+
168
+ // "Reader": ['group', {
169
+ // 'members': d({
170
+ // "init": builderMethod(null, ['reference', builderReference("StreamConsumer")]),
171
+ // "onError": builderMethod(typeReference("AnnotatedReadFileError")),
172
+ // }),
173
+ // }]
174
+ "StringStreamConsumer": aInterface(streamconsumer(
175
+ aInterfaceMethod(typeReference("String")),
176
+ aInterfaceMethod(null),
177
+ )),
178
+ "WriteFile": aInterface(aInterfaceMethod(typeReference("WriteFileParameters"), ['reference', aInterfaceReference("StringStreamConsumer")])),
179
+ }),
180
+ 'algorithm types': d({
181
+ "CreateFileWriter": infInit(aInterfaceReference("WriteFile"), {
182
+ "onWriteFileError": aInterfaceReference("OnFileWriteError"),
183
+ }),
184
+ "MakeDirectory": afunction(typeReference("Mkdir_Result"), typeReference("Mkdir_Data")),
185
+ "ReadDirectory": afunction(typeReference("ReadDirectory_Result"), typeReference("ReadDirectory_Data")),
186
+ "Unlink": afunction(typeReference("Unlink_Result"), typeReference("Unlink_Data")),
187
+ //"OpenFIleStream": afunc(typeReference("common", "Path"), null, null, inf(interfaceReference("Reader"))),
188
+ }),
189
+ }
@@ -0,0 +1,25 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
4
+
5
+ import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
6
+
7
+ import { $ as glos } from "./glossary.data"
8
+ import { glossary, sibling, group, member, number, type } from 'pareto/auto.dist/public/shorthands/cosmos'
9
+
10
+ // import { $ as g_collation } from "../collation/glossary.data"
11
+
12
+ export const $: g_project.D.API = api(
13
+ glos,
14
+ {
15
+ "arrayForEach": algorithm("ArrayForEach", null, {}),
16
+ "dictionaryForEach": algorithm("DictionaryForEach", null, {
17
+ //FIXME "compare": sibling("collation", "IsABeforeB"),
18
+ }),
19
+ "enrichedArrayForEach": algorithm("EnrichedArrayForEach", null, {}),
20
+ "enrichedDictionaryForEach": algorithm("EnrichedDictionaryForEach", null, {
21
+ //FIXME "compare": sibling("collation", "IsABeforeB"),
22
+ }),
23
+ "decorateDictionaryEntriesWithKey": algorithm("DecorateDictionaryEntriesWithKey", null, {}),
24
+ }
25
+ )
@@ -0,0 +1,78 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ string,
5
+ dictionary, member, group,
6
+ array,
7
+ typeReference,
8
+ boolean,
9
+ ref,
10
+ sInterfaceMethod,
11
+ sfunction,
12
+ data,
13
+ procedure,
14
+ sInterfaceReference,
15
+ parametrizedType,
16
+ typeParameter,
17
+ sInterface,
18
+ optional,
19
+
20
+ } from "pareto/auto.dist/public/shorthands/cosmos"
21
+
22
+ import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
23
+ const d = pd.d
24
+
25
+ export const $: g_glossary.D.Glossary = {
26
+ 'glossary parameters': d({}),
27
+ 'imports': d({}),
28
+ 'root': {
29
+ 'namespaces': d({}),
30
+ 'data types': d({
31
+ "Array": parametrizedType({ "Type": null }, array(ref(typeParameter("Type")))),
32
+ "Dictionary": parametrizedType({ "Type": null }, dictionary(ref(typeParameter("Type")))),
33
+ "KeyValueDictionary": parametrizedType({ "Type": null }, dictionary(ref(typeReference("KeyValuePair", { "Type": typeParameter("Type") })))),
34
+ "KeyValuePair": parametrizedType({ "Type": null }, group({
35
+ "key": member(string()),
36
+ "value": member(ref(typeParameter("Type"))),
37
+ })),
38
+ "AnnotatedEntry": parametrizedType({ "Type": null }, group({
39
+ "isFirst": member(boolean()),
40
+ "isLast": member(boolean()),
41
+ "key": member(string()),
42
+ "value": member(ref(typeParameter("Type"))),
43
+ })),
44
+ "AnnotatedElement": parametrizedType({ "Type": null }, group({
45
+ "isFirst": member(boolean()),
46
+ "isLast": member(boolean()),
47
+ "value": member(ref(typeParameter("Type"))),
48
+ })),
49
+
50
+
51
+ }),
52
+ },
53
+ 'interface types': d({
54
+ "OnElement": sInterface(sInterfaceMethod(typeParameter("Type")), { "Type": null }),
55
+ "OnEntry": sInterface(sInterfaceMethod(typeReference("KeyValuePair", { "Type": typeParameter("Type") })), { "Type": null }),
56
+ "OnEnrichedDictionary": sInterface(['group', {
57
+ 'members': d({
58
+ "onEmpty": sInterfaceMethod(null),
59
+ "onNotEmpty": sInterfaceMethod(null, sInterfaceMethod(typeReference("AnnotatedEntry", { "Type": typeParameter("Type") }))),
60
+ }),
61
+ }], { "Type": null }),
62
+ "OnEnrichedArray": sInterface(['group', {
63
+ 'members': d({
64
+ "onEmpty": sInterfaceMethod(null),
65
+ "onNotEmpty": sInterfaceMethod(null, sInterfaceMethod(typeReference("AnnotatedElement", { "Type": typeParameter("Type") }))),
66
+ }),
67
+ }], { "Type": null }),
68
+ }),
69
+ 'algorithm types': d({
70
+ "ArrayForEach": procedure(data(typeReference("Array", { "Type": typeParameter("Type") })), sInterfaceReference("OnElement", { "Type": typeParameter("Type") }), { "Type": null }),
71
+ "DictionaryForEach": procedure(data(typeReference("Dictionary", { "Type": typeParameter("Type") })), sInterfaceReference("OnEntry", { "Type": typeParameter("Type") }), { "Type": null }),
72
+ "EnrichedDictionaryForEach": procedure(data(typeReference("Dictionary", { "Type": typeParameter("Type") })), sInterfaceReference("OnEnrichedDictionary", { "Type": typeParameter("Type") }), { "Type": null }),
73
+ "EnrichedArrayForEach": procedure(data(typeReference("Array", { "Type": typeParameter("Type") })), sInterfaceReference("OnEnrichedArray", { "Type": typeParameter("Type") }), { "Type": null }),
74
+ "DecorateDictionaryEntriesWithKey": sfunction(typeReference("KeyValueDictionary", { "Type": typeParameter("Type") }), data(typeReference("Dictionary", { "Type": typeParameter("Type") })), { "Type": null }),
75
+
76
+
77
+ }),
78
+ }
@@ -0,0 +1,16 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
4
+
5
+ import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
6
+
7
+ import { $ as glos } from "./glossary.data"
8
+ import { array, glossary, group, member, number, ref, string, taggedUnion, type, typeReference } from 'pareto/auto.dist/public/shorthands/cosmos'
9
+
10
+ export const $: g_project.D.API = api(
11
+ glos,
12
+ {
13
+ "initializeHTTPServerProxy": algorithm("Initialize HTTP Server Proxy", "Configuration", {}),
14
+ "initializeHTTPSServerProxy": algorithm("Initialize HTTP Server Proxy", "Configuration", {}),
15
+ }
16
+ )
@@ -0,0 +1,69 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ aInterface, aInterfaceMethod, aInterfaceReference, array, boolean,
5
+ group, member, ref, resource, streamconsumer, string, taggedUnion, type, typeReference
6
+ } from "pareto/auto.dist/public/shorthands/cosmos"
7
+
8
+ import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
9
+
10
+ const d = pd.d
11
+
12
+ export const $: g_glossary.D.Glossary = {
13
+ 'glossary parameters': d({}),
14
+ 'imports': d({
15
+ }),
16
+ 'root': {
17
+ 'namespaces': d({}),
18
+ 'data types': d({
19
+ "Path": type(array(string())),
20
+ "EncounteredErrors": type(boolean()),
21
+ "Data": type(taggedUnion({
22
+ "error": ref(typeReference("HTTPError")),
23
+ "data": string()
24
+ })),
25
+ "HTTPError": type(taggedUnion({
26
+ "unknown": string(),
27
+ })),
28
+
29
+
30
+ "Configuration": type(group({
31
+ "hostName": member(string()),
32
+ "contextPath": member(ref(typeReference("Path"))),
33
+ })),
34
+ }),
35
+ },
36
+ 'interface types': d({
37
+
38
+ //"HandleError": interfaceMethod(typeReference("HTTPError")),
39
+ // "ProcessHTTPResource": func(typeReference("common", "Path"), null, builderReference("Init"), null),
40
+ //"Init": aInterface(aInterfaceMethod(null, ['reference', aInterfaceReference("StreamConsumer")])),
41
+ // "Init": ['choice', {
42
+ // 'options': d({
43
+ // "success": ['reference', aInterfaceReference("StreamConsumer")],
44
+ // "error": ['reference', aInterfaceReference("ErrorStreamConsumer")],
45
+ // })
46
+ // }],
47
+ // "Init": builderMethod(null, ['reference', {
48
+ // 'context': ['local', null],
49
+ // 'interface': "StreamConsumer"
50
+ // }], false),
51
+ // "StreamConsumer": aInterface(streamconsumer(
52
+ // aInterfaceMethod(externalTypeReference("common", "String")),
53
+ // aInterfaceMethod(typeReference("EncounteredErrors")),
54
+ // )),
55
+ "Consumer": aInterface(streamconsumer(
56
+ aInterfaceMethod(typeReference("Data")),
57
+ aInterfaceMethod(null),
58
+ )),
59
+ }),
60
+ 'algorithm types': d({
61
+ "Initialize HTTP Server Proxy": resource(typeReference("Path"), aInterfaceReference("Consumer")),
62
+ // "HTTPRequest": a(, {
63
+ // "init": aInterfaceReference("Init"),
64
+ // "errorConsumer": aInterfaceReference("ErrorStreamConsumer")
65
+ // })
66
+
67
+ }),
68
+
69
+ }
@@ -0,0 +1,16 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import { algorithm, algref, api } from "pareto/auto.dist/public/shorthands/cosmos"
4
+
5
+ import * as g_project from "pareto/auto.dist/public/glossaries/cosmos__type__system"
6
+
7
+ import { $ as glos } from "./glossary.data"
8
+ import { glossary, group, member, number, sInterface, sInterfaceMethod, string, type, typeReference } from 'pareto/auto.dist/public/shorthands/cosmos'
9
+
10
+ export const $: g_project.D.API = api(
11
+ glos,
12
+ {
13
+ "convertJSON": algorithm("ConvertJSON", null, {}),
14
+ "unsafeConvertJSON": algorithm("UnsafeConvertJSON", null, {}),
15
+ }
16
+ )
@@ -0,0 +1,51 @@
1
+ import * as pd from 'pareto-core-data'
2
+
3
+ import {
4
+ array, afunction, boolean, computed, data, dictionary,
5
+ glossaryParameter, group, member, number, optional, ref, sfunction, string, type, typeReference,
6
+ taggedUnion,
7
+ null_,
8
+ sInterface,
9
+ sInterfaceMethod
10
+ } from "pareto/auto.dist/public/shorthands/cosmos"
11
+
12
+ import * as g_glossary from "pareto/auto.dist/public/glossaries/cosmos__type__system"
13
+
14
+ const d = pd.d
15
+
16
+ export const $: g_glossary.D.Glossary = {
17
+ 'glossary parameters': d({
18
+ }),
19
+ 'imports': d({}),
20
+ 'root': {
21
+ 'namespaces': d({}),
22
+ 'data types': d({
23
+ "String": type(string()),
24
+ "Result": type(taggedUnion({
25
+ "success": ref(typeReference("JSONValue")),
26
+ "error": string(),
27
+ })),
28
+ //"Result": type(ref(glossaryParameter("Type"))),
29
+ "JSONValue": type(taggedUnion({
30
+ "object": dictionary(ref(typeReference("JSONValue"))),
31
+ "array": array(ref(typeReference("JSONValue"))),
32
+ "string": string(),
33
+ "number": number(),
34
+ "boolean": boolean(),
35
+ "null": null_(),
36
+ })),
37
+
38
+
39
+ }),
40
+ },
41
+ 'interface types': d({
42
+
43
+ }),
44
+ 'algorithm types': d({
45
+ "ConvertJSON": sfunction(typeReference("Result"), data(typeReference("String"))),
46
+
47
+ /*use this one if the application may crash if the JSON is invalid*/
48
+ "UnsafeConvertJSON": sfunction(typeReference("JSONValue"), data(typeReference("String"))),
49
+ //"Convert": sfunction(typeReference("Result"), data(typeReference("JSONValue"))),
50
+ }),
51
+ }