@fgv/ts-res 5.1.0-2 → 5.1.0-21

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 (571) hide show
  1. package/dist/index.browser.js.map +1 -0
  2. package/dist/index.js.map +1 -0
  3. package/dist/packlets/bundle/bundleBuilder.js.map +1 -0
  4. package/dist/packlets/bundle/bundleLoader.js.map +1 -0
  5. package/dist/packlets/bundle/bundleNormalizer.js.map +1 -0
  6. package/dist/packlets/bundle/bundleUtils.js.map +1 -0
  7. package/dist/packlets/bundle/convert.js.map +1 -0
  8. package/dist/packlets/bundle/index.js.map +1 -0
  9. package/dist/packlets/bundle/model.js.map +1 -0
  10. package/dist/packlets/common/conditions.js.map +1 -0
  11. package/dist/packlets/common/convert.js.map +1 -0
  12. package/dist/packlets/common/helpers/conditions.js.map +1 -0
  13. package/dist/packlets/common/helpers/context.js.map +1 -0
  14. package/dist/packlets/common/helpers/index.js.map +1 -0
  15. package/dist/packlets/common/helpers/qualifierDefaultValues.js.map +1 -0
  16. package/dist/packlets/common/helpers/resources.js +2 -4
  17. package/dist/packlets/common/helpers/resources.js.map +1 -0
  18. package/dist/packlets/common/index.js.map +1 -0
  19. package/dist/packlets/common/resources.js.map +1 -0
  20. package/dist/packlets/common/validate/conditions.js +4 -4
  21. package/dist/packlets/common/validate/conditions.js.map +1 -0
  22. package/dist/packlets/common/validate/index.js.map +1 -0
  23. package/dist/packlets/common/validate/regularExpressions.js +2 -2
  24. package/dist/packlets/common/validate/regularExpressions.js.map +1 -0
  25. package/dist/packlets/common/validate/resources.js +1 -1
  26. package/dist/packlets/common/validate/resources.js.map +1 -0
  27. package/dist/packlets/conditions/condition.js +3 -7
  28. package/dist/packlets/conditions/condition.js.map +1 -0
  29. package/dist/packlets/conditions/conditionCollector.js.map +1 -0
  30. package/dist/packlets/conditions/conditionDecls.js.map +1 -0
  31. package/dist/packlets/conditions/conditionSet.js.map +1 -0
  32. package/dist/packlets/conditions/conditionSetCollector.js.map +1 -0
  33. package/dist/packlets/conditions/conditionSetDecls.js.map +1 -0
  34. package/dist/packlets/conditions/conditionToken.js.map +1 -0
  35. package/dist/packlets/conditions/convert/conditionSetDecls.js.map +1 -0
  36. package/dist/packlets/conditions/convert/decls.js.map +1 -0
  37. package/dist/packlets/conditions/convert/index.js.map +1 -0
  38. package/dist/packlets/conditions/index.js.map +1 -0
  39. package/dist/packlets/config/common.js +78 -0
  40. package/dist/packlets/config/common.js.map +1 -0
  41. package/dist/packlets/config/configInitFactory.js +258 -0
  42. package/dist/packlets/config/configInitFactory.js.map +1 -0
  43. package/dist/packlets/config/convert.js +56 -0
  44. package/dist/packlets/config/convert.js.map +1 -0
  45. package/dist/packlets/config/index.browser.js +34 -0
  46. package/dist/packlets/config/index.browser.js.map +1 -0
  47. package/dist/packlets/config/index.js +28 -0
  48. package/dist/packlets/config/index.js.map +1 -0
  49. package/dist/packlets/config/json.js +23 -0
  50. package/dist/packlets/config/json.js.map +1 -0
  51. package/dist/packlets/config/predefined/default.js +138 -0
  52. package/dist/packlets/config/predefined/default.js.map +1 -0
  53. package/dist/packlets/config/predefined/extended.js +190 -0
  54. package/dist/packlets/config/predefined/extended.js.map +1 -0
  55. package/dist/packlets/config/predefined/index.js +25 -0
  56. package/dist/packlets/config/predefined/index.js.map +1 -0
  57. package/dist/packlets/config/systemConfiguration.js +147 -0
  58. package/dist/packlets/config/systemConfiguration.js.map +1 -0
  59. package/dist/packlets/context/contextDecls.js.map +1 -0
  60. package/dist/packlets/context/contextToken.js.map +1 -0
  61. package/dist/packlets/context/convert/decls.js.map +1 -0
  62. package/dist/packlets/context/convert/index.js.map +1 -0
  63. package/dist/packlets/context/index.js.map +1 -0
  64. package/dist/packlets/decisions/abstractDecision.js.map +1 -0
  65. package/dist/packlets/decisions/abstractDecisionCollector.js.map +1 -0
  66. package/dist/packlets/decisions/candidate.js.map +1 -0
  67. package/dist/packlets/decisions/common.js.map +1 -0
  68. package/dist/packlets/decisions/concreteDecision.js.map +1 -0
  69. package/dist/packlets/decisions/decision.js +1 -1
  70. package/dist/packlets/decisions/decision.js.map +1 -0
  71. package/dist/packlets/decisions/index.js.map +1 -0
  72. package/dist/packlets/import/fsItem.js +1 -4
  73. package/dist/packlets/import/fsItem.js.map +1 -0
  74. package/dist/packlets/import/importContext.js +3 -3
  75. package/dist/packlets/import/importContext.js.map +1 -0
  76. package/dist/packlets/import/importManager.js +7 -3
  77. package/dist/packlets/import/importManager.js.map +1 -0
  78. package/dist/packlets/import/importable.js.map +1 -0
  79. package/dist/packlets/import/importers/collectionImporter.js +2 -2
  80. package/dist/packlets/import/importers/collectionImporter.js.map +1 -0
  81. package/dist/packlets/import/importers/fsItemImporter.js +30 -14
  82. package/dist/packlets/import/importers/fsItemImporter.js.map +1 -0
  83. package/dist/packlets/import/importers/importer.js.map +1 -0
  84. package/dist/packlets/import/importers/index.browser.js.map +1 -0
  85. package/dist/packlets/import/importers/index.js.map +1 -0
  86. package/dist/packlets/import/importers/jsonImporter.js +2 -2
  87. package/dist/packlets/import/importers/jsonImporter.js.map +1 -0
  88. package/dist/packlets/import/importers/pathImporter.js +1 -1
  89. package/dist/packlets/import/importers/pathImporter.js.map +1 -0
  90. package/dist/packlets/import/index.browser.js.map +1 -0
  91. package/dist/packlets/import/index.js.map +1 -0
  92. package/dist/packlets/qualifier-types/config/convert.js +124 -0
  93. package/dist/packlets/qualifier-types/config/convert.js.map +1 -0
  94. package/dist/packlets/qualifier-types/config/index.js +25 -0
  95. package/dist/packlets/qualifier-types/config/index.js.map +1 -0
  96. package/dist/packlets/qualifier-types/config/json.js +32 -0
  97. package/dist/packlets/qualifier-types/config/json.js.map +1 -0
  98. package/dist/packlets/qualifier-types/convert.js.map +1 -0
  99. package/dist/packlets/qualifier-types/helpers.js.map +1 -0
  100. package/dist/packlets/qualifier-types/index.js.map +1 -0
  101. package/dist/packlets/qualifier-types/languageQualifierType.js +6 -7
  102. package/dist/packlets/qualifier-types/languageQualifierType.js.map +1 -0
  103. package/dist/packlets/qualifier-types/literalQualifierType.js +7 -10
  104. package/dist/packlets/qualifier-types/literalQualifierType.js.map +1 -0
  105. package/dist/packlets/qualifier-types/literalValueHierarchy.js.map +1 -0
  106. package/dist/packlets/qualifier-types/qualifierType.js +12 -13
  107. package/dist/packlets/qualifier-types/qualifierType.js.map +1 -0
  108. package/dist/packlets/qualifier-types/qualifierTypeCollector.js.map +1 -0
  109. package/dist/packlets/qualifier-types/territoryQualifierType.js +5 -5
  110. package/dist/packlets/qualifier-types/territoryQualifierType.js.map +1 -0
  111. package/dist/packlets/qualifiers/convert/decls.js.map +1 -0
  112. package/dist/packlets/qualifiers/convert/index.js.map +1 -0
  113. package/dist/packlets/qualifiers/convert/qualifier.js.map +1 -0
  114. package/dist/packlets/qualifiers/index.js.map +1 -0
  115. package/dist/packlets/qualifiers/qualifier.js +6 -7
  116. package/dist/packlets/qualifiers/qualifier.js.map +1 -0
  117. package/dist/packlets/qualifiers/qualifierCollector.js +2 -2
  118. package/dist/packlets/qualifiers/qualifierCollector.js.map +1 -0
  119. package/dist/packlets/qualifiers/qualifierDecl.js.map +1 -0
  120. package/dist/packlets/qualifiers/qualifierDefaultValueDecls.js.map +1 -0
  121. package/dist/packlets/qualifiers/qualifierDefaultValueToken.js.map +1 -0
  122. package/dist/packlets/resource-json/compiled/common.js.map +1 -0
  123. package/dist/packlets/resource-json/compiled/convert.js.map +1 -0
  124. package/dist/packlets/resource-json/compiled/index.js.map +1 -0
  125. package/dist/packlets/resource-json/compiled/json.js.map +1 -0
  126. package/dist/packlets/resource-json/convert.js.map +1 -0
  127. package/dist/packlets/resource-json/helpers.js.map +1 -0
  128. package/dist/packlets/resource-json/index.js.map +1 -0
  129. package/dist/packlets/resource-json/json.js.map +1 -0
  130. package/dist/packlets/resource-json/normalized.js.map +1 -0
  131. package/dist/packlets/resource-json/resourceDeclCollection.js +1 -1
  132. package/dist/packlets/resource-json/resourceDeclCollection.js.map +1 -0
  133. package/dist/packlets/resource-json/resourceDeclContainer.js.map +1 -0
  134. package/dist/packlets/resource-json/resourceDeclTree.js +1 -1
  135. package/dist/packlets/resource-json/resourceDeclTree.js.map +1 -0
  136. package/dist/packlets/resource-types/config/convert.js +35 -0
  137. package/dist/packlets/resource-types/config/convert.js.map +1 -0
  138. package/dist/packlets/resource-types/config/index.js +25 -0
  139. package/dist/packlets/resource-types/config/index.js.map +1 -0
  140. package/dist/packlets/resource-types/config/json.js +23 -0
  141. package/dist/packlets/resource-types/config/json.js.map +1 -0
  142. package/dist/packlets/resource-types/helpers.js.map +1 -0
  143. package/dist/packlets/resource-types/index.js.map +1 -0
  144. package/dist/packlets/resource-types/jsonResourceType.js +2 -2
  145. package/dist/packlets/resource-types/jsonResourceType.js.map +1 -0
  146. package/dist/packlets/resource-types/resourceType.js +2 -2
  147. package/dist/packlets/resource-types/resourceType.js.map +1 -0
  148. package/dist/packlets/resource-types/resourceTypeCollector.js.map +1 -0
  149. package/dist/packlets/resources/candidateReducer.js.map +1 -0
  150. package/dist/packlets/resources/candidateValue.js.map +1 -0
  151. package/dist/packlets/resources/candidateValueCollector.js.map +1 -0
  152. package/dist/packlets/resources/common.js.map +1 -0
  153. package/dist/packlets/resources/deltaGenerator.js.map +1 -0
  154. package/dist/packlets/resources/index.js.map +1 -0
  155. package/dist/packlets/resources/resource.js.map +1 -0
  156. package/dist/packlets/resources/resourceBuilder.js +2 -2
  157. package/dist/packlets/resources/resourceBuilder.js.map +1 -0
  158. package/dist/packlets/resources/resourceCandidate.js.map +1 -0
  159. package/dist/packlets/resources/resourceManagerBuilder.js +5 -5
  160. package/dist/packlets/resources/resourceManagerBuilder.js.map +1 -0
  161. package/dist/packlets/runtime/cacheListener.js.map +1 -0
  162. package/dist/packlets/runtime/cacheMetrics.js.map +1 -0
  163. package/dist/packlets/runtime/compiledResourceCollection.js +5 -5
  164. package/dist/packlets/runtime/compiledResourceCollection.js.map +1 -0
  165. package/dist/packlets/runtime/conditionSetResolutionResult.js.map +1 -0
  166. package/dist/packlets/runtime/context/contextQualifierProvider.js.map +1 -0
  167. package/dist/packlets/runtime/context/contextQualifierProviderValidator.js.map +1 -0
  168. package/dist/packlets/runtime/context/index.js.map +1 -0
  169. package/dist/packlets/runtime/context/simpleContextQualifierProvider.js.map +1 -0
  170. package/dist/packlets/runtime/context/validatingSimpleContextQualifierProvider.js.map +1 -0
  171. package/dist/packlets/runtime/iResourceManager.js.map +1 -0
  172. package/dist/packlets/runtime/index.js.map +1 -0
  173. package/dist/packlets/runtime/resource-tree/common.js.map +1 -0
  174. package/dist/packlets/runtime/resource-tree/index.js.map +1 -0
  175. package/dist/packlets/runtime/resource-tree/readOnlyResourceTree.js.map +1 -0
  176. package/dist/packlets/runtime/resource-tree/resourceTreeChildren.js.map +1 -0
  177. package/dist/packlets/runtime/resource-tree/resourceTreeChildrenValidator.js.map +1 -0
  178. package/dist/packlets/runtime/resourceResolver.js.map +1 -0
  179. package/dist/packlets/runtime/resourceTreeResolver.js.map +1 -0
  180. package/dist/packlets/runtime/validate.js.map +1 -0
  181. package/dist/packlets/zip-archive/convert.js.map +1 -0
  182. package/dist/packlets/zip-archive/index.browser.js.map +1 -0
  183. package/dist/packlets/zip-archive/index.js.map +1 -0
  184. package/dist/packlets/zip-archive/json.js.map +1 -0
  185. package/dist/packlets/zip-archive/types.js.map +1 -0
  186. package/dist/packlets/zip-archive/zipArchiveCreator.js.map +1 -0
  187. package/dist/packlets/zip-archive/zipArchiveFormat.js.map +1 -0
  188. package/dist/packlets/zip-archive/zipArchiveLoader.js.map +1 -0
  189. package/dist/ts-res.d.ts +134 -112
  190. package/dist/tsdoc-metadata.json +1 -1
  191. package/lib/index.browser.d.ts.map +1 -0
  192. package/lib/index.browser.js.map +1 -0
  193. package/lib/index.d.ts.map +1 -0
  194. package/lib/index.js.map +1 -0
  195. package/lib/packlets/bundle/bundleBuilder.d.ts.map +1 -0
  196. package/lib/packlets/bundle/bundleBuilder.js.map +1 -0
  197. package/lib/packlets/bundle/bundleLoader.d.ts.map +1 -0
  198. package/lib/packlets/bundle/bundleLoader.js.map +1 -0
  199. package/lib/packlets/bundle/bundleNormalizer.d.ts.map +1 -0
  200. package/lib/packlets/bundle/bundleNormalizer.js.map +1 -0
  201. package/lib/packlets/bundle/bundleUtils.d.ts.map +1 -0
  202. package/lib/packlets/bundle/bundleUtils.js.map +1 -0
  203. package/lib/packlets/bundle/convert.d.ts.map +1 -0
  204. package/lib/packlets/bundle/convert.js.map +1 -0
  205. package/lib/packlets/bundle/index.d.ts.map +1 -0
  206. package/lib/packlets/bundle/index.js.map +1 -0
  207. package/lib/packlets/bundle/model.d.ts.map +1 -0
  208. package/lib/packlets/bundle/model.js.map +1 -0
  209. package/lib/packlets/common/conditions.d.ts.map +1 -0
  210. package/lib/packlets/common/conditions.js.map +1 -0
  211. package/lib/packlets/common/convert.d.ts.map +1 -0
  212. package/lib/packlets/common/convert.js.map +1 -0
  213. package/lib/packlets/common/helpers/conditions.d.ts.map +1 -0
  214. package/lib/packlets/common/helpers/conditions.js.map +1 -0
  215. package/lib/packlets/common/helpers/context.d.ts.map +1 -0
  216. package/lib/packlets/common/helpers/context.js.map +1 -0
  217. package/lib/packlets/common/helpers/index.d.ts.map +1 -0
  218. package/lib/packlets/common/helpers/index.js.map +1 -0
  219. package/lib/packlets/common/helpers/qualifierDefaultValues.d.ts.map +1 -0
  220. package/lib/packlets/common/helpers/qualifierDefaultValues.js.map +1 -0
  221. package/lib/packlets/common/helpers/resources.d.ts +2 -4
  222. package/lib/packlets/common/helpers/resources.d.ts.map +1 -0
  223. package/lib/packlets/common/helpers/resources.js +2 -4
  224. package/lib/packlets/common/helpers/resources.js.map +1 -0
  225. package/lib/packlets/common/index.d.ts.map +1 -0
  226. package/lib/packlets/common/index.js.map +1 -0
  227. package/lib/packlets/common/resources.d.ts.map +1 -0
  228. package/lib/packlets/common/resources.js.map +1 -0
  229. package/lib/packlets/common/validate/conditions.d.ts +4 -4
  230. package/lib/packlets/common/validate/conditions.d.ts.map +1 -0
  231. package/lib/packlets/common/validate/conditions.js +4 -4
  232. package/lib/packlets/common/validate/conditions.js.map +1 -0
  233. package/lib/packlets/common/validate/index.d.ts.map +1 -0
  234. package/lib/packlets/common/validate/index.js.map +1 -0
  235. package/lib/packlets/common/validate/regularExpressions.d.ts +2 -2
  236. package/lib/packlets/common/validate/regularExpressions.d.ts.map +1 -0
  237. package/lib/packlets/common/validate/regularExpressions.js +2 -2
  238. package/lib/packlets/common/validate/regularExpressions.js.map +1 -0
  239. package/lib/packlets/common/validate/resources.d.ts +1 -1
  240. package/lib/packlets/common/validate/resources.d.ts.map +1 -0
  241. package/lib/packlets/common/validate/resources.js +1 -1
  242. package/lib/packlets/common/validate/resources.js.map +1 -0
  243. package/lib/packlets/conditions/condition.d.ts +3 -7
  244. package/lib/packlets/conditions/condition.d.ts.map +1 -0
  245. package/lib/packlets/conditions/condition.js +3 -7
  246. package/lib/packlets/conditions/condition.js.map +1 -0
  247. package/lib/packlets/conditions/conditionCollector.d.ts.map +1 -0
  248. package/lib/packlets/conditions/conditionCollector.js.map +1 -0
  249. package/lib/packlets/conditions/conditionDecls.d.ts.map +1 -0
  250. package/lib/packlets/conditions/conditionDecls.js.map +1 -0
  251. package/lib/packlets/conditions/conditionSet.d.ts.map +1 -0
  252. package/lib/packlets/conditions/conditionSet.js.map +1 -0
  253. package/lib/packlets/conditions/conditionSetCollector.d.ts.map +1 -0
  254. package/lib/packlets/conditions/conditionSetCollector.js.map +1 -0
  255. package/lib/packlets/conditions/conditionSetDecls.d.ts.map +1 -0
  256. package/lib/packlets/conditions/conditionSetDecls.js.map +1 -0
  257. package/lib/packlets/conditions/conditionToken.d.ts.map +1 -0
  258. package/lib/packlets/conditions/conditionToken.js.map +1 -0
  259. package/lib/packlets/conditions/convert/conditionSetDecls.d.ts.map +1 -0
  260. package/lib/packlets/conditions/convert/conditionSetDecls.js.map +1 -0
  261. package/lib/packlets/conditions/convert/decls.d.ts.map +1 -0
  262. package/lib/packlets/conditions/convert/decls.js.map +1 -0
  263. package/lib/packlets/conditions/convert/index.d.ts.map +1 -0
  264. package/lib/packlets/conditions/convert/index.js.map +1 -0
  265. package/lib/packlets/conditions/index.d.ts.map +1 -0
  266. package/lib/packlets/conditions/index.js.map +1 -0
  267. package/lib/packlets/config/common.d.ts +35 -0
  268. package/lib/packlets/config/common.d.ts.map +1 -0
  269. package/lib/packlets/config/common.js +97 -0
  270. package/lib/packlets/config/common.js.map +1 -0
  271. package/lib/packlets/config/configInitFactory.d.ts +217 -0
  272. package/lib/packlets/config/configInitFactory.d.ts.map +1 -0
  273. package/lib/packlets/config/configInitFactory.js +303 -0
  274. package/lib/packlets/config/configInitFactory.js.map +1 -0
  275. package/lib/packlets/config/convert.d.ts +23 -0
  276. package/lib/packlets/config/convert.d.ts.map +1 -0
  277. package/lib/packlets/config/convert.js +93 -0
  278. package/lib/packlets/config/convert.js.map +1 -0
  279. package/lib/packlets/config/index.browser.d.ts +7 -0
  280. package/lib/packlets/config/index.browser.d.ts.map +1 -0
  281. package/lib/packlets/config/index.browser.js +74 -0
  282. package/lib/packlets/config/index.browser.js.map +1 -0
  283. package/lib/packlets/config/index.d.ts +7 -0
  284. package/lib/packlets/config/index.d.ts.map +1 -0
  285. package/lib/packlets/config/index.js +68 -0
  286. package/lib/packlets/config/index.js.map +1 -0
  287. package/lib/packlets/config/json.d.ts +20 -0
  288. package/lib/packlets/config/json.d.ts.map +1 -0
  289. package/lib/packlets/config/json.js +24 -0
  290. package/lib/packlets/config/json.js.map +1 -0
  291. package/lib/packlets/config/predefined/default.d.ts +57 -0
  292. package/lib/packlets/config/predefined/default.d.ts.map +1 -0
  293. package/lib/packlets/config/predefined/default.js +141 -0
  294. package/lib/packlets/config/predefined/default.js.map +1 -0
  295. package/lib/packlets/config/predefined/extended.d.ts +25 -0
  296. package/lib/packlets/config/predefined/extended.d.ts.map +1 -0
  297. package/lib/packlets/config/predefined/extended.js +193 -0
  298. package/lib/packlets/config/predefined/extended.js.map +1 -0
  299. package/lib/packlets/config/predefined/index.d.ts +4 -0
  300. package/lib/packlets/config/predefined/index.d.ts.map +1 -0
  301. package/lib/packlets/config/predefined/index.js +62 -0
  302. package/lib/packlets/config/predefined/index.js.map +1 -0
  303. package/lib/packlets/config/systemConfiguration.d.ts +94 -0
  304. package/lib/packlets/config/systemConfiguration.d.ts.map +1 -0
  305. package/lib/packlets/config/systemConfiguration.js +152 -0
  306. package/lib/packlets/config/systemConfiguration.js.map +1 -0
  307. package/lib/packlets/context/contextDecls.d.ts.map +1 -0
  308. package/lib/packlets/context/contextDecls.js.map +1 -0
  309. package/lib/packlets/context/contextToken.d.ts.map +1 -0
  310. package/lib/packlets/context/contextToken.js.map +1 -0
  311. package/lib/packlets/context/convert/decls.d.ts.map +1 -0
  312. package/lib/packlets/context/convert/decls.js.map +1 -0
  313. package/lib/packlets/context/convert/index.d.ts.map +1 -0
  314. package/lib/packlets/context/convert/index.js.map +1 -0
  315. package/lib/packlets/context/index.d.ts.map +1 -0
  316. package/lib/packlets/context/index.js.map +1 -0
  317. package/lib/packlets/decisions/abstractDecision.d.ts.map +1 -0
  318. package/lib/packlets/decisions/abstractDecision.js.map +1 -0
  319. package/lib/packlets/decisions/abstractDecisionCollector.d.ts.map +1 -0
  320. package/lib/packlets/decisions/abstractDecisionCollector.js.map +1 -0
  321. package/lib/packlets/decisions/candidate.d.ts.map +1 -0
  322. package/lib/packlets/decisions/candidate.js.map +1 -0
  323. package/lib/packlets/decisions/common.d.ts.map +1 -0
  324. package/lib/packlets/decisions/common.js.map +1 -0
  325. package/lib/packlets/decisions/concreteDecision.d.ts.map +1 -0
  326. package/lib/packlets/decisions/concreteDecision.js.map +1 -0
  327. package/lib/packlets/decisions/decision.d.ts +1 -1
  328. package/lib/packlets/decisions/decision.d.ts.map +1 -0
  329. package/lib/packlets/decisions/decision.js +1 -1
  330. package/lib/packlets/decisions/decision.js.map +1 -0
  331. package/lib/packlets/decisions/index.d.ts.map +1 -0
  332. package/lib/packlets/decisions/index.js.map +1 -0
  333. package/lib/packlets/import/fsItem.d.ts +1 -4
  334. package/lib/packlets/import/fsItem.d.ts.map +1 -0
  335. package/lib/packlets/import/fsItem.js +1 -4
  336. package/lib/packlets/import/fsItem.js.map +1 -0
  337. package/lib/packlets/import/importContext.d.ts +5 -5
  338. package/lib/packlets/import/importContext.d.ts.map +1 -0
  339. package/lib/packlets/import/importContext.js +3 -3
  340. package/lib/packlets/import/importContext.js.map +1 -0
  341. package/lib/packlets/import/importManager.d.ts +15 -1
  342. package/lib/packlets/import/importManager.d.ts.map +1 -0
  343. package/lib/packlets/import/importManager.js +7 -3
  344. package/lib/packlets/import/importManager.js.map +1 -0
  345. package/lib/packlets/import/importable.d.ts.map +1 -0
  346. package/lib/packlets/import/importable.js.map +1 -0
  347. package/lib/packlets/import/importers/collectionImporter.d.ts +2 -2
  348. package/lib/packlets/import/importers/collectionImporter.d.ts.map +1 -0
  349. package/lib/packlets/import/importers/collectionImporter.js +2 -2
  350. package/lib/packlets/import/importers/collectionImporter.js.map +1 -0
  351. package/lib/packlets/import/importers/fsItemImporter.d.ts +16 -2
  352. package/lib/packlets/import/importers/fsItemImporter.d.ts.map +1 -0
  353. package/lib/packlets/import/importers/fsItemImporter.js +29 -13
  354. package/lib/packlets/import/importers/fsItemImporter.js.map +1 -0
  355. package/lib/packlets/import/importers/importer.d.ts.map +1 -0
  356. package/lib/packlets/import/importers/importer.js.map +1 -0
  357. package/lib/packlets/import/importers/index.browser.d.ts.map +1 -0
  358. package/lib/packlets/import/importers/index.browser.js.map +1 -0
  359. package/lib/packlets/import/importers/index.d.ts.map +1 -0
  360. package/lib/packlets/import/importers/index.js.map +1 -0
  361. package/lib/packlets/import/importers/jsonImporter.d.ts +2 -2
  362. package/lib/packlets/import/importers/jsonImporter.d.ts.map +1 -0
  363. package/lib/packlets/import/importers/jsonImporter.js +2 -2
  364. package/lib/packlets/import/importers/jsonImporter.js.map +1 -0
  365. package/lib/packlets/import/importers/pathImporter.d.ts +1 -1
  366. package/lib/packlets/import/importers/pathImporter.d.ts.map +1 -0
  367. package/lib/packlets/import/importers/pathImporter.js +1 -1
  368. package/lib/packlets/import/importers/pathImporter.js.map +1 -0
  369. package/lib/packlets/import/index.browser.d.ts.map +1 -0
  370. package/lib/packlets/import/index.browser.js.map +1 -0
  371. package/lib/packlets/import/index.d.ts.map +1 -0
  372. package/lib/packlets/import/index.js.map +1 -0
  373. package/lib/packlets/qualifier-types/config/convert.d.ts +65 -0
  374. package/lib/packlets/qualifier-types/config/convert.d.ts.map +1 -0
  375. package/lib/packlets/qualifier-types/config/convert.js +161 -0
  376. package/lib/packlets/qualifier-types/config/convert.js.map +1 -0
  377. package/lib/packlets/qualifier-types/config/index.d.ts +4 -0
  378. package/lib/packlets/qualifier-types/config/index.d.ts.map +1 -0
  379. package/lib/packlets/qualifier-types/config/index.js +64 -0
  380. package/lib/packlets/qualifier-types/config/index.js.map +1 -0
  381. package/lib/packlets/qualifier-types/config/json.d.ts +91 -0
  382. package/lib/packlets/qualifier-types/config/json.d.ts.map +1 -0
  383. package/lib/packlets/qualifier-types/config/json.js +35 -0
  384. package/lib/packlets/qualifier-types/config/json.js.map +1 -0
  385. package/lib/packlets/qualifier-types/convert.d.ts.map +1 -0
  386. package/lib/packlets/qualifier-types/convert.js.map +1 -0
  387. package/lib/packlets/qualifier-types/helpers.d.ts.map +1 -0
  388. package/lib/packlets/qualifier-types/helpers.js.map +1 -0
  389. package/lib/packlets/qualifier-types/index.d.ts.map +1 -0
  390. package/lib/packlets/qualifier-types/index.js.map +1 -0
  391. package/lib/packlets/qualifier-types/languageQualifierType.d.ts +6 -7
  392. package/lib/packlets/qualifier-types/languageQualifierType.d.ts.map +1 -0
  393. package/lib/packlets/qualifier-types/languageQualifierType.js +6 -7
  394. package/lib/packlets/qualifier-types/languageQualifierType.js.map +1 -0
  395. package/lib/packlets/qualifier-types/literalQualifierType.d.ts +7 -10
  396. package/lib/packlets/qualifier-types/literalQualifierType.d.ts.map +1 -0
  397. package/lib/packlets/qualifier-types/literalQualifierType.js +7 -10
  398. package/lib/packlets/qualifier-types/literalQualifierType.js.map +1 -0
  399. package/lib/packlets/qualifier-types/literalValueHierarchy.d.ts.map +1 -0
  400. package/lib/packlets/qualifier-types/literalValueHierarchy.js.map +1 -0
  401. package/lib/packlets/qualifier-types/qualifierType.d.ts +17 -18
  402. package/lib/packlets/qualifier-types/qualifierType.d.ts.map +1 -0
  403. package/lib/packlets/qualifier-types/qualifierType.js +12 -13
  404. package/lib/packlets/qualifier-types/qualifierType.js.map +1 -0
  405. package/lib/packlets/qualifier-types/qualifierTypeCollector.d.ts.map +1 -0
  406. package/lib/packlets/qualifier-types/qualifierTypeCollector.js.map +1 -0
  407. package/lib/packlets/qualifier-types/territoryQualifierType.d.ts +8 -8
  408. package/lib/packlets/qualifier-types/territoryQualifierType.d.ts.map +1 -0
  409. package/lib/packlets/qualifier-types/territoryQualifierType.js +5 -5
  410. package/lib/packlets/qualifier-types/territoryQualifierType.js.map +1 -0
  411. package/lib/packlets/qualifiers/convert/decls.d.ts.map +1 -0
  412. package/lib/packlets/qualifiers/convert/decls.js.map +1 -0
  413. package/lib/packlets/qualifiers/convert/index.d.ts.map +1 -0
  414. package/lib/packlets/qualifiers/convert/index.js.map +1 -0
  415. package/lib/packlets/qualifiers/convert/qualifier.d.ts.map +1 -0
  416. package/lib/packlets/qualifiers/convert/qualifier.js.map +1 -0
  417. package/lib/packlets/qualifiers/index.d.ts.map +1 -0
  418. package/lib/packlets/qualifiers/index.js.map +1 -0
  419. package/lib/packlets/qualifiers/qualifier.d.ts +6 -7
  420. package/lib/packlets/qualifiers/qualifier.d.ts.map +1 -0
  421. package/lib/packlets/qualifiers/qualifier.js +6 -7
  422. package/lib/packlets/qualifiers/qualifier.js.map +1 -0
  423. package/lib/packlets/qualifiers/qualifierCollector.d.ts +3 -3
  424. package/lib/packlets/qualifiers/qualifierCollector.d.ts.map +1 -0
  425. package/lib/packlets/qualifiers/qualifierCollector.js +2 -2
  426. package/lib/packlets/qualifiers/qualifierCollector.js.map +1 -0
  427. package/lib/packlets/qualifiers/qualifierDecl.d.ts.map +1 -0
  428. package/lib/packlets/qualifiers/qualifierDecl.js.map +1 -0
  429. package/lib/packlets/qualifiers/qualifierDefaultValueDecls.d.ts.map +1 -0
  430. package/lib/packlets/qualifiers/qualifierDefaultValueDecls.js.map +1 -0
  431. package/lib/packlets/qualifiers/qualifierDefaultValueToken.d.ts.map +1 -0
  432. package/lib/packlets/qualifiers/qualifierDefaultValueToken.js.map +1 -0
  433. package/lib/packlets/resource-json/compiled/common.d.ts.map +1 -0
  434. package/lib/packlets/resource-json/compiled/common.js.map +1 -0
  435. package/lib/packlets/resource-json/compiled/convert.d.ts.map +1 -0
  436. package/lib/packlets/resource-json/compiled/convert.js.map +1 -0
  437. package/lib/packlets/resource-json/compiled/index.d.ts.map +1 -0
  438. package/lib/packlets/resource-json/compiled/index.js.map +1 -0
  439. package/lib/packlets/resource-json/compiled/json.d.ts.map +1 -0
  440. package/lib/packlets/resource-json/compiled/json.js.map +1 -0
  441. package/lib/packlets/resource-json/convert.d.ts.map +1 -0
  442. package/lib/packlets/resource-json/convert.js.map +1 -0
  443. package/lib/packlets/resource-json/helpers.d.ts.map +1 -0
  444. package/lib/packlets/resource-json/helpers.js.map +1 -0
  445. package/lib/packlets/resource-json/index.d.ts.map +1 -0
  446. package/lib/packlets/resource-json/index.js.map +1 -0
  447. package/lib/packlets/resource-json/json.d.ts.map +1 -0
  448. package/lib/packlets/resource-json/json.js.map +1 -0
  449. package/lib/packlets/resource-json/normalized.d.ts.map +1 -0
  450. package/lib/packlets/resource-json/normalized.js.map +1 -0
  451. package/lib/packlets/resource-json/resourceDeclCollection.d.ts +1 -1
  452. package/lib/packlets/resource-json/resourceDeclCollection.d.ts.map +1 -0
  453. package/lib/packlets/resource-json/resourceDeclCollection.js +1 -1
  454. package/lib/packlets/resource-json/resourceDeclCollection.js.map +1 -0
  455. package/lib/packlets/resource-json/resourceDeclContainer.d.ts.map +1 -0
  456. package/lib/packlets/resource-json/resourceDeclContainer.js.map +1 -0
  457. package/lib/packlets/resource-json/resourceDeclTree.d.ts +1 -1
  458. package/lib/packlets/resource-json/resourceDeclTree.d.ts.map +1 -0
  459. package/lib/packlets/resource-json/resourceDeclTree.js +1 -1
  460. package/lib/packlets/resource-json/resourceDeclTree.js.map +1 -0
  461. package/lib/packlets/resource-types/config/convert.d.ts +8 -0
  462. package/lib/packlets/resource-types/config/convert.d.ts.map +1 -0
  463. package/lib/packlets/resource-types/config/convert.js +38 -0
  464. package/lib/packlets/resource-types/config/convert.js.map +1 -0
  465. package/lib/packlets/resource-types/config/index.d.ts +4 -0
  466. package/lib/packlets/resource-types/config/index.d.ts.map +1 -0
  467. package/lib/packlets/resource-types/config/index.js +64 -0
  468. package/lib/packlets/resource-types/config/index.js.map +1 -0
  469. package/lib/packlets/resource-types/config/json.d.ts +11 -0
  470. package/lib/packlets/resource-types/config/json.d.ts.map +1 -0
  471. package/lib/packlets/resource-types/config/json.js +24 -0
  472. package/lib/packlets/resource-types/config/json.js.map +1 -0
  473. package/lib/packlets/resource-types/helpers.d.ts.map +1 -0
  474. package/lib/packlets/resource-types/helpers.js.map +1 -0
  475. package/lib/packlets/resource-types/index.d.ts.map +1 -0
  476. package/lib/packlets/resource-types/index.js.map +1 -0
  477. package/lib/packlets/resource-types/jsonResourceType.d.ts +17 -5
  478. package/lib/packlets/resource-types/jsonResourceType.d.ts.map +1 -0
  479. package/lib/packlets/resource-types/jsonResourceType.js +2 -2
  480. package/lib/packlets/resource-types/jsonResourceType.js.map +1 -0
  481. package/lib/packlets/resource-types/resourceType.d.ts +5 -5
  482. package/lib/packlets/resource-types/resourceType.d.ts.map +1 -0
  483. package/lib/packlets/resource-types/resourceType.js +2 -2
  484. package/lib/packlets/resource-types/resourceType.js.map +1 -0
  485. package/lib/packlets/resource-types/resourceTypeCollector.d.ts.map +1 -0
  486. package/lib/packlets/resource-types/resourceTypeCollector.js.map +1 -0
  487. package/lib/packlets/resources/candidateReducer.d.ts.map +1 -0
  488. package/lib/packlets/resources/candidateReducer.js.map +1 -0
  489. package/lib/packlets/resources/candidateValue.d.ts.map +1 -0
  490. package/lib/packlets/resources/candidateValue.js.map +1 -0
  491. package/lib/packlets/resources/candidateValueCollector.d.ts.map +1 -0
  492. package/lib/packlets/resources/candidateValueCollector.js.map +1 -0
  493. package/lib/packlets/resources/common.d.ts.map +1 -0
  494. package/lib/packlets/resources/common.js.map +1 -0
  495. package/lib/packlets/resources/deltaGenerator.d.ts.map +1 -0
  496. package/lib/packlets/resources/deltaGenerator.js.map +1 -0
  497. package/lib/packlets/resources/index.d.ts.map +1 -0
  498. package/lib/packlets/resources/index.js.map +1 -0
  499. package/lib/packlets/resources/resource.d.ts.map +1 -0
  500. package/lib/packlets/resources/resource.js.map +1 -0
  501. package/lib/packlets/resources/resourceBuilder.d.ts +2 -2
  502. package/lib/packlets/resources/resourceBuilder.d.ts.map +1 -0
  503. package/lib/packlets/resources/resourceBuilder.js +2 -2
  504. package/lib/packlets/resources/resourceBuilder.js.map +1 -0
  505. package/lib/packlets/resources/resourceCandidate.d.ts.map +1 -0
  506. package/lib/packlets/resources/resourceCandidate.js.map +1 -0
  507. package/lib/packlets/resources/resourceManagerBuilder.d.ts +5 -5
  508. package/lib/packlets/resources/resourceManagerBuilder.d.ts.map +1 -0
  509. package/lib/packlets/resources/resourceManagerBuilder.js +5 -5
  510. package/lib/packlets/resources/resourceManagerBuilder.js.map +1 -0
  511. package/lib/packlets/runtime/cacheListener.d.ts.map +1 -0
  512. package/lib/packlets/runtime/cacheListener.js.map +1 -0
  513. package/lib/packlets/runtime/cacheMetrics.d.ts.map +1 -0
  514. package/lib/packlets/runtime/cacheMetrics.js.map +1 -0
  515. package/lib/packlets/runtime/compiledResourceCollection.d.ts +5 -5
  516. package/lib/packlets/runtime/compiledResourceCollection.d.ts.map +1 -0
  517. package/lib/packlets/runtime/compiledResourceCollection.js +5 -5
  518. package/lib/packlets/runtime/compiledResourceCollection.js.map +1 -0
  519. package/lib/packlets/runtime/conditionSetResolutionResult.d.ts.map +1 -0
  520. package/lib/packlets/runtime/conditionSetResolutionResult.js.map +1 -0
  521. package/lib/packlets/runtime/context/contextQualifierProvider.d.ts.map +1 -0
  522. package/lib/packlets/runtime/context/contextQualifierProvider.js.map +1 -0
  523. package/lib/packlets/runtime/context/contextQualifierProviderValidator.d.ts.map +1 -0
  524. package/lib/packlets/runtime/context/contextQualifierProviderValidator.js.map +1 -0
  525. package/lib/packlets/runtime/context/index.d.ts.map +1 -0
  526. package/lib/packlets/runtime/context/index.js.map +1 -0
  527. package/lib/packlets/runtime/context/simpleContextQualifierProvider.d.ts.map +1 -0
  528. package/lib/packlets/runtime/context/simpleContextQualifierProvider.js.map +1 -0
  529. package/lib/packlets/runtime/context/validatingSimpleContextQualifierProvider.d.ts.map +1 -0
  530. package/lib/packlets/runtime/context/validatingSimpleContextQualifierProvider.js.map +1 -0
  531. package/lib/packlets/runtime/iResourceManager.d.ts.map +1 -0
  532. package/lib/packlets/runtime/iResourceManager.js.map +1 -0
  533. package/lib/packlets/runtime/index.d.ts.map +1 -0
  534. package/lib/packlets/runtime/index.js.map +1 -0
  535. package/lib/packlets/runtime/resource-tree/common.d.ts.map +1 -0
  536. package/lib/packlets/runtime/resource-tree/common.js.map +1 -0
  537. package/lib/packlets/runtime/resource-tree/index.d.ts.map +1 -0
  538. package/lib/packlets/runtime/resource-tree/index.js.map +1 -0
  539. package/lib/packlets/runtime/resource-tree/readOnlyResourceTree.d.ts.map +1 -0
  540. package/lib/packlets/runtime/resource-tree/readOnlyResourceTree.js.map +1 -0
  541. package/lib/packlets/runtime/resource-tree/resourceTreeChildren.d.ts.map +1 -0
  542. package/lib/packlets/runtime/resource-tree/resourceTreeChildren.js.map +1 -0
  543. package/lib/packlets/runtime/resource-tree/resourceTreeChildrenValidator.d.ts.map +1 -0
  544. package/lib/packlets/runtime/resource-tree/resourceTreeChildrenValidator.js.map +1 -0
  545. package/lib/packlets/runtime/resourceResolver.d.ts.map +1 -0
  546. package/lib/packlets/runtime/resourceResolver.js.map +1 -0
  547. package/lib/packlets/runtime/resourceTreeResolver.d.ts.map +1 -0
  548. package/lib/packlets/runtime/resourceTreeResolver.js.map +1 -0
  549. package/lib/packlets/runtime/validate.d.ts.map +1 -0
  550. package/lib/packlets/runtime/validate.js.map +1 -0
  551. package/lib/packlets/zip-archive/convert.d.ts.map +1 -0
  552. package/lib/packlets/zip-archive/convert.js.map +1 -0
  553. package/lib/packlets/zip-archive/index.browser.d.ts.map +1 -0
  554. package/lib/packlets/zip-archive/index.browser.js.map +1 -0
  555. package/lib/packlets/zip-archive/index.d.ts.map +1 -0
  556. package/lib/packlets/zip-archive/index.js.map +1 -0
  557. package/lib/packlets/zip-archive/json.d.ts.map +1 -0
  558. package/lib/packlets/zip-archive/json.js.map +1 -0
  559. package/lib/packlets/zip-archive/types.d.ts.map +1 -0
  560. package/lib/packlets/zip-archive/types.js.map +1 -0
  561. package/lib/packlets/zip-archive/zipArchiveCreator.d.ts.map +1 -0
  562. package/lib/packlets/zip-archive/zipArchiveCreator.js.map +1 -0
  563. package/lib/packlets/zip-archive/zipArchiveFormat.d.ts.map +1 -0
  564. package/lib/packlets/zip-archive/zipArchiveFormat.js.map +1 -0
  565. package/lib/packlets/zip-archive/zipArchiveLoader.d.ts.map +1 -0
  566. package/lib/packlets/zip-archive/zipArchiveLoader.js.map +1 -0
  567. package/package.json +28 -26
  568. package/dist/test/data/sample.json +0 -32
  569. package/dist/test/unit/qualifier-types/testQualifierType.js +0 -76
  570. package/dist/test/unit/resource-types/testDerivedResourceType.js +0 -109
  571. package/dist/test/unit/resources/deltaGenerator.helpers.js +0 -282
