@tsonic/aspnetcore 10.0.40 → 10.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/Microsoft.AspNetCore/internal/index.d.ts +3 -2
  2. package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
  3. package/Microsoft.AspNetCore.Antiforgery.d.ts +4 -0
  4. package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +218 -214
  5. package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
  6. package/Microsoft.AspNetCore.Authentication.BearerToken.d.ts +4 -0
  7. package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
  8. package/Microsoft.AspNetCore.Authentication.Cookies.d.ts +4 -0
  9. package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +27 -26
  10. package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
  11. package/Microsoft.AspNetCore.Authentication.OAuth.Claims.d.ts +4 -0
  12. package/Microsoft.AspNetCore.Authentication.OAuth.d.ts +4 -0
  13. package/Microsoft.AspNetCore.Authentication.d.ts +7 -2
  14. package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +44 -43
  15. package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
  16. package/Microsoft.AspNetCore.Authorization.Infrastructure.d.ts +4 -0
  17. package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
  18. package/Microsoft.AspNetCore.Authorization.Policy.d.ts +4 -0
  19. package/Microsoft.AspNetCore.Authorization.d.ts +8 -4
  20. package/Microsoft.AspNetCore.Builder/bindings.json +0 -130
  21. package/Microsoft.AspNetCore.Builder/internal/index.d.ts +110 -129
  22. package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
  23. package/Microsoft.AspNetCore.Builder.Extensions.d.ts +4 -0
  24. package/Microsoft.AspNetCore.Builder.d.ts +4 -1
  25. package/Microsoft.AspNetCore.Components/bindings.json +4 -1
  26. package/Microsoft.AspNetCore.Components/internal/index.d.ts +240 -242
  27. package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
  28. package/Microsoft.AspNetCore.Components.Authorization.d.ts +4 -0
  29. package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +9 -8
  30. package/Microsoft.AspNetCore.Components.CompilerServices.d.ts +4 -0
  31. package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
  32. package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
  33. package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure.d.ts +4 -0
  34. package/Microsoft.AspNetCore.Components.Endpoints.d.ts +4 -0
  35. package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +98 -100
  36. package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +13 -12
  37. package/Microsoft.AspNetCore.Components.Forms.Mapping.d.ts +4 -0
  38. package/Microsoft.AspNetCore.Components.Forms.d.ts +4 -0
  39. package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
  40. package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure.d.ts +4 -0
  41. package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +4 -3
  42. package/Microsoft.AspNetCore.Components.Infrastructure.d.ts +4 -0
  43. package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +16 -18
  44. package/Microsoft.AspNetCore.Components.RenderTree.d.ts +4 -0
  45. package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +21 -20
  46. package/Microsoft.AspNetCore.Components.Rendering.d.ts +4 -0
  47. package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
  48. package/Microsoft.AspNetCore.Components.Routing.d.ts +4 -0
  49. package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
  50. package/Microsoft.AspNetCore.Components.Sections.d.ts +4 -0
  51. package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
  52. package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
  53. package/Microsoft.AspNetCore.Components.Server.Circuits.d.ts +4 -0
  54. package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +9 -8
  55. package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.d.ts +4 -0
  56. package/Microsoft.AspNetCore.Components.Server.d.ts +4 -0
  57. package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +23 -22
  58. package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
  59. package/Microsoft.AspNetCore.Components.Web.HtmlRendering.d.ts +4 -0
  60. package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
  61. package/Microsoft.AspNetCore.Components.Web.Infrastructure.d.ts +4 -0
  62. package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
  63. package/Microsoft.AspNetCore.Components.Web.Internal.d.ts +4 -0
  64. package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +23 -22
  65. package/Microsoft.AspNetCore.Components.Web.Virtualization.d.ts +5 -1
  66. package/Microsoft.AspNetCore.Components.Web.d.ts +4 -0
  67. package/Microsoft.AspNetCore.Components.d.ts +11 -7
  68. package/Microsoft.AspNetCore.Connections/internal/index.d.ts +34 -33
  69. package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
  70. package/Microsoft.AspNetCore.Connections.Abstractions.d.ts +4 -0
  71. package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +12 -11
  72. package/Microsoft.AspNetCore.Connections.Features.d.ts +4 -0
  73. package/Microsoft.AspNetCore.Connections.d.ts +5 -1
  74. package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
  75. package/Microsoft.AspNetCore.CookiePolicy.d.ts +4 -0
  76. package/Microsoft.AspNetCore.Cors/internal/index.d.ts +9 -8
  77. package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
  78. package/Microsoft.AspNetCore.Cors.Infrastructure.d.ts +4 -0
  79. package/Microsoft.AspNetCore.Cors.d.ts +4 -0
  80. package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
  81. package/Microsoft.AspNetCore.Cryptography.KeyDerivation.d.ts +4 -0
  82. package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +8 -8
  83. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/bindings.json +10 -10
  84. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
  85. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
  86. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.d.ts +4 -0
  87. package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.d.ts +4 -0
  88. package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
  89. package/Microsoft.AspNetCore.DataProtection.Infrastructure.d.ts +4 -0
  90. package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +3 -2
  91. package/Microsoft.AspNetCore.DataProtection.Internal.d.ts +4 -0
  92. package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
  93. package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/bindings.json +3 -3
  94. package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
  95. package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.d.ts +4 -0
  96. package/Microsoft.AspNetCore.DataProtection.KeyManagement.d.ts +4 -0
  97. package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +7 -6
  98. package/Microsoft.AspNetCore.DataProtection.Repositories.d.ts +4 -0
  99. package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
  100. package/Microsoft.AspNetCore.DataProtection.XmlEncryption.d.ts +4 -0
  101. package/Microsoft.AspNetCore.DataProtection.d.ts +4 -0
  102. package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +34 -33
  103. package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
  104. package/Microsoft.AspNetCore.Diagnostics.HealthChecks.d.ts +4 -0
  105. package/Microsoft.AspNetCore.Diagnostics.d.ts +4 -0
  106. package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
  107. package/Microsoft.AspNetCore.HostFiltering.d.ts +4 -0
  108. package/Microsoft.AspNetCore.Hosting/bindings.json +20 -83
  109. package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +19 -27
  110. package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
  111. package/Microsoft.AspNetCore.Hosting.Builder.d.ts +4 -0
  112. package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +4 -3
  113. package/Microsoft.AspNetCore.Hosting.Infrastructure.d.ts +4 -0
  114. package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +7 -6
  115. package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +6 -5
  116. package/Microsoft.AspNetCore.Hosting.Server.Abstractions.d.ts +5 -1
  117. package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
  118. package/Microsoft.AspNetCore.Hosting.Server.Features.d.ts +4 -0
  119. package/Microsoft.AspNetCore.Hosting.Server.d.ts +5 -1
  120. package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
  121. package/Microsoft.AspNetCore.Hosting.StaticWebAssets.d.ts +4 -0
  122. package/Microsoft.AspNetCore.Hosting.d.ts +7 -5
  123. package/Microsoft.AspNetCore.Html/internal/index.d.ts +14 -11
  124. package/Microsoft.AspNetCore.Html.d.ts +4 -0
  125. package/Microsoft.AspNetCore.Http/bindings.json +494 -494
  126. package/Microsoft.AspNetCore.Http/internal/index.d.ts +336 -338
  127. package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
  128. package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
  129. package/Microsoft.AspNetCore.Http.Connections.Features.d.ts +4 -0
  130. package/Microsoft.AspNetCore.Http.Connections.d.ts +4 -0
  131. package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
  132. package/Microsoft.AspNetCore.Http.Extensions.d.ts +4 -0
  133. package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
  134. package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +53 -55
  135. package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
  136. package/Microsoft.AspNetCore.Http.Features.Authentication.d.ts +4 -0
  137. package/Microsoft.AspNetCore.Http.Features.d.ts +4 -0
  138. package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +39 -38
  139. package/Microsoft.AspNetCore.Http.Headers.d.ts +4 -0
  140. package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +117 -116
  141. package/Microsoft.AspNetCore.Http.HttpResults.d.ts +37 -33
  142. package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
  143. package/Microsoft.AspNetCore.Http.Json.d.ts +4 -0
  144. package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
  145. package/Microsoft.AspNetCore.Http.Metadata.d.ts +4 -0
  146. package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
  147. package/Microsoft.AspNetCore.Http.Timeouts.d.ts +4 -0
  148. package/Microsoft.AspNetCore.Http.d.ts +11 -7
  149. package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +4 -3
  150. package/Microsoft.AspNetCore.HttpLogging.d.ts +4 -0
  151. package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
  152. package/Microsoft.AspNetCore.HttpOverrides.d.ts +4 -0
  153. package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
  154. package/Microsoft.AspNetCore.HttpsPolicy.d.ts +4 -0
  155. package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
  156. package/Microsoft.AspNetCore.Identity/internal/index.d.ts +453 -452
  157. package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
  158. package/Microsoft.AspNetCore.Identity.Data.d.ts +4 -0
  159. package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
  160. package/Microsoft.AspNetCore.Identity.UI.Services.d.ts +4 -0
  161. package/Microsoft.AspNetCore.Identity.d.ts +44 -40
  162. package/Microsoft.AspNetCore.Localization/internal/index.d.ts +21 -20
  163. package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +5 -4
  164. package/Microsoft.AspNetCore.Localization.Routing.d.ts +4 -0
  165. package/Microsoft.AspNetCore.Localization.d.ts +4 -0
  166. package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +447 -446
  167. package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
  168. package/Microsoft.AspNetCore.Mvc.Abstractions.d.ts +4 -0
  169. package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +9 -8
  170. package/Microsoft.AspNetCore.Mvc.ActionConstraints.d.ts +4 -0
  171. package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
  172. package/Microsoft.AspNetCore.Mvc.ApiExplorer.d.ts +4 -0
  173. package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +54 -53
  174. package/Microsoft.AspNetCore.Mvc.ApplicationModels.d.ts +4 -0
  175. package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +7 -6
  176. package/Microsoft.AspNetCore.Mvc.ApplicationParts.d.ts +6 -2
  177. package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +8 -7
  178. package/Microsoft.AspNetCore.Mvc.Authorization.d.ts +4 -0
  179. package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +12 -11
  180. package/Microsoft.AspNetCore.Mvc.Controllers.d.ts +4 -0
  181. package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
  182. package/Microsoft.AspNetCore.Mvc.Core.Infrastructure.d.ts +4 -0
  183. package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +6 -5
  184. package/Microsoft.AspNetCore.Mvc.Cors.d.ts +4 -0
  185. package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +15 -14
  186. package/Microsoft.AspNetCore.Mvc.DataAnnotations.d.ts +4 -0
  187. package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +119 -119
  188. package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +29 -28
  189. package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +5 -1
  190. package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +57 -56
  191. package/Microsoft.AspNetCore.Mvc.Filters.d.ts +4 -0
  192. package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +38 -37
  193. package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +20 -19
  194. package/Microsoft.AspNetCore.Mvc.Formatters.Xml.d.ts +4 -0
  195. package/Microsoft.AspNetCore.Mvc.Formatters.d.ts +4 -0
  196. package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
  197. package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +58 -39
  198. package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +6 -1
  199. package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +11 -10
  200. package/Microsoft.AspNetCore.Mvc.Localization.d.ts +8 -4
  201. package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
  202. package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +272 -274
  203. package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +54 -53
  204. package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders.d.ts +4 -0
  205. package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
  206. package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.d.ts +4 -0
  207. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
  208. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +42 -27
  209. package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +6 -1
  210. package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +11 -7
  211. package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +51 -50
  212. package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
  213. package/Microsoft.AspNetCore.Mvc.Razor.Compilation.d.ts +4 -0
  214. package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
  215. package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure.d.ts +4 -0
  216. package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
  217. package/Microsoft.AspNetCore.Mvc.Razor.Internal.d.ts +4 -0
  218. package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +4 -6
  219. package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers.d.ts +4 -0
  220. package/Microsoft.AspNetCore.Mvc.Razor.d.ts +7 -3
  221. package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +135 -134
  222. package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +12 -11
  223. package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.d.ts +4 -0
  224. package/Microsoft.AspNetCore.Mvc.RazorPages.d.ts +4 -0
  225. package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +61 -60
  226. package/Microsoft.AspNetCore.Mvc.Rendering.d.ts +6 -2
  227. package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +47 -46
  228. package/Microsoft.AspNetCore.Mvc.Routing.d.ts +4 -0
  229. package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +22 -24
  230. package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +3 -2
  231. package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache.d.ts +4 -0
  232. package/Microsoft.AspNetCore.Mvc.TagHelpers.d.ts +4 -0
  233. package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +14 -13
  234. package/Microsoft.AspNetCore.Mvc.ViewComponents.d.ts +4 -0
  235. package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +10 -9
  236. package/Microsoft.AspNetCore.Mvc.ViewEngines.d.ts +4 -0
  237. package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
  238. package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +78 -80
  239. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +3 -2
  240. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.d.ts +4 -0
  241. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +3 -2
  242. package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.d.ts +4 -0
  243. package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +9 -5
  244. package/Microsoft.AspNetCore.Mvc.d.ts +20 -16
  245. package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +18 -17
  246. package/Microsoft.AspNetCore.OutputCaching.d.ts +4 -0
  247. package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +14 -13
  248. package/Microsoft.AspNetCore.RateLimiting.d.ts +5 -1
  249. package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +3 -2
  250. package/Microsoft.AspNetCore.Razor.Hosting.d.ts +4 -0
  251. package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +3 -2
  252. package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers.d.ts +4 -0
  253. package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +5 -7
  254. package/Microsoft.AspNetCore.Razor.TagHelpers.d.ts +4 -0
  255. package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
  256. package/Microsoft.AspNetCore.RequestDecompression.d.ts +4 -0
  257. package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
  258. package/Microsoft.AspNetCore.ResponseCaching.d.ts +4 -0
  259. package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +6 -5
  260. package/Microsoft.AspNetCore.ResponseCompression.d.ts +4 -0
  261. package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
  262. package/Microsoft.AspNetCore.Rewrite.d.ts +4 -0
  263. package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
  264. package/Microsoft.AspNetCore.Routing/internal/index.d.ts +137 -139
  265. package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +49 -48
  266. package/Microsoft.AspNetCore.Routing.Constraints.d.ts +4 -0
  267. package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
  268. package/Microsoft.AspNetCore.Routing.Internal.d.ts +4 -0
  269. package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
  270. package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +12 -14
  271. package/Microsoft.AspNetCore.Routing.Matching.d.ts +6 -2
  272. package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +29 -28
  273. package/Microsoft.AspNetCore.Routing.Patterns.d.ts +4 -0
  274. package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
  275. package/Microsoft.AspNetCore.Routing.Template.d.ts +4 -0
  276. package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +4 -3
  277. package/Microsoft.AspNetCore.Routing.Tree.d.ts +4 -0
  278. package/Microsoft.AspNetCore.Routing.d.ts +6 -2
  279. package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
  280. package/Microsoft.AspNetCore.Server.IISIntegration.d.ts +4 -0
  281. package/Microsoft.AspNetCore.Server.Kestrel/bindings.json +16 -16
  282. package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
  283. package/Microsoft.AspNetCore.Server.Kestrel.Core/bindings.json +42 -42
  284. package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +16 -15
  285. package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/bindings.json +3 -3
  286. package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
  287. package/Microsoft.AspNetCore.Server.Kestrel.Core.Features.d.ts +4 -0
  288. package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/bindings.json +33 -33
  289. package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +6 -8
  290. package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.d.ts +4 -0
  291. package/Microsoft.AspNetCore.Server.Kestrel.Core.d.ts +4 -0
  292. package/Microsoft.AspNetCore.Server.Kestrel.Https/bindings.json +10 -10
  293. package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
  294. package/Microsoft.AspNetCore.Server.Kestrel.Https.d.ts +4 -0
  295. package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
  296. package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.d.ts +4 -0
  297. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
  298. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.d.ts +4 -0
  299. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
  300. package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.d.ts +4 -0
  301. package/Microsoft.AspNetCore.Server.Kestrel.d.ts +4 -0
  302. package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
  303. package/Microsoft.AspNetCore.Session.d.ts +4 -0
  304. package/Microsoft.AspNetCore.SignalR/bindings.json +201 -201
  305. package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +168 -170
  306. package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
  307. package/Microsoft.AspNetCore.SignalR.Protocol.d.ts +4 -0
  308. package/Microsoft.AspNetCore.SignalR.d.ts +20 -16
  309. package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
  310. package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
  311. package/Microsoft.AspNetCore.StaticAssets.Infrastructure.d.ts +4 -0
  312. package/Microsoft.AspNetCore.StaticAssets.d.ts +4 -0
  313. package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
  314. package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
  315. package/Microsoft.AspNetCore.StaticFiles.Infrastructure.d.ts +4 -0
  316. package/Microsoft.AspNetCore.StaticFiles.d.ts +4 -0
  317. package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
  318. package/Microsoft.AspNetCore.WebSockets.d.ts +4 -0
  319. package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
  320. package/Microsoft.AspNetCore.WebUtilities.d.ts +5 -1
  321. package/Microsoft.AspNetCore.d.ts +4 -0
  322. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +62 -61
  323. package/Microsoft.Extensions.DependencyInjection.d.ts +4 -0
  324. package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
  325. package/Microsoft.Extensions.Hosting.d.ts +4 -0
  326. package/Microsoft.JSInterop/internal/index.d.ts +102 -77
  327. package/Microsoft.JSInterop.Implementation/internal/index.d.ts +16 -17
  328. package/Microsoft.JSInterop.Implementation.d.ts +4 -0
  329. package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
  330. package/Microsoft.JSInterop.Infrastructure.d.ts +4 -0
  331. package/Microsoft.JSInterop.d.ts +6 -2
  332. package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
  333. package/Microsoft.Net.Http.Headers.d.ts +4 -0
  334. package/README.md +65 -15
  335. package/System.Formats.Cbor/internal/index.d.ts +4 -6
  336. package/System.Formats.Cbor.d.ts +4 -0
  337. package/System.Security.Claims/internal/index.d.ts +4 -3
  338. package/System.Security.Claims.d.ts +4 -0
  339. package/System.Threading.RateLimiting/internal/index.d.ts +31 -33
  340. package/System.Threading.RateLimiting.d.ts +10 -6
  341. package/__internal/extensions/index.d.ts +410 -431
  342. package/package.json +4 -4
  343. package/Microsoft.AspNetCore.Server.HttpSys/bindings.json +0 -2396
  344. package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +0 -297
  345. package/Microsoft.AspNetCore.Server.HttpSys.d.ts +0 -34
  346. package/Microsoft.AspNetCore.Server.HttpSys.js +0 -9
  347. package/Microsoft.AspNetCore.Server.IIS/bindings.json +0 -332
  348. package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +0 -68
  349. package/Microsoft.AspNetCore.Server.IIS.d.ts +0 -20
  350. package/Microsoft.AspNetCore.Server.IIS.js +0 -9