package/dist/ts-res.d.ts CHANGED
@@ -799,7 +799,7 @@ declare const childResourceDecl: Converter<Normalized.IChildResourceDecl>;
799
799
  */
800
800
  declare class CollectionImporter implements IImporter {
801
801
  /**
802
- * {@inheritdoc Import.Importers.IImporter.types}
802
+ * {@inheritDoc Import.Importers.IImporter.types}
803
803
  */
804
804
  readonly types: string[];
805
805
  /**
@@ -813,7 +813,7 @@ declare class CollectionImporter implements IImporter {
813
813
  */
814
814
  static create(): Result<CollectionImporter>;
815
815
  /**
816
- * {@inheritdoc Import.Importers.IImporter.import}
816
+ * {@inheritDoc Import.Importers.IImporter.import}
817
817
  */
818
818
  import(item: IImportable, manager: ResourceManagerBuilder): DetailedResult<IImportable[], ImporterResultDetail>;
819
819
  /**
@@ -1010,16 +1010,16 @@ declare class CompiledResourceCollection implements IResourceManager<IResource>
1010
1010
  */
1011
1011
  get candidateValues(): ReadonlyArray<JsonValue>;
1012
1012
  /**
1013
- * {@inheritdoc Runtime.IResourceManager.builtResources}
1013
+ * {@inheritDoc Runtime.IResourceManager.builtResources}
1014
1014
  */
1015
1015
  get builtResources(): Collections.IReadOnlyValidatingResultMap<ResourceId, IResource>;
1016
1016
  /**
1017
- * {@inheritdoc Runtime.IResourceManager.numResources}
1017
+ * {@inheritDoc Runtime.IResourceManager.numResources}
1018
1018
  */
1019
1019
  get numResources(): number;
1020
1020
  protected _numCandidates?: number;
1021
1021
  /**
1022
- * {@inheritdoc Runtime.IResourceManager.numCandidates}
1022
+ * {@inheritDoc Runtime.IResourceManager.numCandidates}
1023
1023
  */
1024
1024
  get numCandidates(): number;
1025
1025
  /**
@@ -1037,11 +1037,11 @@ declare class CompiledResourceCollection implements IResourceManager<IResource>
1037
1037
  */
1038
1038
  static create(params: ICompiledResourceCollectionCreateParams): Result<CompiledResourceCollection>;
1039
1039
  /**
1040
- * {@inheritdoc Runtime.IResourceManager.getBuiltResource}
1040
+ * {@inheritDoc Runtime.IResourceManager.getBuiltResource}
1041
1041
  */
1042
1042
  getBuiltResource(id: string): Result<IResource>;
1043
1043
  /**
1044
- * {@inheritdoc Runtime.IResourceManager.validateContext}
1044
+ * {@inheritDoc Runtime.IResourceManager.validateContext}
1045
1045
  */
1046
1046
  validateContext(context: Context.IContextDecl): Result<Context.IValidatedContextDecl>;
1047
1047
  /**
@@ -1209,12 +1209,8 @@ export declare class Condition implements IValidatedConditionDecl {
1209
1209
  protected _collectible: Collections.Collectible<ConditionKey, ConditionIndex>;
1210
1210
  /**
1211
1211
  * Constructs a new {@link Conditions.Condition | Condition} object.
1212
- * @param qualifier - The {@link Qualifiers.Qualifier | qualifier} used in this condition.
1213
- * @param value - The value to be matched in this condition.
1214
- * @param operator - The {@link ConditionOperator | operator} used when matching context value to condition value.
1215
- * @param priority - The {@link ConditionPriority | relative priority} of this condition.
1216
- * @param scoreAsDefault - The {@link QualifierMatchScore | score} to be used when this condition is the default.
1217
- * @param index - The index of this condition.
1212
+ * @param params - The {@link Conditions.IValidatedConditionDecl | validated condition declaration}
1213
+ * used to construct this condition.
1218
1214
  * @public
1219
1215
  */
1220
1216
  protected constructor({ qualifier, value, operator, priority, scoreAsDefault, index }: IValidatedConditionDecl);
@@ -1238,7 +1234,7 @@ export declare class Condition implements IValidatedConditionDecl {
1238
1234
  * @returns A {@link QualifierMatchScore | match score} indicating match quality if the condition is present
1239
1235
  * in the context to be matched, `undefined` otherwise.
1240
1236
  * @remarks
1241
- * If {@link Context.IContextMatchOptions.partialContextMatch | `options.partialContextMatch``} is `true`, then
1237
+ * If {@link Context.IContextMatchOptions.partialContextMatch | `options.partialContextMatch`} is `true`, then
1242
1238
  * the method will return `undefined` if the corresponding qualifier is not present in the context.
1243
1239
  */
1244
1240
  getContextMatch(context: Context.IValidatedContextDecl, options?: Context.IContextMatchOptions): QualifierMatchScore | undefined;
@@ -1394,8 +1390,8 @@ declare const conditionKey: Converter<ConditionKey, unknown>;
1394
1390
 
1395
1391
  /**
1396
1392
  * The format of a {@link ConditionKey | condition key} is:
1397
- * <qualifierName>-[<value>][\@<priority>](<scoreAsDefault>) where operator is `matches`, or
1398
- * <qualifierName>-<operator>-[<value>][\@<priority>](<scoreAsDefault>)
1393
+ * \<qualifierName\>-\[<value>\]\[\@<priority>\]\(\<scoreAsDefault\>\) where operator is `matches`, or
1394
+ * \<qualifierName\>-\<operator\>-\[<value>\]\[\@<priority>\]\(\<scoreAsDefault\>\)
1399
1395
  * @internal
1400
1396
  */
1401
1397
  declare const conditionKey_2: RegExp;
@@ -2450,7 +2446,7 @@ export declare class Decision<TVALUE extends JsonValue = JsonValue> implements I
2450
2446
  static getAbstractKey(conditionSets: ReadonlyArray<ConditionSet>): DecisionKey;
2451
2447
  /**
2452
2448
  * Helper function to return a stable key for a set of condition sets.
2453
- * @param conditionSets - The condition sets to use to create the key.
2449
+ * @param candidates - The candidates whose condition sets are used to create the key.
2454
2450
  * @returns A key derived from the condition set hashes.
2455
2451
  * @public
2456
2452
  */
@@ -2771,9 +2767,6 @@ declare class FsItem implements IFsItemProps {
2771
2767
  * @param props - The {@link Import.IFsItemProps | file system item properties} to use for this item.
2772
2768
  * @param qualifiers - The {@link Qualifiers.IReadOnlyQualifierCollector | qualifiers} used to parse
2773
2769
  * embedded condition set tokens.
2774
- * @param tree - file tree implementation to use for this item.
2775
- * @returns `Success` containing the new {@link Import.FsItem | FsItem} if successful, or a `Failure`
2776
- * containing an error message if not.
2777
2770
  */
2778
2771
  protected constructor(props: IFsItemProps, qualifiers: IReadOnlyQualifierCollector);
2779
2772
  /**
@@ -2791,7 +2784,7 @@ declare class FsItem implements IFsItemProps {
2791
2784
  * @param importPath - The path to the file system item to import.
2792
2785
  * @param qualifiers - The {@link Qualifiers.IReadOnlyQualifierCollector | qualifiers} used to parse
2793
2786
  * embedded condition set tokens.
2794
- * @param fs - An optional {@link Import.IImporterFilesystem | file system implementation} to use for this item.
2787
+ * @param tree - An optional {@link FileTree.FileTree | file tree} to use for this item.
2795
2788
  * @returns `Success` containing the new {@link Import.FsItem | FsItem} if an item is created
2796
2789
  * successfully, or a `Failure` containing an error message if it is not. Note that the result detail
2797
2790
  * `skipped` indicates that the item was not created because it is not relevant - this is a soft error
@@ -2824,6 +2817,14 @@ declare class FsItemImporter implements IImporter {
2824
2817
  * The {@link Qualifiers.IReadOnlyQualifierCollector | qualifier collector} to use for this importer.
2825
2818
  */
2826
2819
  readonly qualifiers: IReadOnlyQualifierCollector;
2820
+ /**
2821
+ * Optional converter used to parse raw file contents before they are exposed as JSON importables.
2822
+ */
2823
+ readonly fileContentConverter?: Converter<JsonValue>;
2824
+ /**
2825
+ * Optional list of file extensions which should be parsed using the file content converter.
2826
+ */
2827
+ readonly fileContentExtensions?: ReadonlyArray<string>;
2827
2828
  /**
2828
2829
  * The types of {@link Import.IImportable | importables} that this importer can handle.
2829
2830
  */
@@ -2840,9 +2841,12 @@ declare class FsItemImporter implements IImporter {
2840
2841
  */
2841
2842
  static create(params: IFsItemImporterCreateParams): Result<FsItemImporter>;
2842
2843
  /**
2843
- * {@inheritdoc Import.Importers.IImporter.import}
2844
+ * {@inheritDoc Import.Importers.IImporter.import}
2844
2845
  */
2845
2846
  import(item: IImportable, __manager: ResourceManagerBuilder): DetailedResult<IImportable[], ImporterResultDetail>;
2847
+ private _isSupportedFileExtension;
2848
+ private _getJsonContents;
2849
+ private _canConvertFileExtension;
2846
2850
  /**
2847
2851
  * Gets an {@link Import.FsItem | FsItem} from an {@link Import.IImportable | importable}.
2848
2852
  * @param item - The importable to convert.
@@ -4021,6 +4025,8 @@ declare const identifierList: RegExp;
4021
4025
  */
4022
4026
  declare interface IFsItemImporterCreateParams {
4023
4027
  qualifiers: IReadOnlyQualifierCollector;
4028
+ fileContentConverter?: Converter<JsonValue>;
4029
+ fileContentExtensions?: ReadonlyArray<string>;
4024
4030
  }
4025
4031
 
4026
4032
  /**
@@ -4204,6 +4210,14 @@ declare interface IImporterCreateParams {
4204
4210
  * An optional list of {@link Import.Importers.IImporter | importers} to use for the import.
4205
4211
  */
4206
4212
  importers?: IImporter[];
4213
+ /**
4214
+ * An optional converter used to pre-process file contents before JSON import validation.
4215
+ */
4216
+ fileContentConverter?: Converter<JsonValue>;
4217
+ /**
4218
+ * Optional file extensions which should be parsed using the supplied file content converter.
4219
+ */
4220
+ fileContentExtensions?: ReadonlyArray<string>;
4207
4221
  }
4208
4222
 
4209
4223
  /**
@@ -4556,18 +4570,18 @@ declare type Importable = IImportablePath | IImportableFsItem | IImportableJson
4556
4570
  */
4557
4571
  declare class ImportContext implements IValidatedImportContext {
4558
4572
  /**
4559
- * {@inheritdoc Import.IImportContext.baseId}
4573
+ * {@inheritDoc Import.IImportContext.baseId}
4560
4574
  */
4561
4575
  readonly baseId: ResourceId | undefined;
4562
4576
  /**
4563
- * {@inheritdoc Import.IImportContext.conditions}
4577
+ * {@inheritDoc Import.IImportContext.conditions}
4564
4578
  */
4565
4579
  readonly conditions: ReadonlyArray<IConditionDecl>;
4566
4580
  /**
4567
4581
  * Protected {@link Import.ImportContext | import context} for derived classes.
4568
4582
  * Public consumers use {@link Import.ImportContext.create | create} to create new instances.
4569
- * @param baseId - The base ID for the import context.
4570
- * @param conditions - Conditions to be applied to resources imported in this context.
4583
+ * @param params - The {@link Import.IImportContext | import context} parameters including
4584
+ * the base ID and conditions to be applied to resources imported in this context.
4571
4585
  */
4572
4586
  protected constructor({ baseId, conditions }: IImportContext);
4573
4587
  /**
@@ -4587,7 +4601,7 @@ declare class ImportContext implements IValidatedImportContext {
4587
4601
  withConditions(conditions: IConditionDecl[]): Result<ImportContext>;
4588
4602
  /**
4589
4603
  * Appends names to the base ID of the import context.
4590
- * @param name - The base name to set.
4604
+ * @param names - The name segments to append to the base ID.
4591
4605
  * @returns `Success` with a new {@link Import.ImportContext | import context} containing the new base ID
4592
4606
  * if successful, or `Failure` with an error message if the operation fails.
4593
4607
  */
@@ -4717,9 +4731,13 @@ declare class ImportManager {
4717
4731
  * and optional `FileTree`.
4718
4732
  * @param qualifiers - The {@link Qualifiers.IReadOnlyQualifierCollector | qualifiers} to use for the import.
4719
4733
  * @param tree - An optional `FileTree` for importing path items.
4734
+ * @param fileContentConverter - An optional converter used to pre-process raw file contents before JSON import
4735
+ * validation.
4736
+ * @param fileContentExtensions - Optional file extensions which should be parsed using the supplied file
4737
+ * content converter.
4720
4738
  * @returns A read-only array of {@link Import.Importers.IImporter | importers}.
4721
4739
  */
4722
- static getDefaultImporters(qualifiers: IReadOnlyQualifierCollector, tree?: FileTree.FileTree): ReadonlyArray<IImporter>;
4740
+ static getDefaultImporters(qualifiers: IReadOnlyQualifierCollector, tree?: FileTree.FileTree, fileContentConverter?: Converter<JsonValue>, fileContentExtensions?: ReadonlyArray<string>): ReadonlyArray<IImporter>;
4723
4741
  /**
4724
4742
  * Imports any items on the import stack.
4725
4743
  * @returns `Success` with the {@link Import.ImportManager | ImportManager} if successful,
@@ -5059,7 +5077,7 @@ declare interface IReadOnlyContextQualifierProviderValidatorCreateParams<T exten
5059
5077
  */
5060
5078
  declare interface IReadOnlyQualifierCollector extends Collections.IReadOnlyValidatingCollector<Qualifier> {
5061
5079
  /**
5062
- * {@inheritdoc Qualifiers.QualifierCollector.qualifierTypes}
5080
+ * {@inheritDoc Qualifiers.QualifierCollector.qualifierTypes}
5063
5081
  */
5064
5082
  readonly qualifierTypes: ReadOnlyQualifierTypeCollector;
5065
5083
  /**
@@ -5273,7 +5291,7 @@ declare interface IResourceCandidateCreateParams {
5273
5291
  */
5274
5292
  declare interface IResourceCandidateValidationProperties {
5275
5293
  /**
5276
- * {@inheritdoc ResourceJson.Json.ILooseResourceCandidateDecl.id}
5294
+ * {@inheritDoc ResourceJson.Json.ILooseResourceCandidateDecl.id}
5277
5295
  * @public
5278
5296
  */
5279
5297
  id: ResourceId;
@@ -5283,12 +5301,12 @@ declare interface IResourceCandidateValidationProperties {
5283
5301
  */
5284
5302
  completeness: CandidateCompleteness;
5285
5303
  /**
5286
- * {@inheritdoc ResourceJson.Json.ILooseResourceCandidateDecl.json}
5304
+ * {@inheritDoc ResourceJson.Json.ILooseResourceCandidateDecl.json}
5287
5305
  * @public
5288
5306
  */
5289
5307
  json: JsonValue;
5290
5308
  /**
5291
- * {@inheritdoc ResourceJson.Json.ILooseResourceCandidateDecl.mergeMethod}
5309
+ * {@inheritDoc ResourceJson.Json.ILooseResourceCandidateDecl.mergeMethod}
5292
5310
  * @public
5293
5311
  */
5294
5312
  mergeMethod: ResourceValueMergeMethod;
@@ -6155,15 +6173,15 @@ declare interface ITerritoryQualifierTypeConfig {
6155
6173
  */
6156
6174
  declare interface ITerritoryQualifierTypeCreateParams {
6157
6175
  /**
6158
- * {@inheritdoc QualifierTypes.IQualifierTypeCreateParams.name}
6176
+ * {@inheritDoc QualifierTypes.IQualifierTypeCreateParams.name}
6159
6177
  */
6160
6178
  name?: string;
6161
6179
  /**
6162
- * {@inheritdoc QualifierTypes.IQualifierTypeCreateParams.allowContextList}
6180
+ * {@inheritDoc QualifierTypes.IQualifierTypeCreateParams.allowContextList}
6163
6181
  */
6164
6182
  allowContextList?: boolean;
6165
6183
  /**
6166
- * {@inheritdoc QualifierTypes.IQualifierTypeCreateParams.index}
6184
+ * {@inheritDoc QualifierTypes.IQualifierTypeCreateParams.index}
6167
6185
  */
6168
6186
  index?: number;
6169
6187
  /**
@@ -6416,8 +6434,7 @@ declare interface IZipArchiveResult {
6416
6434
  * Joins a list of {@link ResourceId | resource ID} or {@link ResourceName | resource name} with
6417
6435
  * to create a new {@link ResourceId | resource ID}. Returns `undefined` if no names are defined.
6418
6436
  *
6419
- * @param base - The base name or ID to join.
6420
- * @param names - Additional names to join.
6437
+ * @param ids - The names or IDs to join.
6421
6438
  * @returns `Success` with the new ID if the base and names are valid, `Success` with `undefined`
6422
6439
  * if names were present, or `Failure` with an error message if the resulting id is invalid.
6423
6440
  * @public
@@ -6428,8 +6445,7 @@ declare function joinOptionalResourceIds(...ids: (string | undefined)[]): Result
6428
6445
  * Joins a list of {@link ResourceId | resource ID} or {@link ResourceName | resource name} with
6429
6446
  * to create a new {@link ResourceId | resource ID}. Fails if resulting ID is invalid or empty.
6430
6447
  *
6431
- * @param base - The base name or ID to join.
6432
- * @param names - Additional names to join.
6448
+ * @param ids - The names or IDs to join.
6433
6449
  * @returns `Success` with the new ID if the base and names are valid, or `Failure` with an error message
6434
6450
  * if not.
6435
6451
  * @public
@@ -6475,7 +6491,7 @@ declare namespace Json_2 {
6475
6491
  */
6476
6492
  declare class JsonImporter implements IImporter {
6477
6493
  /**
6478
- * {@inheritdoc Import.Importers.IImporter.types}
6494
+ * {@inheritDoc Import.Importers.IImporter.types}
6479
6495
  */
6480
6496
  readonly types: ReadonlyArray<string>;
6481
6497
  /**
@@ -6489,7 +6505,7 @@ declare class JsonImporter implements IImporter {
6489
6505
  */
6490
6506
  static create(): Result<JsonImporter>;
6491
6507
  /**
6492
- * {@inheritdoc Import.Importers.IImporter.import}
6508
+ * {@inheritDoc Import.Importers.IImporter.import}
6493
6509
  */
6494
6510
  import(item: IImportable, manager: ResourceManagerBuilder): DetailedResult<IImportable[], ImporterResultDetail>;
6495
6511
  private _tryImportResourceCollection;
@@ -6509,7 +6525,7 @@ declare const jsonQualifierTypeConfig: Converter<Model_2.IQualifierTypeConfig<Js
6509
6525
  */
6510
6526
  declare class JsonResourceType extends ResourceType<JsonObject> {
6511
6527
  /**
6512
- * {@inheritdoc ResourceTypes.ResourceType.systemTypeName}
6528
+ * {@inheritDoc ResourceTypes.ResourceType.systemTypeName}
6513
6529
  */
6514
6530
  readonly systemTypeName: ResourceTypeName;
6515
6531
  /**
@@ -6527,19 +6543,31 @@ declare class JsonResourceType extends ResourceType<JsonObject> {
6527
6543
  */
6528
6544
  static create(params?: IJsonResourceTypeCreateParams): Result<JsonResourceType>;
6529
6545
  /**
6530
- * {@inheritdoc ResourceTypes.ResourceType.validateDeclaration}
6546
+ * {@inheritDoc ResourceTypes.ResourceType.validateDeclaration}
6531
6547
  */
6532
6548
  validateDeclaration(props: IResourceCandidateValidationProperties): Result<JsonObject>;
6533
6549
  /**
6534
- * {@inheritdoc ResourceTypes.ResourceType.(validate:1)}
6550
+ * Validates a JSON value for use as a resource instance value.
6551
+ * @param json - The JSON value to validate.
6552
+ * @param completeness - Describes {@link CandidateCompleteness | how complete} the candidate value is.
6553
+ * @returns `Success` with the strongly-typed resource value if the JSON is valid,
6554
+ * `Failure` with an error message otherwise.
6535
6555
  */
6536
6556
  validate(json: JsonObject, completeness: CandidateCompleteness): Result<JsonObject>;
6537
6557
  /**
6538
- * {@inheritdoc ResourceTypes.ResourceType.(validate:2)}
6558
+ * Validates a JSON value for use as a complete resource instance value.
6559
+ * @param json - The JSON value to validate.
6560
+ * @param completeness - Must be `'full'` to indicate a complete value.
6561
+ * @returns `Success` with the strongly-typed resource value if the JSON is valid,
6562
+ * `Failure` with an error message otherwise.
6539
6563
  */
6540
6564
  validate(json: JsonObject, completeness: 'full'): Result<JsonObject>;
6541
6565
  /**
6542
- * {@inheritdoc ResourceTypes.ResourceType.(validate:3)}
6566
+ * Validates a JSON value for use as a partial resource instance value.
6567
+ * @param json - The JSON value to validate.
6568
+ * @param completeness - Must be `'partial'` to indicate a partial value.
6569
+ * @returns `Success` with the strongly-typed partial resource value if the JSON is valid,
6570
+ * `Failure` with an error message otherwise.
6543
6571
  */
6544
6572
  validate(json: JsonObject, completeness: 'partial'): Result<JsonObject>;
6545
6573
  }
@@ -6570,14 +6598,13 @@ declare const LanguagePrioritySystemConfiguration: ISystemConfiguration;
6570
6598
  */
6571
6599
  declare class LanguageQualifierType extends QualifierType<JsonCompatibleType<Config_2.ILanguageQualifierTypeConfig>> {
6572
6600
  /**
6573
- * {@inheritdoc QualifierTypes.IQualifierType.systemTypeName}
6601
+ * {@inheritDoc QualifierTypes.IQualifierType.systemTypeName}
6574
6602
  */
6575
6603
  readonly systemTypeName: QualifierTypeName;
6576
6604
  /**
6577
6605
  * Creates a new instance of a {@link QualifierTypes.LanguageQualifierType | language qualifier type}.
6578
- * @param name - Optional name for the qualifier type. Defaults to 'language'.
6579
- * @param allowContextList - Optional flag indicating whether the context can be a
6580
- * list of values. Defaults to `true`.
6606
+ * @param params - The {@link QualifierTypes.ILanguageQualifierTypeCreateParams | create parameters}
6607
+ * for this qualifier type.
6581
6608
  * @public
6582
6609
  */
6583
6610
  protected constructor({ name, allowContextList, index }: ILanguageQualifierTypeCreateParams);
@@ -6599,7 +6626,7 @@ declare class LanguageQualifierType extends QualifierType<JsonCompatibleType<Con
6599
6626
  */
6600
6627
  static createFromConfig(config: Config_2.IQualifierTypeConfig<Config_2.ILanguageQualifierTypeConfig>): Result<LanguageQualifierType>;
6601
6628
  /**
6602
- * {@inheritdoc QualifierTypes.IQualifierType.isValidConditionValue}
6629
+ * {@inheritDoc QualifierTypes.IQualifierType.isValidConditionValue}
6603
6630
  */
6604
6631
  isValidConditionValue(value: string): value is QualifierConditionValue;
6605
6632
  /**
@@ -6609,11 +6636,11 @@ declare class LanguageQualifierType extends QualifierType<JsonCompatibleType<Con
6609
6636
  */
6610
6637
  getConfiguration(): Result<Config_2.ISystemLanguageQualifierTypeConfig>;
6611
6638
  /**
6612
- * {@inheritdoc QualifierTypes.IQualifierType.getConfigurationJson}
6639
+ * {@inheritDoc QualifierTypes.IQualifierType.getConfigurationJson}
6613
6640
  */
6614
6641
  getConfigurationJson(): Result<JsonCompatibleType<Config_2.ISystemLanguageQualifierTypeConfig>>;
6615
6642
  /**
6616
- * {@inheritdoc QualifierTypes.IQualifierType.validateConfigurationJson}
6643
+ * {@inheritDoc QualifierTypes.IQualifierType.validateConfigurationJson}
6617
6644
  */
6618
6645
  validateConfigurationJson(from: unknown): Result<JsonCompatibleType<Config_2.ISystemLanguageQualifierTypeConfig>>;
6619
6646
  /**
@@ -6648,7 +6675,7 @@ declare const languageQualifierTypeConfig: ObjectConverter<Model_2.ILanguageQual
6648
6675
  */
6649
6676
  declare class LiteralQualifierType extends QualifierType<JsonCompatibleType<Config_2.ILiteralQualifierTypeConfig>> {
6650
6677
  /**
6651
- * {@inheritdoc QualifierTypes.IQualifierType.systemTypeName}
6678
+ * {@inheritDoc QualifierTypes.IQualifierType.systemTypeName}
6652
6679
  */
6653
6680
  readonly systemTypeName: QualifierTypeName;
6654
6681
  /**
@@ -6666,11 +6693,8 @@ declare class LiteralQualifierType extends QualifierType<JsonCompatibleType<Conf
6666
6693
  readonly hierarchy?: LiteralValueHierarchy<string>;
6667
6694
  /**
6668
6695
  * Constructs a new {@link QualifierTypes.LiteralQualifierType | LiteralQualifierType}.
6669
- * @param name - Optional name for the qualifier type. Defaults to 'literal'.
6670
- * @param caseSensitive - Optional flag indicating whether the match should be
6671
- * case-sensitive. Defaults to `false`.
6672
- * @param allowContextList - Optional flag indicating whether the context can be a
6673
- * list of values. Defaults to `false`.
6696
+ * @param params - The {@link QualifierTypes.ILiteralQualifierTypeCreateParams | create parameters}
6697
+ * for this qualifier type.
6674
6698
  * @public
6675
6699
  */
6676
6700
  protected constructor({ name, caseSensitive, allowContextList, enumeratedValues, hierarchy, index }: ILiteralQualifierTypeCreateParams);
@@ -6683,7 +6707,7 @@ declare class LiteralQualifierType extends QualifierType<JsonCompatibleType<Conf
6683
6707
  */
6684
6708
  isValidConditionValue(value: string): value is QualifierConditionValue;
6685
6709
  /**
6686
- * {@inheritdoc QualifierTypes.IQualifierType.isPotentialMatch}
6710
+ * {@inheritDoc QualifierTypes.IQualifierType.isPotentialMatch}
6687
6711
  */
6688
6712
  isPotentialMatch(conditionValue: string, contextValue: string): boolean;
6689
6713
  /**
@@ -6693,11 +6717,11 @@ declare class LiteralQualifierType extends QualifierType<JsonCompatibleType<Conf
6693
6717
  */
6694
6718
  getConfiguration(): Result<Config_2.ISystemLiteralQualifierTypeConfig>;
6695
6719
  /**
6696
- * {@inheritdoc QualifierTypes.IQualifierType.getConfigurationJson}
6720
+ * {@inheritDoc QualifierTypes.IQualifierType.getConfigurationJson}
6697
6721
  */
6698
6722
  getConfigurationJson(): Result<JsonCompatibleType<Config_2.ISystemLiteralQualifierTypeConfig>>;
6699
6723
  /**
6700
- * {@inheritdoc QualifierTypes.IQualifierType.validateConfigurationJson}
6724
+ * {@inheritDoc QualifierTypes.IQualifierType.validateConfigurationJson}
6701
6725
  */
6702
6726
  validateConfigurationJson(from: unknown): Result<JsonCompatibleType<Config_2.ISystemLiteralQualifierTypeConfig>>;
6703
6727
  /**
@@ -6708,7 +6732,7 @@ declare class LiteralQualifierType extends QualifierType<JsonCompatibleType<Conf
6708
6732
  */
6709
6733
  validateConfiguration(from: unknown): Result<Config_2.ISystemLiteralQualifierTypeConfig>;
6710
6734
  /**
6711
- * {@inheritdoc QualifierTypes.QualifierType._matchOne}
6735
+ * {@inheritDoc QualifierTypes.QualifierType._matchOne}
6712
6736
  */
6713
6737
  protected _matchOne(condition: QualifierConditionValue, context: QualifierContextValue, __operator: ConditionOperator): QualifierMatchScore;
6714
6738
  /**
@@ -7259,7 +7283,7 @@ declare class PathImporter implements IImporter {
7259
7283
  */
7260
7284
  static create(params: IPathImporterCreateParams): Result<PathImporter>;
7261
7285
  /**
7262
- * {@inheritdoc Import.Importers.IImporter.import}
7286
+ * {@inheritDoc Import.Importers.IImporter.import}
7263
7287
  */
7264
7288
  import(item: IImportable, __manager: ResourceManagerBuilder): DetailedResult<IImportable[], ImporterResultDetail>;
7265
7289
  /**
@@ -7333,9 +7357,8 @@ export declare class Qualifier implements IValidatedQualifierDecl, ICollectible<
7333
7357
  /**
7334
7358
  * Constructs a new instance of a {@link Qualifiers.Qualifier | Qualifier} from the
7335
7359
  * supplied {@link Qualifiers.IValidatedQualifierDecl | validated declaration}.
7336
- * @param name - The name of the qualifier.
7337
- * @param type - The {@link QualifierTypes.QualifierType | type} of the qualifier.
7338
- * @param defaultPriority - The default {@link ConditionPriority | priority} of conditions
7360
+ * @param decl - The {@link Qualifiers.IValidatedQualifierDecl | validated declaration}
7361
+ * describing the qualifier to construct.
7339
7362
  * @public
7340
7363
  */
7341
7364
  protected constructor({ name, token, type, defaultPriority, tokenIsOptional, defaultValue, index }: IValidatedQualifierDecl);
@@ -7356,19 +7379,19 @@ export declare class Qualifier implements IValidatedQualifierDecl, ICollectible<
7356
7379
  */
7357
7380
  setIndex(index: QualifierIndex): Result<QualifierIndex>;
7358
7381
  /**
7359
- * {@inheritdoc QualifierTypes.QualifierType.isValidContextValue}
7382
+ * {@inheritDoc QualifierTypes.QualifierType.isValidContextValue}
7360
7383
  */
7361
7384
  isValidContextValue(value: string): value is QualifierContextValue;
7362
7385
  /**
7363
- * {@inheritdoc QualifierTypes.QualifierType.isValidConditionValue}
7386
+ * {@inheritDoc QualifierTypes.QualifierType.isValidConditionValue}
7364
7387
  */
7365
7388
  isValidConditionValue(value: string): value is QualifierConditionValue;
7366
7389
  /**
7367
- * {@inheritdoc QualifierTypes.QualifierType.validateCondition}
7390
+ * {@inheritDoc QualifierTypes.QualifierType.validateCondition}
7368
7391
  */
7369
7392
  validateCondition(value: string, operator?: ConditionOperator): Result<QualifierConditionValue>;
7370
7393
  /**
7371
- * {@inheritdoc QualifierTypes.QualifierType.validateContextValue}
7394
+ * {@inheritDoc QualifierTypes.QualifierType.validateContextValue}
7372
7395
  */
7373
7396
  validateContextValue(value: string): Result<QualifierContextValue>;
7374
7397
  }
@@ -7404,11 +7427,11 @@ declare class QualifierCollector extends ValidatingConvertingCollector<Qualifier
7404
7427
  */
7405
7428
  static create(params: IQualifierCollectorCreateParams): Result<QualifierCollector>;
7406
7429
  /**
7407
- * {@inheritdoc Qualifiers.IReadOnlyQualifierCollector.getByNameOrToken}
7430
+ * {@inheritDoc Qualifiers.IReadOnlyQualifierCollector.getByNameOrToken}
7408
7431
  */
7409
7432
  getByNameOrToken(nameOrToken: string): Result<Qualifier>;
7410
7433
  /**
7411
- * {@inheritdoc Qualifiers.IReadOnlyQualifierCollector.hasNameOrToken}
7434
+ * {@inheritDoc Qualifiers.IReadOnlyQualifierCollector.hasNameOrToken}
7412
7435
  */
7413
7436
  hasNameOrToken(nameOrToken: string): boolean;
7414
7437
  /**
@@ -7662,19 +7685,19 @@ export { Qualifiers }
7662
7685
  */
7663
7686
  export declare abstract class QualifierType<TCFGJSON extends JsonObject = JsonObject> implements IQualifierType<TCFGJSON> {
7664
7687
  /**
7665
- * {@inheritdoc QualifierTypes.IQualifierType.name}
7688
+ * {@inheritDoc QualifierTypes.IQualifierType.name}
7666
7689
  */
7667
7690
  readonly name: QualifierTypeName;
7668
7691
  /**
7669
- * {@inheritdoc QualifierTypes.IQualifierType.systemTypeName}
7692
+ * {@inheritDoc QualifierTypes.IQualifierType.systemTypeName}
7670
7693
  */
7671
7694
  abstract readonly systemTypeName: QualifierTypeName;
7672
7695
  /**
7673
- * {@inheritdoc QualifierTypes.IQualifierType.key}
7696
+ * {@inheritDoc QualifierTypes.IQualifierType.key}
7674
7697
  */
7675
7698
  get key(): QualifierTypeName;
7676
7699
  /**
7677
- * {@inheritdoc QualifierTypes.IQualifierType.index}
7700
+ * {@inheritDoc QualifierTypes.IQualifierType.index}
7678
7701
  */
7679
7702
  get index(): QualifierTypeIndex | undefined;
7680
7703
  protected readonly _collectible: Collections.Collectible<QualifierTypeName, QualifierTypeIndex>;
@@ -7685,53 +7708,52 @@ export declare abstract class QualifierType<TCFGJSON extends JsonObject = JsonOb
7685
7708
  readonly allowContextList: boolean;
7686
7709
  /**
7687
7710
  * Constructor for use by derived classes.
7688
- * @param name - The name of the qualifier type.
7689
- * @param allowContextList - Flag indicating whether this qualifier type allows a
7690
- * comma-separated list of runtime values in the context. Defaults to `false`.
7711
+ * @param params - The {@link QualifierTypes.IQualifierTypeCreateParams | create parameters}
7712
+ * for this qualifier type.
7691
7713
  */
7692
7714
  protected constructor({ name, index, allowContextList }: IQualifierTypeCreateParams);
7693
7715
  /**
7694
- * {@inheritdoc QualifierTypes.IQualifierType.isValidConditionValue}
7716
+ * {@inheritDoc QualifierTypes.IQualifierType.isValidConditionValue}
7695
7717
  */
7696
7718
  abstract isValidConditionValue(value: string): value is QualifierConditionValue;
7697
7719
  /**
7698
- * {@inheritdoc QualifierTypes.IQualifierType.isValidContextValue}
7720
+ * {@inheritDoc QualifierTypes.IQualifierType.isValidContextValue}
7699
7721
  */
7700
7722
  isValidContextValue(value: string): value is QualifierContextValue;
7701
7723
  /**
7702
- * {@inheritdoc QualifierTypes.IQualifierType.isPotentialMatch}
7724
+ * {@inheritDoc QualifierTypes.IQualifierType.isPotentialMatch}
7703
7725
  */
7704
7726
  isPotentialMatch(conditionValue: string, contextValue: string): boolean;
7705
7727
  /**
7706
- * {@inheritdoc QualifierTypes.IQualifierType.validateCondition}
7728
+ * {@inheritDoc QualifierTypes.IQualifierType.validateCondition}
7707
7729
  */
7708
7730
  validateCondition(value: string, operator?: ConditionOperator): Result<QualifierConditionValue>;
7709
7731
  /**
7710
- * {@inheritdoc QualifierTypes.IQualifierType.validateContextValue}
7732
+ * {@inheritDoc QualifierTypes.IQualifierType.validateContextValue}
7711
7733
  */
7712
7734
  validateContextValue(value: string): Result<QualifierContextValue>;
7713
7735
  /**
7714
- * {@inheritdoc QualifierTypes.IQualifierType.matches}
7736
+ * {@inheritDoc QualifierTypes.IQualifierType.matches}
7715
7737
  */
7716
7738
  matches(condition: QualifierConditionValue, context: QualifierContextValue, operator: ConditionOperator): QualifierMatchScore;
7717
7739
  /**
7718
- * {@inheritdoc QualifierTypes.IQualifierType.getConfigurationJson}
7740
+ * {@inheritDoc QualifierTypes.IQualifierType.getConfigurationJson}
7719
7741
  */
7720
7742
  abstract getConfigurationJson(): Result<JsonCompatibleType<Config_2.IQualifierTypeConfig<TCFGJSON>>>;
7721
7743
  /**
7722
- * {@inheritdoc QualifierTypes.IQualifierType.validateConfigurationJson}
7744
+ * {@inheritDoc QualifierTypes.IQualifierType.validateConfigurationJson}
7723
7745
  */
7724
7746
  abstract validateConfigurationJson(from: unknown): Result<JsonCompatibleType<Config_2.IQualifierTypeConfig<TCFGJSON>>>;
7725
7747
  /**
7726
- * {@inheritdoc QualifierTypes.IQualifierType.setIndex}
7748
+ * {@inheritDoc QualifierTypes.IQualifierType.setIndex}
7727
7749
  */
7728
7750
  setIndex(index: number): Result<QualifierTypeIndex>;
7729
7751
  /**
7730
- * {@inheritdoc Validate.isValidQualifierTypeName}
7752
+ * {@inheritDoc Validate.isValidQualifierTypeName}
7731
7753
  */
7732
7754
  static isValidName(name: string): name is QualifierTypeName;
7733
7755
  /**
7734
- * {@inheritdoc Validate.isValidQualifierTypeIndex}
7756
+ * {@inheritDoc Validate.isValidQualifierTypeIndex}
7735
7757
  */
7736
7758
  static isValidIndex(index: number): index is QualifierTypeIndex;
7737
7759
  /**
@@ -8284,7 +8306,7 @@ declare class ResourceBuilder {
8284
8306
  /**
8285
8307
  * Given a {@link ResourceJson.Json.IChildResourceCandidateDecl | child resource candidate declaration}, creates and adds a
8286
8308
  * {@link Resources.ResourceCandidate | candidate} to the resource being built.
8287
- * @param candidate - The {@link ResourceJson.Json.IChildResourceCandidateDecl | IChildResourceCandidateDecl} to add to the
8309
+ * @param childDecl - The {@link ResourceJson.Json.IChildResourceCandidateDecl | IChildResourceCandidateDecl} to add to the
8288
8310
  * resource being built.
8289
8311
  * @returns `Success` with the added {@link Resources.ResourceCandidate | candidate} if successful,
8290
8312
  * or `Failure` with an error message if not.
@@ -8293,7 +8315,7 @@ declare class ResourceBuilder {
8293
8315
  /**
8294
8316
  * Given a {@link ResourceJson.Json.ILooseResourceCandidateDecl | resource candidate declaration}, creates and adds a
8295
8317
  * {@link Resources.ResourceCandidate | candidate} to the resource being built.
8296
- * @param candidate - The {@link ResourceJson.Json.ILooseResourceCandidateDecl | IResourceCandidateDecl} to add to the
8318
+ * @param decl - The {@link ResourceJson.Json.ILooseResourceCandidateDecl | IResourceCandidateDecl} to add to the
8297
8319
  * resource being built.
8298
8320
  * @returns `Success` with the added {@link Resources.ResourceCandidate | candidate} if successful,
8299
8321
  * or `Failure` with an error message if not. Fails with error detail 'type-mismatch' if the candidate
@@ -8473,7 +8495,7 @@ declare class ResourceDeclCollection implements IResourceDeclContainer {
8473
8495
  */
8474
8496
  readonly collection: Normalized.IImporterResourceCollectionDecl;
8475
8497
  /**
8476
- * {@inheritdoc ResourceJson.IResourceDeclContainer.context}
8498
+ * {@inheritDoc ResourceJson.IResourceDeclContainer.context}
8477
8499
  */
8478
8500
  get context(): Normalized.IContainerContextDecl | undefined;
8479
8501
  protected _resources: Normalized.IImporterResourceDecl[];
@@ -8513,7 +8535,7 @@ declare class ResourceDeclTree implements IResourceDeclContainer {
8513
8535
  */
8514
8536
  readonly tree: Normalized.IResourceTreeRootDecl;
8515
8537
  /**
8516
- * {@inheritdoc ResourceJson.IResourceDeclContainer.context}
8538
+ * {@inheritDoc ResourceJson.IResourceDeclContainer.context}
8517
8539
  */
8518
8540
  get context(): Normalized.IContainerContextDecl | undefined;
8519
8541
  protected _resources: Normalized.ILooseResourceDecl[];
@@ -8682,7 +8704,7 @@ export declare class ResourceManagerBuilder implements IResourceManager<Resource
8682
8704
  */
8683
8705
  get size(): number;
8684
8706
  /**
8685
- * {@inheritdoc Runtime.IResourceManager.numResources}
8707
+ * {@inheritDoc Runtime.IResourceManager.numResources}
8686
8708
  */
8687
8709
  get numResources(): number;
8688
8710
  /**
@@ -8690,11 +8712,11 @@ export declare class ResourceManagerBuilder implements IResourceManager<Resource
8690
8712
  */
8691
8713
  protected _numCandidates?: number;
8692
8714
  /**
8693
- * {@inheritdoc Runtime.IResourceManager.numCandidates}
8715
+ * {@inheritDoc Runtime.IResourceManager.numCandidates}
8694
8716
  */
8695
8717
  get numCandidates(): number;
8696
8718
  /**
8697
- * {@inheritdoc Runtime.IResourceManager.builtResources}
8719
+ * {@inheritDoc Runtime.IResourceManager.builtResources}
8698
8720
  */
8699
8721
  get builtResources(): Collections.IReadOnlyValidatingResultMap<ResourceId, Resource>;
8700
8722
  /**
@@ -8734,7 +8756,7 @@ export declare class ResourceManagerBuilder implements IResourceManager<Resource
8734
8756
  /**
8735
8757
  * Given a {@link ResourceJson.Json.ILooseResourceCandidateDecl | resource candidate declaration}, builds and adds
8736
8758
  * a {@link Resources.ResourceCandidate | candidate} to the manager.
8737
- * @param candidate - The {@link Resources.ResourceCandidate | candidate} to add.
8759
+ * @param decl - The {@link ResourceJson.Json.ILooseResourceCandidateDecl | loose resource candidate declaration} to add.
8738
8760
  * @returns `Success` with the candidate if successful, or `Failure` with an error message if not.
8739
8761
  * @public
8740
8762
  */
@@ -8749,7 +8771,7 @@ export declare class ResourceManagerBuilder implements IResourceManager<Resource
8749
8771
  addCondition(decl: ResourceJson.Json.ILooseConditionDecl): Result<Condition>;
8750
8772
  /**
8751
8773
  * Adds a condition set to the manager.
8752
- * @param decl - The condition set declaration to add.
8774
+ * @param conditions - The {@link ResourceJson.Normalized.ConditionSetDecl | condition set declaration} to add.
8753
8775
  * @returns `Success` with the condition set if successful, or `Failure` with an error message if not.
8754
8776
  * @public
8755
8777
  */
@@ -9513,7 +9535,7 @@ export declare abstract class ResourceType<T = unknown> implements IResourceType
9513
9535
  private _collectible;
9514
9536
  private _template;
9515
9537
  /**
9516
- * {@inheritdoc ResourceTypes.IResourceType.key}
9538
+ * {@inheritDoc ResourceTypes.IResourceType.key}
9517
9539
  */
9518
9540
  get key(): ResourceTypeName;
9519
9541
  /**
@@ -9521,7 +9543,7 @@ export declare abstract class ResourceType<T = unknown> implements IResourceType
9521
9543
  */
9522
9544
  abstract readonly systemTypeName: ResourceTypeName;
9523
9545
  /**
9524
- * {@inheritdoc ResourceTypes.IResourceType.index}
9546
+ * {@inheritDoc ResourceTypes.IResourceType.index}
9525
9547
  */
9526
9548
  get index(): ResourceTypeIndex | undefined;
9527
9549
  protected constructor(key: ResourceTypeName, index?: number, template?: JsonObject);
@@ -10012,7 +10034,7 @@ declare const TerritoryPrioritySystemConfiguration: ISystemConfiguration;
10012
10034
  */
10013
10035
  declare class TerritoryQualifierType extends QualifierType<JsonCompatibleType<Config_2.ITerritoryQualifierTypeConfig>> {
10014
10036
  /**
10015
- * {@inheritdoc QualifierTypes.IQualifierType.systemTypeName}
10037
+ * {@inheritDoc QualifierTypes.IQualifierType.systemTypeName}
10016
10038
  */
10017
10039
  readonly systemTypeName: QualifierTypeName;
10018
10040
  /**
@@ -10035,7 +10057,7 @@ declare class TerritoryQualifierType extends QualifierType<JsonCompatibleType<Co
10035
10057
  */
10036
10058
  protected constructor({ acceptLowercase, allowedTerritories, allowContextList, name, index, hierarchy }: ITerritoryQualifierTypeCreateParams);
10037
10059
  /**
10038
- * {@inheritdoc QualifierTypes.QualifierType.isValidConditionValue}
10060
+ * {@inheritDoc QualifierTypes.QualifierType.isValidConditionValue}
10039
10061
  */
10040
10062
  isValidConditionValue(value: string): value is QualifierConditionValue;
10041
10063
  /**
@@ -10063,11 +10085,11 @@ declare class TerritoryQualifierType extends QualifierType<JsonCompatibleType<Co
10063
10085
  */
10064
10086
  getConfiguration(): Result<Config_2.ISystemTerritoryQualifierTypeConfig>;
10065
10087
  /**
10066
- * {@inheritdoc QualifierTypes.IQualifierType.getConfigurationJson}
10088
+ * {@inheritDoc QualifierTypes.IQualifierType.getConfigurationJson}
10067
10089
  */
10068
10090
  getConfigurationJson(): Result<JsonCompatibleType<Config_2.ISystemTerritoryQualifierTypeConfig>>;
10069
10091
  /**
10070
- * {@inheritdoc QualifierTypes.IQualifierType.validateConfigurationJson}
10092
+ * {@inheritDoc QualifierTypes.IQualifierType.validateConfigurationJson}
10071
10093
  */
10072
10094
  validateConfigurationJson(from: unknown): Result<JsonCompatibleType<Config_2.ISystemTerritoryQualifierTypeConfig>>;
10073
10095
  /**
@@ -10078,7 +10100,7 @@ declare class TerritoryQualifierType extends QualifierType<JsonCompatibleType<Co
10078
10100
  */
10079
10101
  validateConfiguration(from: unknown): Result<Config_2.ISystemTerritoryQualifierTypeConfig>;
10080
10102
  /**
10081
- * {@inheritdoc QualifierTypes.QualifierType._matchOne}
10103
+ * {@inheritDoc QualifierTypes.QualifierType._matchOne}
10082
10104
  */
10083
10105
  protected _matchOne(condition: QualifierConditionValue, context: QualifierContextValue, __operator?: ConditionOperator): QualifierMatchScore;
10084
10106
  /**
@@ -10167,7 +10189,7 @@ declare function toConditionPriority(priority: number): Result<ConditionPriority
10167
10189
 
10168
10190
  /**
10169
10191
  * Converts a string to a {@link ConditionSetHash} if it is a valid condition set hash.
10170
- * @param key - the string to convert
10192
+ * @param hash - the string to convert
10171
10193
  * @returns `Success` with the converted {@link ConditionSetHash} if successful, or `Failure` with an
10172
10194
  * error message if not.
10173
10195
  * @public
@@ -10238,9 +10260,9 @@ declare function toContextToken(token: string): Result<ContextToken>;
10238
10260
  declare function toDecisionIndex(index: number): Result<DecisionIndex>;
10239
10261
 
10240
10262
  /**
10241
- * Converts a number to a {@link DecisionIndex} if it is a valid decision index.
10242
- * @param index - the number to convert
10243
- * @returns `Success` with the converted {@link DecisionIndex} if successful, or `Failure` with an
10263
+ * Converts a string to a {@link DecisionKey} if it is a valid decision key.
10264
+ * @param key - the string to convert
10265
+ * @returns `Success` with the converted {@link DecisionKey} if successful, or `Failure` with an
10244
10266
  * error message if not.
10245
10267
  * @public
10246
10268
  */
@@ -10351,7 +10373,7 @@ declare function toResourceIndex(index: number): Result<ResourceIndex>;
10351
10373
  /**
10352
10374
  * Converts a string to a {@link ResourceName | resource name}.
10353
10375
  *
10354
- * @param id - The string to convert.
10376
+ * @param name - The string to convert.
10355
10377
  * @returns `Success` with the converted name if valid, or `Failure` with an error message
10356
10378
  * if not.
10357
10379
  * @public