@@ -2,11 +2,9 @@
2
2
  // Namespace: Microsoft.Net.Http.Headers
3
3
  // Assembly: Microsoft.Net.Http.Headers
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
@@ -47,7 +45,7 @@ export interface CacheControlHeaderValue$instance {
47
45
  Public: boolean;
48
46
  get SharedMaxAge(): Nullable_1<TimeSpan>;
49
47
  set SharedMaxAge(value: Nullable_1<TimeSpan> | TimeSpan);
50
- Equals(obj: unknown): boolean;
48
+ Equals(obj: unknown | null): boolean;
51
49
  GetHashCode(): int;
52
50
  ToString(): string;
53
51
  }
@@ -68,7 +66,7 @@ export const CacheControlHeaderValue: {
68
66
  readonly MustRevalidateString: string;
69
67
  readonly ProxyRevalidateString: string;
70
68
  Parse(input: StringSegment): CacheControlHeaderValue;
71
- TryParse(input: StringSegment, parsedValue: CacheControlHeaderValue): boolean;
69
+ TryParse(input: StringSegment, parsedValue: CacheControlHeaderValue | null): boolean;
72
70
  };
73
71
 
74
72
 
@@ -90,7 +88,7 @@ export interface ContentDispositionHeaderValue$instance {
90
88
  set ReadDate(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
91
89
  get Size(): Nullable_1<System_Internal.Int64>;
92
90
  set Size(value: Nullable_1<System_Internal.Int64> | long);
93
- Equals(obj: unknown): boolean;
91
+ Equals(obj: unknown | null): boolean;
94
92
  GetHashCode(): int;
95
93
  SetHttpFileName(fileName: StringSegment): void;
96
94
  SetMimeFileName(fileName: StringSegment): void;
@@ -101,7 +99,7 @@ export interface ContentDispositionHeaderValue$instance {
101
99
  export const ContentDispositionHeaderValue: {
102
100
  new(dispositionType: StringSegment): ContentDispositionHeaderValue;
103
101
  Parse(input: StringSegment): ContentDispositionHeaderValue;
104
- TryParse(input: StringSegment, parsedValue: ContentDispositionHeaderValue): boolean;
102
+ TryParse(input: StringSegment, parsedValue: ContentDispositionHeaderValue | null): boolean;
105
103
  };
106
104
 
107
105
 
@@ -119,7 +117,7 @@ export interface ContentRangeHeaderValue$instance {
119
117
  get To(): Nullable_1<System_Internal.Int64>;
120
118
  set To(value: Nullable_1<System_Internal.Int64> | long);
121
119
  Unit: StringSegment;
122
- Equals(obj: unknown): boolean;
120
+ Equals(obj: unknown | null): boolean;
123
121
  GetHashCode(): int;
124
122
  ToString(): string;
125
123
  }
@@ -130,7 +128,7 @@ export const ContentRangeHeaderValue: {
130
128
  new(length: long): ContentRangeHeaderValue;
131
129
  new(from: long, to: long): ContentRangeHeaderValue;
132
130
  Parse(input: StringSegment): ContentRangeHeaderValue;
133
- TryParse(input: StringSegment, parsedValue: ContentRangeHeaderValue): boolean;
131
+ TryParse(input: StringSegment, parsedValue: ContentRangeHeaderValue | null): boolean;
134
132
  };
135
133
 
136
134
 
@@ -141,7 +139,7 @@ export interface CookieHeaderValue$instance {
141
139
 
142
140
  Name: StringSegment;
143
141
  Value: StringSegment;
144
- Equals(obj: unknown): boolean;
142
+ Equals(obj: unknown | null): boolean;
145
143
  GetHashCode(): int;
146
144
  ToString(): string;
147
145
  }
@@ -151,11 +149,11 @@ export const CookieHeaderValue: {
151
149
  new(name: StringSegment): CookieHeaderValue;
152
150
  new(name: StringSegment, value: StringSegment): CookieHeaderValue;
153
151
  Parse(input: StringSegment): CookieHeaderValue;
154
- ParseList(inputs: IList_1<System_Internal.String>): IList_1<CookieHeaderValue>;
155
- ParseStrictList(inputs: IList_1<System_Internal.String>): IList_1<CookieHeaderValue>;
156
- TryParse(input: StringSegment, parsedValue: CookieHeaderValue): boolean;
157
- TryParseList(inputs: IList_1<System_Internal.String>, parsedValues: IList_1<CookieHeaderValue>): boolean;
158
- TryParseStrictList(inputs: IList_1<System_Internal.String>, parsedValues: IList_1<CookieHeaderValue>): boolean;
152
+ ParseList(inputs: IList_1<System_Internal.String> | null): IList_1<CookieHeaderValue>;
153
+ ParseStrictList(inputs: IList_1<System_Internal.String> | null): IList_1<CookieHeaderValue>;
154
+ TryParse(input: StringSegment, parsedValue: CookieHeaderValue | null): boolean;
155
+ TryParseList(inputs: IList_1<System_Internal.String> | null, parsedValues: IList_1<CookieHeaderValue> | null): boolean;
156
+ TryParseStrictList(inputs: IList_1<System_Internal.String> | null, parsedValues: IList_1<CookieHeaderValue> | null): boolean;
159
157
  };
160
158
 
161
159
 
@@ -166,8 +164,8 @@ export interface EntityTagHeaderValue$instance {
166
164
 
167
165
  readonly IsWeak: boolean;
168
166
  readonly Tag: StringSegment;
169
- Compare(other: EntityTagHeaderValue, useStrongComparison: boolean): boolean;
170
- Equals(obj: unknown): boolean;
167
+ Compare(other: EntityTagHeaderValue | null, useStrongComparison: boolean): boolean;
168
+ Equals(obj: unknown | null): boolean;
171
169
  GetHashCode(): int;
172
170
  ToString(): string;
173
171
  }
@@ -178,11 +176,11 @@ export const EntityTagHeaderValue: {
178
176
  new(tag: StringSegment, isWeak: boolean): EntityTagHeaderValue;
179
177
  readonly Any: EntityTagHeaderValue;
180
178
  Parse(input: StringSegment): EntityTagHeaderValue;
181
- ParseList(inputs: IList_1<System_Internal.String>): IList_1<EntityTagHeaderValue>;
182
- ParseStrictList(inputs: IList_1<System_Internal.String>): IList_1<EntityTagHeaderValue>;
183
- TryParse(input: StringSegment, parsedValue: EntityTagHeaderValue): boolean;
184
- TryParseList(inputs: IList_1<System_Internal.String>, parsedValues: IList_1<EntityTagHeaderValue>): boolean;
185
- TryParseStrictList(inputs: IList_1<System_Internal.String>, parsedValues: IList_1<EntityTagHeaderValue>): boolean;
179
+ ParseList(inputs: IList_1<System_Internal.String> | null): IList_1<EntityTagHeaderValue>;
180
+ ParseStrictList(inputs: IList_1<System_Internal.String> | null): IList_1<EntityTagHeaderValue>;
181
+ TryParse(input: StringSegment, parsedValue: EntityTagHeaderValue | null): boolean;
182
+ TryParseList(inputs: IList_1<System_Internal.String> | null, parsedValues: IList_1<EntityTagHeaderValue> | null): boolean;
183
+ TryParseStrictList(inputs: IList_1<System_Internal.String> | null, parsedValues: IList_1<EntityTagHeaderValue> | null): boolean;
186
184
  };
187
185
 
188
186
 
@@ -193,8 +191,8 @@ export interface MediaTypeHeaderValue$instance {
193
191
 
194
192
  Boundary: StringSegment;
195
193
  Charset: StringSegment;
196
- get Encoding(): Encoding | undefined;
197
- set Encoding(value: Encoding | undefined);
194
+ get Encoding(): Encoding | null;
195
+ set Encoding(value: Encoding | null);
198
196
  readonly Facets: IEnumerable_1<StringSegment>;
199
197
  readonly IsReadOnly: boolean;
200
198
  readonly MatchesAllSubTypes: boolean;
@@ -210,7 +208,7 @@ export interface MediaTypeHeaderValue$instance {
210
208
  readonly Type: StringSegment;
211
209
  Copy(): MediaTypeHeaderValue;
212
210
  CopyAsReadOnly(): MediaTypeHeaderValue;
213
- Equals(obj: unknown): boolean;
211
+ Equals(obj: unknown | null): boolean;
214
212
  GetHashCode(): int;
215
213
  IsSubsetOf(otherMediaType: MediaTypeHeaderValue): boolean;
216
214
  MatchesMediaType(otherMediaType: StringSegment): boolean;
@@ -222,11 +220,11 @@ export const MediaTypeHeaderValue: {
222
220
  new(mediaType: StringSegment): MediaTypeHeaderValue;
223
221
  new(mediaType: StringSegment, quality: double): MediaTypeHeaderValue;
224
222
  Parse(input: StringSegment): MediaTypeHeaderValue;
225
- ParseList(inputs: IList_1<System_Internal.String>): IList_1<MediaTypeHeaderValue>;
226
- ParseStrictList(inputs: IList_1<System_Internal.String>): IList_1<MediaTypeHeaderValue>;
227
- TryParse(input: StringSegment, parsedValue: MediaTypeHeaderValue): boolean;
228
- TryParseList(inputs: IList_1<System_Internal.String>, parsedValues: IList_1<MediaTypeHeaderValue>): boolean;
229
- TryParseStrictList(inputs: IList_1<System_Internal.String>, parsedValues: IList_1<MediaTypeHeaderValue>): boolean;
223
+ ParseList(inputs: IList_1<System_Internal.String> | null): IList_1<MediaTypeHeaderValue>;
224
+ ParseStrictList(inputs: IList_1<System_Internal.String> | null): IList_1<MediaTypeHeaderValue>;
225
+ TryParse(input: StringSegment, parsedValue: MediaTypeHeaderValue | null): boolean;
226
+ TryParseList(inputs: IList_1<System_Internal.String> | null, parsedValues: IList_1<MediaTypeHeaderValue> | null): boolean;
227
+ TryParseStrictList(inputs: IList_1<System_Internal.String> | null, parsedValues: IList_1<MediaTypeHeaderValue> | null): boolean;
230
228
  };
231
229
 
232
230
 
@@ -237,7 +235,7 @@ export interface MediaTypeHeaderValueComparer$instance {
237
235
 
238
236
  readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
239
237
 
240
- Compare(mediaType1: MediaTypeHeaderValue, mediaType2: MediaTypeHeaderValue): int;
238
+ Compare(mediaType1: MediaTypeHeaderValue | null, mediaType2: MediaTypeHeaderValue | null): int;
241
239
  }
242
240
 
243
241
 
@@ -256,7 +254,7 @@ export interface NameValueHeaderValue$instance {
256
254
  Value: StringSegment;
257
255
  Copy(): NameValueHeaderValue;
258
256
  CopyAsReadOnly(): NameValueHeaderValue;
259
- Equals(obj: unknown): boolean;
257
+ Equals(obj: unknown | null): boolean;
260
258
  GetHashCode(): int;
261
259
  GetUnescapedValue(): StringSegment;
262
260
  SetAndEscapeValue(value: StringSegment): void;
@@ -267,13 +265,13 @@ export interface NameValueHeaderValue$instance {
267
265
  export const NameValueHeaderValue: {
268
266
  new(name: StringSegment): NameValueHeaderValue;
269
267
  new(name: StringSegment, value: StringSegment): NameValueHeaderValue;
270
- Find(values: IList_1<NameValueHeaderValue>, name: StringSegment): NameValueHeaderValue | undefined;
268
+ Find(values: IList_1<NameValueHeaderValue> | null, name: StringSegment): NameValueHeaderValue | null;
271
269
  Parse(input: StringSegment): NameValueHeaderValue;
272
- ParseList(input: IList_1<System_Internal.String>): IList_1<NameValueHeaderValue>;
273
- ParseStrictList(input: IList_1<System_Internal.String>): IList_1<NameValueHeaderValue>;
274
- TryParse(input: StringSegment, parsedValue: NameValueHeaderValue): boolean;
275
- TryParseList(input: IList_1<System_Internal.String>, parsedValues: IList_1<NameValueHeaderValue>): boolean;
276
- TryParseStrictList(input: IList_1<System_Internal.String>, parsedValues: IList_1<NameValueHeaderValue>): boolean;
270
+ ParseList(input: IList_1<System_Internal.String> | null): IList_1<NameValueHeaderValue>;
271
+ ParseStrictList(input: IList_1<System_Internal.String> | null): IList_1<NameValueHeaderValue>;
272
+ TryParse(input: StringSegment, parsedValue: NameValueHeaderValue | null): boolean;
273
+ TryParseList(input: IList_1<System_Internal.String> | null, parsedValues: IList_1<NameValueHeaderValue> | null): boolean;
274
+ TryParseStrictList(input: IList_1<System_Internal.String> | null, parsedValues: IList_1<NameValueHeaderValue> | null): boolean;
277
275
  };
278
276
 
279
277
 
@@ -282,9 +280,9 @@ export type NameValueHeaderValue = NameValueHeaderValue$instance;
282
280
  export interface RangeConditionHeaderValue$instance {
283
281
  readonly __tsonic_type_Microsoft_Net_Http_Headers_RangeConditionHeaderValue: never;
284
282
 
285
- readonly EntityTag: EntityTagHeaderValue | undefined;
283
+ readonly EntityTag: EntityTagHeaderValue | null;
286
284
  readonly LastModified: Nullable_1<DateTimeOffset>;
287
- Equals(obj: unknown): boolean;
285
+ Equals(obj: unknown | null): boolean;
288
286
  GetHashCode(): int;
289
287
  ToString(): string;
290
288
  }
@@ -293,9 +291,9 @@ export interface RangeConditionHeaderValue$instance {
293
291
  export const RangeConditionHeaderValue: {
294
292
  new(lastModified: DateTimeOffset): RangeConditionHeaderValue;
295
293
  new(entityTag: EntityTagHeaderValue): RangeConditionHeaderValue;
296
- new(entityTag: string): RangeConditionHeaderValue;
294
+ new(entityTag: string | null): RangeConditionHeaderValue;
297
295
  Parse(input: StringSegment): RangeConditionHeaderValue;
298
- TryParse(input: StringSegment, parsedValue: RangeConditionHeaderValue): boolean;
296
+ TryParse(input: StringSegment, parsedValue: RangeConditionHeaderValue | null): boolean;
299
297
  };
300
298
 
301
299
 
@@ -306,7 +304,7 @@ export interface RangeHeaderValue$instance {
306
304
 
307
305
  readonly Ranges: ICollection_1<RangeItemHeaderValue>;
308
306
  Unit: StringSegment;
309
- Equals(obj: unknown): boolean;
307
+ Equals(obj: unknown | null): boolean;
310
308
  GetHashCode(): int;
311
309
  ToString(): string;
312
310
  }
@@ -316,7 +314,7 @@ export const RangeHeaderValue: {
316
314
  new(): RangeHeaderValue;
317
315
  new(from: Nullable_1<System_Internal.Int64>, to: Nullable_1<System_Internal.Int64>): RangeHeaderValue;
318
316
  Parse(input: StringSegment): RangeHeaderValue;
319
- TryParse(input: StringSegment, parsedValue: RangeHeaderValue): boolean;
317
+ TryParse(input: StringSegment, parsedValue: RangeHeaderValue | null): boolean;
320
318
  };
321
319
 
322
320
 
@@ -327,7 +325,7 @@ export interface RangeItemHeaderValue$instance {
327
325
 
328
326
  readonly From: Nullable_1<System_Internal.Int64>;
329
327
  readonly To: Nullable_1<System_Internal.Int64>;
330
- Equals(obj: unknown): boolean;
328
+ Equals(obj: unknown | null): boolean;
331
329
  GetHashCode(): int;
332
330
  ToString(): string;
333
331
  }
@@ -356,7 +354,7 @@ export interface SetCookieHeaderValue$instance {
356
354
  Secure: boolean;
357
355
  Value: StringSegment;
358
356
  AppendToStringBuilder(builder: StringBuilder): void;
359
- Equals(obj: unknown): boolean;
357
+ Equals(obj: unknown | null): boolean;
360
358
  GetHashCode(): int;
361
359
  ToString(): string;
362
360
  }
@@ -366,11 +364,11 @@ export const SetCookieHeaderValue: {
366
364
  new(name: StringSegment): SetCookieHeaderValue;
367
365
  new(name: StringSegment, value: StringSegment): SetCookieHeaderValue;
368
366
  Parse(input: StringSegment): SetCookieHeaderValue;
369
- ParseList(inputs: IList_1<System_Internal.String>): IList_1<SetCookieHeaderValue>;
370
- ParseStrictList(inputs: IList_1<System_Internal.String>): IList_1<SetCookieHeaderValue>;
371
- TryParse(input: StringSegment, parsedValue: SetCookieHeaderValue): boolean;
372
- TryParseList(inputs: IList_1<System_Internal.String>, parsedValues: IList_1<SetCookieHeaderValue>): boolean;
373
- TryParseStrictList(inputs: IList_1<System_Internal.String>, parsedValues: IList_1<SetCookieHeaderValue>): boolean;
367
+ ParseList(inputs: IList_1<System_Internal.String> | null): IList_1<SetCookieHeaderValue>;
368
+ ParseStrictList(inputs: IList_1<System_Internal.String> | null): IList_1<SetCookieHeaderValue>;
369
+ TryParse(input: StringSegment, parsedValue: SetCookieHeaderValue | null): boolean;
370
+ TryParseList(inputs: IList_1<System_Internal.String> | null, parsedValues: IList_1<SetCookieHeaderValue> | null): boolean;
371
+ TryParseStrictList(inputs: IList_1<System_Internal.String> | null, parsedValues: IList_1<SetCookieHeaderValue> | null): boolean;
374
372
  };
375
373
 
376
374
 
@@ -381,7 +379,7 @@ export interface StringWithQualityHeaderValue$instance {
381
379
 
382
380
  readonly Quality: Nullable_1<System_Internal.Double>;
383
381
  readonly Value: StringSegment;
384
- Equals(obj: unknown): boolean;
382
+ Equals(obj: unknown | null): boolean;
385
383
  GetHashCode(): int;
386
384
  ToString(): string;
387
385
  }
@@ -391,11 +389,11 @@ export const StringWithQualityHeaderValue: {
391
389
  new(value: StringSegment): StringWithQualityHeaderValue;
392
390
  new(value: StringSegment, quality: double): StringWithQualityHeaderValue;
393
391
  Parse(input: StringSegment): StringWithQualityHeaderValue;
394
- ParseList(input: IList_1<System_Internal.String>): IList_1<StringWithQualityHeaderValue>;
395
- ParseStrictList(input: IList_1<System_Internal.String>): IList_1<StringWithQualityHeaderValue>;
396
- TryParse(input: StringSegment, parsedValue: StringWithQualityHeaderValue): boolean;
397
- TryParseList(input: IList_1<System_Internal.String>, parsedValues: IList_1<StringWithQualityHeaderValue>): boolean;
398
- TryParseStrictList(input: IList_1<System_Internal.String>, parsedValues: IList_1<StringWithQualityHeaderValue>): boolean;
392
+ ParseList(input: IList_1<System_Internal.String> | null): IList_1<StringWithQualityHeaderValue>;
393
+ ParseStrictList(input: IList_1<System_Internal.String> | null): IList_1<StringWithQualityHeaderValue>;
394
+ TryParse(input: StringSegment, parsedValue: StringWithQualityHeaderValue | null): boolean;
395
+ TryParseList(input: IList_1<System_Internal.String> | null, parsedValues: IList_1<StringWithQualityHeaderValue> | null): boolean;
396
+ TryParseStrictList(input: IList_1<System_Internal.String> | null, parsedValues: IList_1<StringWithQualityHeaderValue> | null): boolean;
399
397
  };
400
398
 
401
399
 
@@ -406,7 +404,7 @@ export interface StringWithQualityHeaderValueComparer$instance {
406
404
 
407
405
  readonly __tsonic_iface_System_Collections_Generic_IComparer_1: never;
408
406
 
409
- Compare(stringWithQuality1: StringWithQualityHeaderValue, stringWithQuality2: StringWithQualityHeaderValue): int;
407
+ Compare(stringWithQuality1: StringWithQualityHeaderValue | null, stringWithQuality2: StringWithQualityHeaderValue | null): int;
410
408
  }
411
409
 
412
410
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './Microsoft.Net.Http.Headers/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { ICollection, IComparer, IEnumerable, IList } from '@tsonic/dotnet/System.Collections.Generic.js';
10
14
  import type { Boolean as ClrBoolean, DateTimeOffset, Double, Enum, IComparable, IConvertible, IFormattable, Int32, Int64, ISpanFormattable, Nullable, Object as ClrObject, String as ClrString, TimeSpan, Void } from '@tsonic/dotnet/System.js';
package/README.md CHANGED
@@ -1,41 +1,42 @@
1
1
  # @tsonic/aspnetcore
2
2
 
3
- TypeScript type definitions for the **`Microsoft.AspNetCore.App` shared framework** for **.NET 10**.
3
+ TypeScript declarations and CLR binding metadata for `Microsoft.AspNetCore.App` on .NET 10.
4
4
 
5
- Generated by `tsbindgen` from the installed .NET shared framework and intended for use with the **Tsonic** compiler (TypeScript → .NET).
5
+ `@tsonic/aspnetcore` is a generated binding package. It exposes ASP.NET Core
6
+ namespace modules to Tsonic while the compiled program references the real
7
+ ASP.NET Core shared framework.
6
8
 
7
- ## What this package is (and isn’t)
8
-
9
- - ✅ TypeScript bindings (`.d.ts`) for ASP.NET Core APIs (Minimal APIs, Http abstractions, hosting, etc.).
10
- - ❌ Not a JavaScript runtime implementation (the `.js` files are module stubs for type-only use).
11
- - ✅ The real assemblies come from your **installed .NET** shared framework (`Microsoft.AspNetCore.App`).
12
-
13
- ## Install (types)
9
+ ## Install
14
10
 
15
11
  ```bash
16
12
  npm install @tsonic/aspnetcore @tsonic/dotnet @tsonic/core
17
13
  ```
18
14
 
19
- ## Use with Tsonic (recommended)
15
+ The package peers against the matching .NET-major `@tsonic/dotnet`,
16
+ `@tsonic/core`, and `@tsonic/microsoft-extensions` packages.
17
+
18
+ ## Use with Tsonic
20
19
 
21
- Add the framework reference in your workspace and (optionally) use this package as the published bindings:
20
+ Add the framework reference and bind it to this type package:
22
21
 
23
22
  ```bash
24
23
  tsonic add framework Microsoft.AspNetCore.App @tsonic/aspnetcore
24
+ tsonic restore
25
25
  ```
26
26
 
27
- If you omit the `@tsonic/aspnetcore` argument, Tsonic will generate bindings locally instead.
27
+ This records the shared-framework reference in `tsonic.workspace.json` and
28
+ uses the published binding package for TypeScript and compiler metadata.
28
29
 
29
30
  ## Imports
30
31
 
31
- Import namespaces via explicit module paths:
32
+ Import ASP.NET Core namespaces through explicit ESM subpaths:
32
33
 
33
34
  ```ts
34
35
  import { WebApplication } from "@tsonic/aspnetcore/Microsoft.AspNetCore.Builder.js";
35
36
  import { HttpContext } from "@tsonic/aspnetcore/Microsoft.AspNetCore.Http.js";
36
37
  ```
37
38
 
38
- ## Example (Minimal API)
39
+ ## Minimal API example
39
40
 
40
41
  ```ts
41
42
  import { WebApplication } from "@tsonic/aspnetcore/Microsoft.AspNetCore.Builder.js";
@@ -50,12 +51,61 @@ export function main(): void {
50
51
  }
51
52
  ```
52
53
 
54
+ ## Package shape
55
+
56
+ The package contains generated namespace facades, ESM stubs, and `bindings.json`
57
+ files:
58
+
59
+ ```text
60
+ @tsonic/aspnetcore/
61
+ Microsoft.AspNetCore.Builder.d.ts
62
+ Microsoft.AspNetCore.Builder.js
63
+ Microsoft.AspNetCore.Builder/
64
+ bindings.json
65
+ internal/index.d.ts
66
+ __internal/extensions/index.d.ts
67
+ families.json
68
+ ```
69
+
70
+ `bindings.json` is compiler metadata, not user-authored configuration. It
71
+ preserves CLR identity, overload families, receiver style, extension methods,
72
+ generic constraints, and nullable semantics for Tsonic.
73
+
74
+ ## Broad CLR values
75
+
76
+ Generated CLR object slots are represented with TypeScript `unknown`, not a
77
+ package-specific catch-all value. This keeps ASP.NET Core APIs faithful to CLR
78
+ metadata while forcing user code to narrow broad values explicitly before it
79
+ uses them. Value-type constraints are represented with `NonNullable<unknown>`.
80
+
53
81
  ## Versioning
54
82
 
55
- This repo is versioned by **.NET major**:
83
+ This repo is versioned by .NET major:
56
84
 
57
85
  - .NET 10 → npm: `@tsonic/aspnetcore@10.x`
58
86
 
87
+ ## Development
88
+
89
+ Regenerate from sibling checkouts:
90
+
91
+ ```bash
92
+ npm install
93
+ ./__build/scripts/generate.sh
94
+ ```
95
+
96
+ The generation script requires:
97
+
98
+ - .NET 10 SDK/runtime
99
+ - `../tsbindgen`
100
+ - `../dotnet`
101
+ - `../microsoft-extensions`
102
+
103
+ For a system .NET install, set `DOTNET_HOME` and `DOTNET_VERSION`:
104
+
105
+ ```bash
106
+ DOTNET_HOME=/usr/lib/dotnet DOTNET_VERSION=<installed-10-runtime-version> ./__build/scripts/generate.sh
107
+ ```
108
+
59
109
  ## License
60
110
 
61
111
  MIT
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.Formats.Cbor
3
3
  // Assembly: System.Formats.Cbor
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import type { BigInteger } from "@tsonic/dotnet/System.Numerics/internal/index.js";
@@ -85,8 +83,8 @@ export interface CborContentException$instance extends Exception {
85
83
 
86
84
 
87
85
  export const CborContentException: {
88
- new(message: string): CborContentException;
89
- new(message: string, inner: Exception): CborContentException;
86
+ new(message: string | null): CborContentException;
87
+ new(message: string | null, inner: Exception | null): CborContentException;
90
88
  };
91
89
 
92
90
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.Formats.Cbor/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { Boolean as ClrBoolean, Byte, Char, DateTimeOffset, Decimal, Double, Enum, Exception, Half, IComparable, IConvertible, IFormattable, Int32, Int64, ISpanFormattable, Nullable, Object as ClrObject, ReadOnlyMemory, ReadOnlySpan, Single, Span, String as ClrString, UInt32, UInt64, Void } from '@tsonic/dotnet/System.js';
10
14
  import type { BigInteger } from '@tsonic/dotnet/System.Numerics.js';
@@ -2,8 +2,9 @@
2
2
  // Namespace: System.Security.Claims
3
3
  // Assembly: Microsoft.Extensions.Identity.Core, System.Security.Claims
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
+
7
8
 
8
9
  // Import types from other namespaces
9
10
  import type { ClaimsPrincipal } from "@tsonic/dotnet/System.Security.Claims/internal/index.js";
@@ -11,7 +12,7 @@ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
11
12
  import type { Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
12
13
 
13
14
  export abstract class PrincipalExtensions$instance {
14
- static FindFirstValue(principal: ClaimsPrincipal, claimType: string): string | undefined;
15
+ static FindFirstValue(principal: ClaimsPrincipal, claimType: string): string | null;
15
16
  }
16
17
 
17
18
 
@@ -5,6 +5,10 @@
5
5
  // Import internal declarations
6
6
  import * as Internal from './System.Security.Claims/internal/index.js';
7
7
 
8
+ // Core type aliases from @tsonic/core
9
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
10
+
11
+
8
12
  // Cross-namespace type imports for constraints
9
13
  import type { Object as ClrObject, String as ClrString } from '@tsonic/dotnet/System.js';
10
14
  import type { ClaimsPrincipal } from '@tsonic/dotnet/System.Security.Claims.js';