@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.
- package/Microsoft.AspNetCore/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Antiforgery.d.ts +4 -0
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +218 -214
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Authentication.BearerToken.d.ts +4 -0
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Authentication.Cookies.d.ts +4 -0
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +27 -26
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims.d.ts +4 -0
- package/Microsoft.AspNetCore.Authentication.OAuth.d.ts +4 -0
- package/Microsoft.AspNetCore.Authentication.d.ts +7 -2
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +44 -43
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Authorization.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Authorization.Policy.d.ts +4 -0
- package/Microsoft.AspNetCore.Authorization.d.ts +8 -4
- package/Microsoft.AspNetCore.Builder/bindings.json +0 -130
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +110 -129
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Builder.Extensions.d.ts +4 -0
- package/Microsoft.AspNetCore.Builder.d.ts +4 -1
- package/Microsoft.AspNetCore.Components/bindings.json +4 -1
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +240 -242
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +26 -25
- package/Microsoft.AspNetCore.Components.Authorization.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.CompilerServices.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Endpoints.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +98 -100
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Components.Forms.Mapping.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Forms.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Components.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +16 -18
- package/Microsoft.AspNetCore.Components.RenderTree.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +21 -20
- package/Microsoft.AspNetCore.Components.Rendering.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +24 -23
- package/Microsoft.AspNetCore.Components.Routing.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +13 -12
- package/Microsoft.AspNetCore.Components.Sections.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Server.Circuits.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Server.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +23 -22
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Components.Web.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Components.Web.Internal.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +23 -22
- package/Microsoft.AspNetCore.Components.Web.Virtualization.d.ts +5 -1
- package/Microsoft.AspNetCore.Components.Web.d.ts +4 -0
- package/Microsoft.AspNetCore.Components.d.ts +11 -7
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Connections.Abstractions.d.ts +4 -0
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Connections.Features.d.ts +4 -0
- package/Microsoft.AspNetCore.Connections.d.ts +5 -1
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.CookiePolicy.d.ts +4 -0
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Cors.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Cors.d.ts +4 -0
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +8 -8
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/bindings.json +10 -10
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.DataProtection.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.DataProtection.Internal.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +16 -15
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/bindings.json +3 -3
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +7 -9
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.DataProtection.Repositories.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption.d.ts +4 -0
- package/Microsoft.AspNetCore.DataProtection.d.ts +4 -0
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks.d.ts +4 -0
- package/Microsoft.AspNetCore.Diagnostics.d.ts +4 -0
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.HostFiltering.d.ts +4 -0
- package/Microsoft.AspNetCore.Hosting/bindings.json +20 -83
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +19 -27
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Builder.d.ts +4 -0
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Hosting.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions.d.ts +5 -1
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.Server.Features.d.ts +4 -0
- package/Microsoft.AspNetCore.Hosting.Server.d.ts +5 -1
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets.d.ts +4 -0
- package/Microsoft.AspNetCore.Hosting.d.ts +7 -5
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +14 -11
- package/Microsoft.AspNetCore.Html.d.ts +4 -0
- package/Microsoft.AspNetCore.Http/bindings.json +494 -494
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +336 -338
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +22 -21
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Http.Connections.Features.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Connections.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Http.Extensions.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Features/bindings.json +4 -1
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +53 -55
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Http.Features.Authentication.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Features.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +39 -38
- package/Microsoft.AspNetCore.Http.Headers.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +117 -116
- package/Microsoft.AspNetCore.Http.HttpResults.d.ts +37 -33
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Http.Json.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Http.Metadata.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Http.Timeouts.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.d.ts +11 -7
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.HttpLogging.d.ts +4 -0
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.HttpOverrides.d.ts +4 -0
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.HttpsPolicy.d.ts +4 -0
- package/Microsoft.AspNetCore.Identity/bindings.json +397 -17
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +453 -452
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Identity.Data.d.ts +4 -0
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Identity.UI.Services.d.ts +4 -0
- package/Microsoft.AspNetCore.Identity.d.ts +44 -40
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +21 -20
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Localization.Routing.d.ts +4 -0
- package/Microsoft.AspNetCore.Localization.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +447 -446
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +17 -16
- package/Microsoft.AspNetCore.Mvc.Abstractions.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +9 -8
- package/Microsoft.AspNetCore.Mvc.ActionConstraints.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +34 -33
- package/Microsoft.AspNetCore.Mvc.ApiExplorer.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +54 -53
- package/Microsoft.AspNetCore.Mvc.ApplicationModels.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Mvc.ApplicationParts.d.ts +6 -2
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +8 -7
- package/Microsoft.AspNetCore.Mvc.Authorization.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Mvc.Controllers.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.Mvc.Cors.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +15 -14
- package/Microsoft.AspNetCore.Mvc.DataAnnotations.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Diagnostics/bindings.json +119 -119
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +29 -28
- package/Microsoft.AspNetCore.Mvc.Diagnostics.d.ts +5 -1
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +57 -56
- package/Microsoft.AspNetCore.Mvc.Filters.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +38 -37
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +20 -19
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Formatters.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +91 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +58 -39
- package/Microsoft.AspNetCore.Mvc.Infrastructure.d.ts +6 -1
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +11 -10
- package/Microsoft.AspNetCore.Mvc.Localization.d.ts +8 -4
- package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +1721 -1721
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +272 -274
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +54 -53
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +108 -107
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/bindings.json +80 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +42 -27
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +6 -1
- package/Microsoft.AspNetCore.Mvc.ModelBinding.d.ts +11 -7
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +51 -50
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +10 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.Mvc.Razor.Internal.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +4 -6
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Razor.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +135 -134
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +12 -11
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.RazorPages.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +61 -60
- package/Microsoft.AspNetCore.Mvc.Rendering.d.ts +6 -2
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +47 -46
- package/Microsoft.AspNetCore.Mvc.Routing.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +22 -24
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.TagHelpers.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +14 -13
- package/Microsoft.AspNetCore.Mvc.ViewComponents.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +10 -9
- package/Microsoft.AspNetCore.Mvc.ViewEngines.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +131 -131
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +78 -80
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.d.ts +9 -5
- package/Microsoft.AspNetCore.Mvc.d.ts +20 -16
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +18 -17
- package/Microsoft.AspNetCore.OutputCaching.d.ts +4 -0
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +14 -13
- package/Microsoft.AspNetCore.RateLimiting.d.ts +5 -1
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Razor.Hosting.d.ts +4 -0
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers.d.ts +4 -0
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +5 -7
- package/Microsoft.AspNetCore.Razor.TagHelpers.d.ts +4 -0
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.RequestDecompression.d.ts +4 -0
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.ResponseCaching.d.ts +4 -0
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +6 -5
- package/Microsoft.AspNetCore.ResponseCompression.d.ts +4 -0
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Rewrite.d.ts +4 -0
- package/Microsoft.AspNetCore.Routing/bindings.json +185 -185
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +137 -139
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +49 -48
- package/Microsoft.AspNetCore.Routing.Constraints.d.ts +4 -0
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Routing.Internal.d.ts +4 -0
- package/Microsoft.AspNetCore.Routing.Matching/bindings.json +4 -1
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +12 -14
- package/Microsoft.AspNetCore.Routing.Matching.d.ts +6 -2
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +29 -28
- package/Microsoft.AspNetCore.Routing.Patterns.d.ts +4 -0
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +16 -18
- package/Microsoft.AspNetCore.Routing.Template.d.ts +4 -0
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +4 -3
- package/Microsoft.AspNetCore.Routing.Tree.d.ts +4 -0
- package/Microsoft.AspNetCore.Routing.d.ts +6 -2
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.IISIntegration.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel/bindings.json +16 -16
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Core/bindings.json +42 -42
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +16 -15
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/bindings.json +3 -3
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/bindings.json +33 -33
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +6 -8
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Core.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Https/bindings.json +10 -10
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +19 -18
- package/Microsoft.AspNetCore.Server.Kestrel.Https.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.d.ts +4 -0
- package/Microsoft.AspNetCore.Server.Kestrel.d.ts +4 -0
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +3 -5
- package/Microsoft.AspNetCore.Session.d.ts +4 -0
- package/Microsoft.AspNetCore.SignalR/bindings.json +201 -201
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +168 -170
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +32 -34
- package/Microsoft.AspNetCore.SignalR.Protocol.d.ts +4 -0
- package/Microsoft.AspNetCore.SignalR.d.ts +20 -16
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +3 -2
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.StaticAssets.d.ts +4 -0
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +2 -4
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -6
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure.d.ts +4 -0
- package/Microsoft.AspNetCore.StaticFiles.d.ts +4 -0
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +5 -4
- package/Microsoft.AspNetCore.WebSockets.d.ts +4 -0
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +25 -24
- package/Microsoft.AspNetCore.WebUtilities.d.ts +5 -1
- package/Microsoft.AspNetCore.d.ts +4 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +62 -61
- package/Microsoft.Extensions.DependencyInjection.d.ts +4 -0
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Hosting.d.ts +4 -0
- package/Microsoft.JSInterop/internal/index.d.ts +102 -77
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +16 -17
- package/Microsoft.JSInterop.Implementation.d.ts +4 -0
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +9 -11
- package/Microsoft.JSInterop.Infrastructure.d.ts +4 -0
- package/Microsoft.JSInterop.d.ts +6 -2
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +57 -59
- package/Microsoft.Net.Http.Headers.d.ts +4 -0
- package/README.md +65 -15
- package/System.Formats.Cbor/internal/index.d.ts +4 -6
- package/System.Formats.Cbor.d.ts +4 -0
- package/System.Security.Claims/internal/index.d.ts +4 -3
- package/System.Security.Claims.d.ts +4 -0
- package/System.Threading.RateLimiting/internal/index.d.ts +31 -33
- package/System.Threading.RateLimiting.d.ts +10 -6
- package/__internal/extensions/index.d.ts +410 -431
- package/package.json +4 -4
- package/Microsoft.AspNetCore.Server.HttpSys/bindings.json +0 -2396
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +0 -297
- package/Microsoft.AspNetCore.Server.HttpSys.d.ts +0 -34
- package/Microsoft.AspNetCore.Server.HttpSys.js +0 -9
- package/Microsoft.AspNetCore.Server.IIS/bindings.json +0 -332
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +0 -68
- package/Microsoft.AspNetCore.Server.IIS.d.ts +0 -20
- package/Microsoft.AspNetCore.Server.IIS.js +0 -9
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: Microsoft.AspNetCore.Http
|
|
3
3
|
// Assembly: Microsoft.AspNetCore.Hosting, Microsoft.AspNetCore.Http, Microsoft.AspNetCore.Http.Abstractions, Microsoft.AspNetCore.Http.Extensions, Microsoft.AspNetCore.Http.Features, Microsoft.AspNetCore.Http.Results, Microsoft.AspNetCore.Routing
|
|
4
4
|
|
|
5
|
-
//
|
|
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 { AuthenticationProperties } from "../../Microsoft.AspNetCore.Authentication/internal/index.js";
|
|
@@ -70,13 +68,13 @@ export type EndpointFilterDelegate = (context: EndpointFilterInvocationContext)
|
|
|
70
68
|
export type RequestDelegate = (context: HttpContext) => Task;
|
|
71
69
|
|
|
72
70
|
|
|
73
|
-
export interface IBindableFromHttpContext_1$instance<TSelf extends IBindableFromHttpContext_1<TSelf>> {
|
|
71
|
+
export interface IBindableFromHttpContext_1$instance<TSelf extends (object | null) & IBindableFromHttpContext_1<TSelf>> {
|
|
74
72
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IBindableFromHttpContext_1: never;
|
|
75
73
|
|
|
76
74
|
}
|
|
77
75
|
|
|
78
76
|
|
|
79
|
-
export type IBindableFromHttpContext_1<TSelf extends IBindableFromHttpContext_1<TSelf>> = IBindableFromHttpContext_1$instance<TSelf>;
|
|
77
|
+
export type IBindableFromHttpContext_1<TSelf extends (object | null) & IBindableFromHttpContext_1<TSelf>> = IBindableFromHttpContext_1$instance<TSelf>;
|
|
80
78
|
|
|
81
79
|
export interface IContentTypeHttpResult$instance {
|
|
82
80
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IContentTypeHttpResult: never;
|
|
@@ -100,7 +98,7 @@ export interface IFileHttpResult$instance {
|
|
|
100
98
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IFileHttpResult: never;
|
|
101
99
|
|
|
102
100
|
readonly ContentType: string;
|
|
103
|
-
readonly FileDownloadName: string |
|
|
101
|
+
readonly FileDownloadName: string | null;
|
|
104
102
|
}
|
|
105
103
|
|
|
106
104
|
|
|
@@ -141,14 +139,14 @@ export type IFormFile = IFormFile$instance;
|
|
|
141
139
|
export interface IFormFileCollection$instance extends IReadOnlyList_1<IFormFile>, IEnumerable_1<IFormFile>, IEnumerable, IReadOnlyCollection_1<IFormFile> {
|
|
142
140
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IFormFileCollection: never;
|
|
143
141
|
|
|
144
|
-
GetFile(name: string): IFormFile |
|
|
142
|
+
GetFile(name: string): IFormFile | null;
|
|
145
143
|
GetFiles(name: string): IReadOnlyList_1<IFormFile>;
|
|
146
144
|
}
|
|
147
145
|
|
|
148
146
|
|
|
149
147
|
export interface IFormFileCollection$instance extends System_Collections_Generic_Internal.IEnumerable_1<IFormFile>, System_Collections_Generic_Internal.IReadOnlyCollection_1<IFormFile>, System_Collections_Generic_Internal.IReadOnlyList_1<IFormFile> {}
|
|
150
148
|
|
|
151
|
-
export type IFormFileCollection = IFormFileCollection$instance & { readonly [name: string]: IFormFile |
|
|
149
|
+
export type IFormFileCollection = IFormFileCollection$instance & { readonly [name: string]: IFormFile | null; };
|
|
152
150
|
|
|
153
151
|
export interface IHeaderDictionary$instance extends IDictionary_2<System_Internal.String, StringValues>, ICollection_1<KeyValuePair_2<System_Internal.String, StringValues>>, IEnumerable_1<KeyValuePair_2<System_Internal.String, StringValues>>, IEnumerable {
|
|
154
152
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IHeaderDictionary: never;
|
|
@@ -254,8 +252,8 @@ export type IHeaderDictionary = IHeaderDictionary$instance & { [key: string]: St
|
|
|
254
252
|
export interface IHttpContextAccessor$instance {
|
|
255
253
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IHttpContextAccessor: never;
|
|
256
254
|
|
|
257
|
-
get HttpContext(): HttpContext |
|
|
258
|
-
set HttpContext(value: HttpContext |
|
|
255
|
+
get HttpContext(): HttpContext | null;
|
|
256
|
+
set HttpContext(value: HttpContext | null);
|
|
259
257
|
}
|
|
260
258
|
|
|
261
259
|
|
|
@@ -283,7 +281,7 @@ export type IMiddleware = IMiddleware$instance;
|
|
|
283
281
|
export interface IMiddlewareFactory$instance {
|
|
284
282
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IMiddlewareFactory: never;
|
|
285
283
|
|
|
286
|
-
Create(middlewareType: Type): IMiddleware |
|
|
284
|
+
Create(middlewareType: Type): IMiddleware | null;
|
|
287
285
|
Release(middleware: IMiddleware): void;
|
|
288
286
|
}
|
|
289
287
|
|
|
@@ -339,13 +337,13 @@ export interface IRequestCookieCollection$instance extends IEnumerable_1<KeyValu
|
|
|
339
337
|
readonly Count: int;
|
|
340
338
|
readonly Keys: ICollection_1<System_Internal.String>;
|
|
341
339
|
ContainsKey(key: string): boolean;
|
|
342
|
-
TryGetValue(key: string, value: string): boolean;
|
|
340
|
+
TryGetValue(key: string, value: string | null): boolean;
|
|
343
341
|
}
|
|
344
342
|
|
|
345
343
|
|
|
346
344
|
export interface IRequestCookieCollection$instance extends System_Collections_Generic_Internal.IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>> {}
|
|
347
345
|
|
|
348
|
-
export type IRequestCookieCollection = IRequestCookieCollection$instance & { readonly [key: string]: string |
|
|
346
|
+
export type IRequestCookieCollection = IRequestCookieCollection$instance & { readonly [key: string]: string | null; };
|
|
349
347
|
|
|
350
348
|
export interface IResponseCookies$instance {
|
|
351
349
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IResponseCookies: never;
|
|
@@ -387,7 +385,7 @@ export interface ISession$instance {
|
|
|
387
385
|
LoadAsync(cancellationToken?: CancellationToken): Task;
|
|
388
386
|
Remove(key: string): void;
|
|
389
387
|
Set(key: string, value: byte[]): void;
|
|
390
|
-
TryGetValue(key: string, value: byte[]): boolean;
|
|
388
|
+
TryGetValue(key: string, value: byte[] | null): boolean;
|
|
391
389
|
}
|
|
392
390
|
|
|
393
391
|
|
|
@@ -405,62 +403,20 @@ export type IStatusCodeHttpResult = IStatusCodeHttpResult$instance;
|
|
|
405
403
|
export interface IValueHttpResult$instance {
|
|
406
404
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IValueHttpResult: never;
|
|
407
405
|
|
|
408
|
-
readonly Value: unknown |
|
|
406
|
+
readonly Value: unknown | null;
|
|
409
407
|
}
|
|
410
408
|
|
|
411
409
|
|
|
412
410
|
export type IValueHttpResult = IValueHttpResult$instance;
|
|
413
411
|
|
|
414
|
-
export interface IValueHttpResult_1$instance<TValue> {
|
|
412
|
+
export interface IValueHttpResult_1$instance<TValue extends unknown> {
|
|
415
413
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IValueHttpResult_1: never;
|
|
416
414
|
|
|
417
|
-
readonly Value: TValue |
|
|
415
|
+
readonly Value: TValue | null;
|
|
418
416
|
}
|
|
419
417
|
|
|
420
418
|
|
|
421
|
-
export type IValueHttpResult_1<TValue> = IValueHttpResult_1$instance<TValue>;
|
|
422
|
-
|
|
423
|
-
export interface EndpointMetadataCollection_Enumerator$instance {
|
|
424
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Http_EndpointMetadataCollection_Enumerator: never;
|
|
425
|
-
|
|
426
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
427
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
428
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
429
|
-
|
|
430
|
-
readonly Current: unknown;
|
|
431
|
-
Dispose(): void;
|
|
432
|
-
MoveNext(): boolean;
|
|
433
|
-
Reset(): void;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
export const EndpointMetadataCollection_Enumerator: {
|
|
438
|
-
new(): EndpointMetadataCollection_Enumerator;
|
|
439
|
-
};
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
export type EndpointMetadataCollection_Enumerator = EndpointMetadataCollection_Enumerator$instance;
|
|
443
|
-
|
|
444
|
-
export interface FormCollection_Enumerator$instance {
|
|
445
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Http_FormCollection_Enumerator: never;
|
|
446
|
-
|
|
447
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
448
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
449
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
450
|
-
|
|
451
|
-
readonly Current: KeyValuePair_2<System_Internal.String, StringValues>;
|
|
452
|
-
Dispose(): void;
|
|
453
|
-
MoveNext(): boolean;
|
|
454
|
-
Reset(): void;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
export const FormCollection_Enumerator: {
|
|
459
|
-
new(): FormCollection_Enumerator;
|
|
460
|
-
};
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
export type FormCollection_Enumerator = FormCollection_Enumerator$instance;
|
|
419
|
+
export type IValueHttpResult_1<TValue extends unknown> = IValueHttpResult_1$instance<TValue>;
|
|
464
420
|
|
|
465
421
|
export interface FragmentString$instance {
|
|
466
422
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_FragmentString: never;
|
|
@@ -470,7 +426,7 @@ export interface FragmentString$instance {
|
|
|
470
426
|
readonly HasValue: boolean;
|
|
471
427
|
readonly Value: string;
|
|
472
428
|
Equals(other: FragmentString): boolean;
|
|
473
|
-
Equals(obj: unknown): boolean;
|
|
429
|
+
Equals(obj: unknown | null): boolean;
|
|
474
430
|
GetHashCode(): int;
|
|
475
431
|
ToString(): string;
|
|
476
432
|
ToUriComponent(): string;
|
|
@@ -487,27 +443,6 @@ export const FragmentString: {
|
|
|
487
443
|
|
|
488
444
|
export type FragmentString = FragmentString$instance;
|
|
489
445
|
|
|
490
|
-
export interface HeaderDictionary_Enumerator$instance {
|
|
491
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Http_HeaderDictionary_Enumerator: never;
|
|
492
|
-
|
|
493
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
494
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
495
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
496
|
-
|
|
497
|
-
readonly Current: KeyValuePair_2<System_Internal.String, StringValues>;
|
|
498
|
-
Dispose(): void;
|
|
499
|
-
MoveNext(): boolean;
|
|
500
|
-
Reset(): void;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
export const HeaderDictionary_Enumerator: {
|
|
505
|
-
new(): HeaderDictionary_Enumerator;
|
|
506
|
-
};
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
export type HeaderDictionary_Enumerator = HeaderDictionary_Enumerator$instance;
|
|
510
|
-
|
|
511
446
|
export interface HostString$instance {
|
|
512
447
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_HostString: never;
|
|
513
448
|
|
|
@@ -516,9 +451,9 @@ export interface HostString$instance {
|
|
|
516
451
|
readonly HasValue: boolean;
|
|
517
452
|
readonly Host: string;
|
|
518
453
|
readonly Port: Nullable_1<System_Internal.Int32>;
|
|
519
|
-
readonly Value: string |
|
|
454
|
+
readonly Value: string | null;
|
|
520
455
|
Equals(other: HostString): boolean;
|
|
521
|
-
Equals(obj: unknown): boolean;
|
|
456
|
+
Equals(obj: unknown | null): boolean;
|
|
522
457
|
GetHashCode(): int;
|
|
523
458
|
ToString(): string;
|
|
524
459
|
ToUriComponent(): string;
|
|
@@ -526,7 +461,7 @@ export interface HostString$instance {
|
|
|
526
461
|
|
|
527
462
|
|
|
528
463
|
export const HostString: {
|
|
529
|
-
new(value: string): HostString;
|
|
464
|
+
new(value: string | null): HostString;
|
|
530
465
|
new(host: string, port: int): HostString;
|
|
531
466
|
FromUriComponent(uriComponent: string): HostString;
|
|
532
467
|
FromUriComponent(uri: Uri): HostString;
|
|
@@ -542,12 +477,12 @@ export interface PathString$instance {
|
|
|
542
477
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
543
478
|
|
|
544
479
|
readonly HasValue: boolean;
|
|
545
|
-
readonly Value: string |
|
|
480
|
+
readonly Value: string | null;
|
|
546
481
|
Add(other: PathString): PathString;
|
|
547
482
|
Add(other: QueryString): string;
|
|
548
483
|
Equals(other: PathString): boolean;
|
|
549
484
|
Equals(other: PathString, comparisonType: StringComparison): boolean;
|
|
550
|
-
Equals(obj: unknown): boolean;
|
|
485
|
+
Equals(obj: unknown | null): boolean;
|
|
551
486
|
GetHashCode(): int;
|
|
552
487
|
StartsWithSegments(other: PathString): boolean;
|
|
553
488
|
StartsWithSegments(other: PathString, comparisonType: StringComparison): boolean;
|
|
@@ -561,7 +496,7 @@ export interface PathString$instance {
|
|
|
561
496
|
|
|
562
497
|
|
|
563
498
|
export const PathString: {
|
|
564
|
-
new(value: string): PathString;
|
|
499
|
+
new(value: string | null): PathString;
|
|
565
500
|
readonly Empty: PathString;
|
|
566
501
|
FromUriComponent(uriComponent: string): PathString;
|
|
567
502
|
FromUriComponent(uri: Uri): PathString;
|
|
@@ -570,38 +505,17 @@ export const PathString: {
|
|
|
570
505
|
|
|
571
506
|
export type PathString = PathString$instance;
|
|
572
507
|
|
|
573
|
-
export interface QueryCollection_Enumerator$instance {
|
|
574
|
-
readonly __tsonic_type_Microsoft_AspNetCore_Http_QueryCollection_Enumerator: never;
|
|
575
|
-
|
|
576
|
-
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
577
|
-
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
578
|
-
readonly __tsonic_iface_System_IDisposable: never;
|
|
579
|
-
|
|
580
|
-
readonly Current: KeyValuePair_2<System_Internal.String, StringValues>;
|
|
581
|
-
Dispose(): void;
|
|
582
|
-
MoveNext(): boolean;
|
|
583
|
-
Reset(): void;
|
|
584
|
-
}
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
export const QueryCollection_Enumerator: {
|
|
588
|
-
new(): QueryCollection_Enumerator;
|
|
589
|
-
};
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
export type QueryCollection_Enumerator = QueryCollection_Enumerator$instance;
|
|
593
|
-
|
|
594
508
|
export interface QueryString$instance {
|
|
595
509
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_QueryString: never;
|
|
596
510
|
|
|
597
511
|
readonly __tsonic_iface_System_IEquatable_1: never;
|
|
598
512
|
|
|
599
513
|
readonly HasValue: boolean;
|
|
600
|
-
readonly Value: string |
|
|
514
|
+
readonly Value: string | null;
|
|
601
515
|
Add(other: QueryString): QueryString;
|
|
602
516
|
Add(name: string, value: string): QueryString;
|
|
603
517
|
Equals(other: QueryString): boolean;
|
|
604
|
-
Equals(obj: unknown): boolean;
|
|
518
|
+
Equals(obj: unknown | null): boolean;
|
|
605
519
|
GetHashCode(): int;
|
|
606
520
|
ToString(): string;
|
|
607
521
|
ToUriComponent(): string;
|
|
@@ -609,7 +523,7 @@ export interface QueryString$instance {
|
|
|
609
523
|
|
|
610
524
|
|
|
611
525
|
export const QueryString: {
|
|
612
|
-
new(value: string): QueryString;
|
|
526
|
+
new(value: string | null): QueryString;
|
|
613
527
|
readonly Empty: QueryString;
|
|
614
528
|
Create(parameters: IEnumerable_1<KeyValuePair_2<System_Internal.String, StringValues>>): QueryString;
|
|
615
529
|
Create(parameters: IEnumerable_1<KeyValuePair_2<System_Internal.String, System_Internal.String>>): QueryString;
|
|
@@ -679,7 +593,7 @@ export interface BindingAddress$instance {
|
|
|
679
593
|
readonly Port: int;
|
|
680
594
|
readonly Scheme: string;
|
|
681
595
|
readonly UnixPipePath: string;
|
|
682
|
-
Equals(obj: unknown): boolean;
|
|
596
|
+
Equals(obj: unknown | null): boolean;
|
|
683
597
|
GetHashCode(): int;
|
|
684
598
|
ToString(): string;
|
|
685
599
|
}
|
|
@@ -696,16 +610,16 @@ export type BindingAddress = BindingAddress$instance;
|
|
|
696
610
|
export interface ConnectionInfo$instance {
|
|
697
611
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_ConnectionInfo: never;
|
|
698
612
|
|
|
699
|
-
get ClientCertificate(): X509Certificate2 |
|
|
700
|
-
set ClientCertificate(value: X509Certificate2 |
|
|
613
|
+
get ClientCertificate(): X509Certificate2 | null;
|
|
614
|
+
set ClientCertificate(value: X509Certificate2 | null);
|
|
701
615
|
Id: string;
|
|
702
|
-
get LocalIpAddress(): IPAddress |
|
|
703
|
-
set LocalIpAddress(value: IPAddress |
|
|
616
|
+
get LocalIpAddress(): IPAddress | null;
|
|
617
|
+
set LocalIpAddress(value: IPAddress | null);
|
|
704
618
|
LocalPort: int;
|
|
705
|
-
get RemoteIpAddress(): IPAddress |
|
|
706
|
-
set RemoteIpAddress(value: IPAddress |
|
|
619
|
+
get RemoteIpAddress(): IPAddress | null;
|
|
620
|
+
set RemoteIpAddress(value: IPAddress | null);
|
|
707
621
|
RemotePort: int;
|
|
708
|
-
GetClientCertificateAsync(cancellationToken?: CancellationToken): Task_1<X509Certificate2 |
|
|
622
|
+
GetClientCertificateAsync(cancellationToken?: CancellationToken): Task_1<X509Certificate2 | null>;
|
|
709
623
|
RequestClose(): void;
|
|
710
624
|
}
|
|
711
625
|
|
|
@@ -719,8 +633,8 @@ export type ConnectionInfo = ConnectionInfo$instance;
|
|
|
719
633
|
export interface CookieBuilder$instance {
|
|
720
634
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_CookieBuilder: never;
|
|
721
635
|
|
|
722
|
-
get Domain(): string |
|
|
723
|
-
set Domain(value: string |
|
|
636
|
+
get Domain(): string | null;
|
|
637
|
+
set Domain(value: string | null);
|
|
724
638
|
get Expiration(): Nullable_1<TimeSpan>;
|
|
725
639
|
set Expiration(value: Nullable_1<TimeSpan> | TimeSpan);
|
|
726
640
|
readonly Extensions: IList_1<System_Internal.String>;
|
|
@@ -728,10 +642,10 @@ export interface CookieBuilder$instance {
|
|
|
728
642
|
IsEssential: boolean;
|
|
729
643
|
get MaxAge(): Nullable_1<TimeSpan>;
|
|
730
644
|
set MaxAge(value: Nullable_1<TimeSpan> | TimeSpan);
|
|
731
|
-
get Name(): string |
|
|
732
|
-
set Name(value: string |
|
|
733
|
-
get Path(): string |
|
|
734
|
-
set Path(value: string |
|
|
645
|
+
get Name(): string | null;
|
|
646
|
+
set Name(value: string | null);
|
|
647
|
+
get Path(): string | null;
|
|
648
|
+
set Path(value: string | null);
|
|
735
649
|
SameSite: SameSiteMode;
|
|
736
650
|
SecurePolicy: CookieSecurePolicy;
|
|
737
651
|
Build(context: HttpContext): CookieOptions;
|
|
@@ -749,8 +663,8 @@ export type CookieBuilder = CookieBuilder$instance;
|
|
|
749
663
|
export interface CookieOptions$instance {
|
|
750
664
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_CookieOptions: never;
|
|
751
665
|
|
|
752
|
-
get Domain(): string |
|
|
753
|
-
set Domain(value: string |
|
|
666
|
+
get Domain(): string | null;
|
|
667
|
+
set Domain(value: string | null);
|
|
754
668
|
get Expires(): Nullable_1<DateTimeOffset>;
|
|
755
669
|
set Expires(value: Nullable_1<DateTimeOffset> | DateTimeOffset);
|
|
756
670
|
readonly Extensions: IList_1<System_Internal.String>;
|
|
@@ -758,8 +672,8 @@ export interface CookieOptions$instance {
|
|
|
758
672
|
IsEssential: boolean;
|
|
759
673
|
get MaxAge(): Nullable_1<TimeSpan>;
|
|
760
674
|
set MaxAge(value: Nullable_1<TimeSpan> | TimeSpan);
|
|
761
|
-
get Path(): string |
|
|
762
|
-
set Path(value: string |
|
|
675
|
+
get Path(): string | null;
|
|
676
|
+
set Path(value: string | null);
|
|
763
677
|
SameSite: SameSiteMode;
|
|
764
678
|
Secure: boolean;
|
|
765
679
|
CreateCookieHeader(name: string, value: string): SetCookieHeaderValue;
|
|
@@ -777,14 +691,14 @@ export type CookieOptions = CookieOptions$instance;
|
|
|
777
691
|
export interface DefaultEndpointFilterInvocationContext$instance extends EndpointFilterInvocationContext {
|
|
778
692
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_DefaultEndpointFilterInvocationContext: never;
|
|
779
693
|
|
|
780
|
-
readonly Arguments: IList_1<unknown |
|
|
694
|
+
readonly Arguments: IList_1<unknown | null>;
|
|
781
695
|
readonly HttpContext: HttpContext;
|
|
782
|
-
GetArgument<T>(index: int): T;
|
|
696
|
+
GetArgument<T extends unknown>(index: int): T;
|
|
783
697
|
}
|
|
784
698
|
|
|
785
699
|
|
|
786
700
|
export const DefaultEndpointFilterInvocationContext: {
|
|
787
|
-
new(httpContext: HttpContext, arguments: unknown[]): DefaultEndpointFilterInvocationContext;
|
|
701
|
+
new(httpContext: HttpContext, arguments: (unknown | null)[]): DefaultEndpointFilterInvocationContext;
|
|
788
702
|
};
|
|
789
703
|
|
|
790
704
|
|
|
@@ -797,7 +711,7 @@ export interface DefaultHttpContext$instance extends HttpContext {
|
|
|
797
711
|
readonly Features: IFeatureCollection;
|
|
798
712
|
FormOptions: FormOptions;
|
|
799
713
|
readonly HttpContext: HttpContext;
|
|
800
|
-
Items: IDictionary_2<unknown, unknown |
|
|
714
|
+
Items: IDictionary_2<unknown, unknown | null>;
|
|
801
715
|
readonly Request: HttpRequest;
|
|
802
716
|
RequestAborted: CancellationToken;
|
|
803
717
|
RequestServices: IServiceProvider;
|
|
@@ -862,15 +776,15 @@ export type DisableHttpMetricsAttribute = DisableHttpMetricsAttribute$instance;
|
|
|
862
776
|
export interface Endpoint$instance {
|
|
863
777
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_Endpoint: never;
|
|
864
778
|
|
|
865
|
-
readonly DisplayName: string |
|
|
779
|
+
readonly DisplayName: string | null;
|
|
866
780
|
readonly Metadata: EndpointMetadataCollection;
|
|
867
|
-
readonly RequestDelegate: RequestDelegate |
|
|
868
|
-
ToString(): string |
|
|
781
|
+
readonly RequestDelegate: RequestDelegate | null;
|
|
782
|
+
ToString(): string | null;
|
|
869
783
|
}
|
|
870
784
|
|
|
871
785
|
|
|
872
786
|
export const Endpoint: {
|
|
873
|
-
new(requestDelegate: RequestDelegate, metadata: EndpointMetadataCollection, displayName: string): Endpoint;
|
|
787
|
+
new(requestDelegate: RequestDelegate | null, metadata: EndpointMetadataCollection | null, displayName: string | null): Endpoint;
|
|
874
788
|
};
|
|
875
789
|
|
|
876
790
|
|
|
@@ -916,21 +830,21 @@ export type EndpointFilterFactoryContext = EndpointFilterFactoryContext$instance
|
|
|
916
830
|
export interface EndpointFilterInvocationContext$instance {
|
|
917
831
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_EndpointFilterInvocationContext: never;
|
|
918
832
|
|
|
919
|
-
readonly Arguments: IList_1<unknown |
|
|
833
|
+
readonly Arguments: IList_1<unknown | null>;
|
|
920
834
|
readonly HttpContext: HttpContext;
|
|
921
|
-
GetArgument<T>(index: int): T;
|
|
835
|
+
GetArgument<T extends unknown>(index: int): T;
|
|
922
836
|
}
|
|
923
837
|
|
|
924
838
|
|
|
925
839
|
export const EndpointFilterInvocationContext: (abstract new() => EndpointFilterInvocationContext) & {
|
|
926
|
-
Create<T>(httpContext: HttpContext, arg: T): EndpointFilterInvocationContext;
|
|
927
|
-
Create<T1, T2, T3, T4, T5, T6, T7, T8>(httpContext: HttpContext, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, arg7: T7, arg8: T8): EndpointFilterInvocationContext;
|
|
928
|
-
Create<T1, T2, T3, T4, T5, T6, T7>(httpContext: HttpContext, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, arg7: T7): EndpointFilterInvocationContext;
|
|
929
|
-
Create<T1, T2, T3, T4, T5, T6>(httpContext: HttpContext, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6): EndpointFilterInvocationContext;
|
|
930
|
-
Create<T1, T2, T3, T4, T5>(httpContext: HttpContext, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5): EndpointFilterInvocationContext;
|
|
931
|
-
Create<T1, T2, T3, T4>(httpContext: HttpContext, arg1: T1, arg2: T2, arg3: T3, arg4: T4): EndpointFilterInvocationContext;
|
|
932
|
-
Create<T1, T2, T3>(httpContext: HttpContext, arg1: T1, arg2: T2, arg3: T3): EndpointFilterInvocationContext;
|
|
933
|
-
Create<T1, T2>(httpContext: HttpContext, arg1: T1, arg2: T2): EndpointFilterInvocationContext;
|
|
840
|
+
Create<T extends unknown>(httpContext: HttpContext, arg: T): EndpointFilterInvocationContext;
|
|
841
|
+
Create<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown, T5 extends unknown, T6 extends unknown, T7 extends unknown, T8 extends unknown>(httpContext: HttpContext, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, arg7: T7, arg8: T8): EndpointFilterInvocationContext;
|
|
842
|
+
Create<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown, T5 extends unknown, T6 extends unknown, T7 extends unknown>(httpContext: HttpContext, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, arg7: T7): EndpointFilterInvocationContext;
|
|
843
|
+
Create<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown, T5 extends unknown, T6 extends unknown>(httpContext: HttpContext, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6): EndpointFilterInvocationContext;
|
|
844
|
+
Create<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown, T5 extends unknown>(httpContext: HttpContext, arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5): EndpointFilterInvocationContext;
|
|
845
|
+
Create<T1 extends unknown, T2 extends unknown, T3 extends unknown, T4 extends unknown>(httpContext: HttpContext, arg1: T1, arg2: T2, arg3: T3, arg4: T4): EndpointFilterInvocationContext;
|
|
846
|
+
Create<T1 extends unknown, T2 extends unknown, T3 extends unknown>(httpContext: HttpContext, arg1: T1, arg2: T2, arg3: T3): EndpointFilterInvocationContext;
|
|
847
|
+
Create<T1 extends unknown, T2 extends unknown>(httpContext: HttpContext, arg1: T1, arg2: T2): EndpointFilterInvocationContext;
|
|
934
848
|
Create(httpContext: HttpContext): EndpointFilterInvocationContext;
|
|
935
849
|
};
|
|
936
850
|
|
|
@@ -947,9 +861,9 @@ export interface EndpointMetadataCollection$instance {
|
|
|
947
861
|
|
|
948
862
|
readonly Count: int;
|
|
949
863
|
GetEnumerator(): EndpointMetadataCollection_Enumerator;
|
|
950
|
-
GetMetadata<T>(): T |
|
|
951
|
-
GetOrderedMetadata<T>(): IReadOnlyList_1<T>;
|
|
952
|
-
GetRequiredMetadata<T>(): T;
|
|
864
|
+
GetMetadata<T extends (object | null)>(): T | null;
|
|
865
|
+
GetOrderedMetadata<T extends (object | null)>(): IReadOnlyList_1<T>;
|
|
866
|
+
GetRequiredMetadata<T extends (object | null)>(): T;
|
|
953
867
|
}
|
|
954
868
|
|
|
955
869
|
|
|
@@ -962,6 +876,27 @@ export const EndpointMetadataCollection: {
|
|
|
962
876
|
|
|
963
877
|
export type EndpointMetadataCollection = EndpointMetadataCollection$instance & { readonly [index: number]: unknown; };
|
|
964
878
|
|
|
879
|
+
export interface EndpointMetadataCollection_Enumerator$instance {
|
|
880
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_EndpointMetadataCollection_Enumerator: never;
|
|
881
|
+
|
|
882
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
883
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
884
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
885
|
+
|
|
886
|
+
readonly Current: unknown;
|
|
887
|
+
Dispose(): void;
|
|
888
|
+
MoveNext(): boolean;
|
|
889
|
+
Reset(): void;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
export const EndpointMetadataCollection_Enumerator: {
|
|
894
|
+
new(): EndpointMetadataCollection_Enumerator;
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
export type EndpointMetadataCollection_Enumerator = EndpointMetadataCollection_Enumerator$instance;
|
|
899
|
+
|
|
965
900
|
export interface EndpointSummaryAttribute$instance extends Attribute, Microsoft_AspNetCore_Http_Metadata_Internal.IEndpointSummaryMetadata$instance {
|
|
966
901
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_EndpointSummaryAttribute: never;
|
|
967
902
|
|
|
@@ -1001,7 +936,7 @@ export interface FormCollection$instance {
|
|
|
1001
936
|
|
|
1002
937
|
|
|
1003
938
|
export const FormCollection: {
|
|
1004
|
-
new(fields: Dictionary_2<System_Internal.String, StringValues
|
|
939
|
+
new(fields: Dictionary_2<System_Internal.String, StringValues> | null, files: IFormFileCollection | null): FormCollection;
|
|
1005
940
|
readonly Empty: FormCollection;
|
|
1006
941
|
};
|
|
1007
942
|
|
|
@@ -1013,6 +948,27 @@ export interface __FormCollection$views {
|
|
|
1013
948
|
export type FormCollection = FormCollection$instance & __FormCollection$views & { readonly [key: string]: StringValues; };
|
|
1014
949
|
|
|
1015
950
|
|
|
951
|
+
export interface FormCollection_Enumerator$instance {
|
|
952
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_FormCollection_Enumerator: never;
|
|
953
|
+
|
|
954
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
955
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
956
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
957
|
+
|
|
958
|
+
readonly Current: KeyValuePair_2<System_Internal.String, StringValues>;
|
|
959
|
+
Dispose(): void;
|
|
960
|
+
MoveNext(): boolean;
|
|
961
|
+
Reset(): void;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
export const FormCollection_Enumerator: {
|
|
966
|
+
new(): FormCollection_Enumerator;
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
export type FormCollection_Enumerator = FormCollection_Enumerator$instance;
|
|
971
|
+
|
|
1016
972
|
export interface FormFile$instance {
|
|
1017
973
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_FormFile: never;
|
|
1018
974
|
|
|
@@ -1055,7 +1011,7 @@ export interface FormFileCollection$instance extends List_1<IFormFile>, IFormFil
|
|
|
1055
1011
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
1056
1012
|
readonly __tsonic_iface_System_Collections_IList: never;
|
|
1057
1013
|
|
|
1058
|
-
GetFile(name: string): IFormFile |
|
|
1014
|
+
GetFile(name: string): IFormFile | null;
|
|
1059
1015
|
GetFiles(name: string): IReadOnlyList_1<IFormFile>;
|
|
1060
1016
|
}
|
|
1061
1017
|
|
|
@@ -1069,7 +1025,7 @@ export interface __FormFileCollection$views {
|
|
|
1069
1025
|
As_IFormFileCollection(): IFormFileCollection$instance;
|
|
1070
1026
|
}
|
|
1071
1027
|
|
|
1072
|
-
export type FormFileCollection = FormFileCollection$instance & __FormFileCollection$views & { readonly [name: string]: IFormFile |
|
|
1028
|
+
export type FormFileCollection = FormFileCollection$instance & __FormFileCollection$views & { readonly [name: string]: IFormFile | null; };
|
|
1073
1029
|
|
|
1074
1030
|
|
|
1075
1031
|
export interface HeaderDictionary$instance extends IHeaderDictionary$instance {
|
|
@@ -1102,7 +1058,7 @@ export interface HeaderDictionary$instance extends IHeaderDictionary$instance {
|
|
|
1102
1058
|
|
|
1103
1059
|
export const HeaderDictionary: {
|
|
1104
1060
|
new(): HeaderDictionary;
|
|
1105
|
-
new(store: Dictionary_2<System_Internal.String, StringValues>): HeaderDictionary;
|
|
1061
|
+
new(store: Dictionary_2<System_Internal.String, StringValues> | null): HeaderDictionary;
|
|
1106
1062
|
new(capacity: int): HeaderDictionary;
|
|
1107
1063
|
};
|
|
1108
1064
|
|
|
@@ -1114,12 +1070,33 @@ export interface __HeaderDictionary$views {
|
|
|
1114
1070
|
export type HeaderDictionary = HeaderDictionary$instance & __HeaderDictionary$views & { [key: string]: StringValues; };
|
|
1115
1071
|
|
|
1116
1072
|
|
|
1073
|
+
export interface HeaderDictionary_Enumerator$instance {
|
|
1074
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_HeaderDictionary_Enumerator: never;
|
|
1075
|
+
|
|
1076
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
1077
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
1078
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1079
|
+
|
|
1080
|
+
readonly Current: KeyValuePair_2<System_Internal.String, StringValues>;
|
|
1081
|
+
Dispose(): void;
|
|
1082
|
+
MoveNext(): boolean;
|
|
1083
|
+
Reset(): void;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
export const HeaderDictionary_Enumerator: {
|
|
1088
|
+
new(): HeaderDictionary_Enumerator;
|
|
1089
|
+
};
|
|
1090
|
+
|
|
1091
|
+
|
|
1092
|
+
export type HeaderDictionary_Enumerator = HeaderDictionary_Enumerator$instance;
|
|
1093
|
+
|
|
1117
1094
|
export interface HttpContext$instance {
|
|
1118
1095
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_HttpContext: never;
|
|
1119
1096
|
|
|
1120
1097
|
readonly Connection: ConnectionInfo;
|
|
1121
1098
|
readonly Features: IFeatureCollection;
|
|
1122
|
-
Items: IDictionary_2<unknown, unknown |
|
|
1099
|
+
Items: IDictionary_2<unknown, unknown | null>;
|
|
1123
1100
|
readonly Request: HttpRequest;
|
|
1124
1101
|
RequestAborted: CancellationToken;
|
|
1125
1102
|
RequestServices: IServiceProvider;
|
|
@@ -1143,8 +1120,8 @@ export interface HttpContextAccessor$instance extends IHttpContextAccessor$insta
|
|
|
1143
1120
|
|
|
1144
1121
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IHttpContextAccessor: never;
|
|
1145
1122
|
|
|
1146
|
-
get HttpContext(): HttpContext |
|
|
1147
|
-
set HttpContext(value: HttpContext |
|
|
1123
|
+
get HttpContext(): HttpContext | null;
|
|
1124
|
+
set HttpContext(value: HttpContext | null);
|
|
1148
1125
|
}
|
|
1149
1126
|
|
|
1150
1127
|
|
|
@@ -1167,8 +1144,8 @@ export interface HttpRequest$instance {
|
|
|
1167
1144
|
readonly BodyReader: PipeReader;
|
|
1168
1145
|
get ContentLength(): Nullable_1<System_Internal.Int64>;
|
|
1169
1146
|
set ContentLength(value: Nullable_1<System_Internal.Int64> | long);
|
|
1170
|
-
get ContentType(): string |
|
|
1171
|
-
set ContentType(value: string |
|
|
1147
|
+
get ContentType(): string | null;
|
|
1148
|
+
set ContentType(value: string | null);
|
|
1172
1149
|
Cookies: IRequestCookieCollection;
|
|
1173
1150
|
Form: IFormCollection;
|
|
1174
1151
|
readonly HasFormContentType: boolean;
|
|
@@ -1201,8 +1178,8 @@ export interface HttpResponse$instance {
|
|
|
1201
1178
|
readonly BodyWriter: PipeWriter;
|
|
1202
1179
|
get ContentLength(): Nullable_1<System_Internal.Int64>;
|
|
1203
1180
|
set ContentLength(value: Nullable_1<System_Internal.Int64> | long);
|
|
1204
|
-
get ContentType(): string |
|
|
1205
|
-
set ContentType(value: string |
|
|
1181
|
+
get ContentType(): string | null;
|
|
1182
|
+
set ContentType(value: string | null);
|
|
1206
1183
|
readonly Cookies: IResponseCookies;
|
|
1207
1184
|
readonly HasStarted: boolean;
|
|
1208
1185
|
readonly Headers: IHeaderDictionary;
|
|
@@ -1248,7 +1225,7 @@ export interface MiddlewareFactory$instance extends IMiddlewareFactory$instance
|
|
|
1248
1225
|
|
|
1249
1226
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_IMiddlewareFactory: never;
|
|
1250
1227
|
|
|
1251
|
-
Create(middlewareType: Type): IMiddleware |
|
|
1228
|
+
Create(middlewareType: Type): IMiddleware | null;
|
|
1252
1229
|
Release(middleware: IMiddleware): void;
|
|
1253
1230
|
}
|
|
1254
1231
|
|
|
@@ -1268,10 +1245,10 @@ export type MiddlewareFactory = MiddlewareFactory$instance & __MiddlewareFactory
|
|
|
1268
1245
|
export interface ProblemDetailsContext$instance {
|
|
1269
1246
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_ProblemDetailsContext: never;
|
|
1270
1247
|
|
|
1271
|
-
get AdditionalMetadata(): EndpointMetadataCollection |
|
|
1272
|
-
set AdditionalMetadata(value: EndpointMetadataCollection |
|
|
1273
|
-
get Exception(): Exception |
|
|
1274
|
-
set Exception(value: Exception |
|
|
1248
|
+
get AdditionalMetadata(): EndpointMetadataCollection | null;
|
|
1249
|
+
set AdditionalMetadata(value: EndpointMetadataCollection | null);
|
|
1250
|
+
get Exception(): Exception | null;
|
|
1251
|
+
set Exception(value: Exception | null);
|
|
1275
1252
|
HttpContext: HttpContext;
|
|
1276
1253
|
ProblemDetails: ProblemDetails;
|
|
1277
1254
|
}
|
|
@@ -1287,8 +1264,8 @@ export type ProblemDetailsContext = ProblemDetailsContext$instance;
|
|
|
1287
1264
|
export interface ProblemDetailsOptions$instance {
|
|
1288
1265
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_ProblemDetailsOptions: never;
|
|
1289
1266
|
|
|
1290
|
-
get CustomizeProblemDetails(): Action_1<ProblemDetailsContext> |
|
|
1291
|
-
set CustomizeProblemDetails(value: Action_1<ProblemDetailsContext> |
|
|
1267
|
+
get CustomizeProblemDetails(): Action_1<ProblemDetailsContext> | null;
|
|
1268
|
+
set CustomizeProblemDetails(value: Action_1<ProblemDetailsContext> | null);
|
|
1292
1269
|
}
|
|
1293
1270
|
|
|
1294
1271
|
|
|
@@ -1305,17 +1282,17 @@ export interface ProducesResponseTypeMetadata$instance {
|
|
|
1305
1282
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Metadata_IProducesResponseTypeMetadata: never;
|
|
1306
1283
|
|
|
1307
1284
|
ContentTypes: IEnumerable_1<System_Internal.String>;
|
|
1308
|
-
get Description(): string |
|
|
1309
|
-
set Description(value: string |
|
|
1285
|
+
get Description(): string | null;
|
|
1286
|
+
set Description(value: string | null);
|
|
1310
1287
|
StatusCode: int;
|
|
1311
|
-
get Type(): Type |
|
|
1312
|
-
set Type(value: Type |
|
|
1288
|
+
get Type(): Type | null;
|
|
1289
|
+
set Type(value: Type | null);
|
|
1313
1290
|
ToString(): string;
|
|
1314
1291
|
}
|
|
1315
1292
|
|
|
1316
1293
|
|
|
1317
1294
|
export const ProducesResponseTypeMetadata: {
|
|
1318
|
-
new(statusCode: int, type: Type, contentTypes: string[]): ProducesResponseTypeMetadata;
|
|
1295
|
+
new(statusCode: int, type: Type | null, contentTypes: string[] | null): ProducesResponseTypeMetadata;
|
|
1319
1296
|
};
|
|
1320
1297
|
|
|
1321
1298
|
|
|
@@ -1357,16 +1334,37 @@ export interface __QueryCollection$views {
|
|
|
1357
1334
|
export type QueryCollection = QueryCollection$instance & __QueryCollection$views & { readonly [key: string]: StringValues; };
|
|
1358
1335
|
|
|
1359
1336
|
|
|
1337
|
+
export interface QueryCollection_Enumerator$instance {
|
|
1338
|
+
readonly __tsonic_type_Microsoft_AspNetCore_Http_QueryCollection_Enumerator: never;
|
|
1339
|
+
|
|
1340
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerator_1: never;
|
|
1341
|
+
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
1342
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
1343
|
+
|
|
1344
|
+
readonly Current: KeyValuePair_2<System_Internal.String, StringValues>;
|
|
1345
|
+
Dispose(): void;
|
|
1346
|
+
MoveNext(): boolean;
|
|
1347
|
+
Reset(): void;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
export const QueryCollection_Enumerator: {
|
|
1352
|
+
new(): QueryCollection_Enumerator;
|
|
1353
|
+
};
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
export type QueryCollection_Enumerator = QueryCollection_Enumerator$instance;
|
|
1357
|
+
|
|
1360
1358
|
export interface RequestDelegateFactoryOptions$instance {
|
|
1361
1359
|
readonly __tsonic_type_Microsoft_AspNetCore_Http_RequestDelegateFactoryOptions: never;
|
|
1362
1360
|
|
|
1363
1361
|
DisableInferBodyFromParameters: boolean;
|
|
1364
|
-
get EndpointBuilder(): EndpointBuilder |
|
|
1365
|
-
set EndpointBuilder(value: EndpointBuilder |
|
|
1366
|
-
get RouteParameterNames(): IEnumerable_1<System_Internal.String> |
|
|
1367
|
-
set RouteParameterNames(value: IEnumerable_1<System_Internal.String> |
|
|
1368
|
-
get ServiceProvider(): IServiceProvider |
|
|
1369
|
-
set ServiceProvider(value: IServiceProvider |
|
|
1362
|
+
get EndpointBuilder(): EndpointBuilder | null;
|
|
1363
|
+
set EndpointBuilder(value: EndpointBuilder | null);
|
|
1364
|
+
get RouteParameterNames(): IEnumerable_1<System_Internal.String> | null;
|
|
1365
|
+
set RouteParameterNames(value: IEnumerable_1<System_Internal.String> | null);
|
|
1366
|
+
get ServiceProvider(): IServiceProvider | null;
|
|
1367
|
+
set ServiceProvider(value: IServiceProvider | null);
|
|
1370
1368
|
ThrowOnBadRequest: boolean;
|
|
1371
1369
|
}
|
|
1372
1370
|
|
|
@@ -1412,7 +1410,7 @@ export interface StreamResponseBodyFeature$instance {
|
|
|
1412
1410
|
|
|
1413
1411
|
readonly __tsonic_iface_Microsoft_AspNetCore_Http_Features_IHttpResponseBodyFeature: never;
|
|
1414
1412
|
|
|
1415
|
-
readonly PriorFeature: IHttpResponseBodyFeature |
|
|
1413
|
+
readonly PriorFeature: IHttpResponseBodyFeature | null;
|
|
1416
1414
|
readonly Stream: Stream;
|
|
1417
1415
|
readonly Writer: PipeWriter;
|
|
1418
1416
|
CompleteAsync(): Task;
|
|
@@ -1425,7 +1423,7 @@ export interface StreamResponseBodyFeature$instance {
|
|
|
1425
1423
|
|
|
1426
1424
|
export const StreamResponseBodyFeature: {
|
|
1427
1425
|
new(stream: Stream): StreamResponseBodyFeature;
|
|
1428
|
-
new(stream: Stream, priorFeature: IHttpResponseBodyFeature): StreamResponseBodyFeature;
|
|
1426
|
+
new(stream: Stream, priorFeature: IHttpResponseBodyFeature | null): StreamResponseBodyFeature;
|
|
1429
1427
|
};
|
|
1430
1428
|
|
|
1431
1429
|
|
|
@@ -1468,8 +1466,8 @@ export interface WebSocketAcceptContext$instance {
|
|
|
1468
1466
|
get KeepAliveTimeout(): Nullable_1<TimeSpan>;
|
|
1469
1467
|
set KeepAliveTimeout(value: Nullable_1<TimeSpan> | TimeSpan);
|
|
1470
1468
|
ServerMaxWindowBits: int;
|
|
1471
|
-
get SubProtocol(): string |
|
|
1472
|
-
set SubProtocol(value: string |
|
|
1469
|
+
get SubProtocol(): string | null;
|
|
1470
|
+
set SubProtocol(value: string | null);
|
|
1473
1471
|
}
|
|
1474
1472
|
|
|
1475
1473
|
|
|
@@ -1486,7 +1484,7 @@ export interface WebSocketManager$instance {
|
|
|
1486
1484
|
readonly IsWebSocketRequest: boolean;
|
|
1487
1485
|
readonly WebSocketRequestedProtocols: IList_1<System_Internal.String>;
|
|
1488
1486
|
AcceptWebSocketAsync(): Task_1<WebSocket>;
|
|
1489
|
-
AcceptWebSocketAsync(subProtocol: string): Task_1<WebSocket>;
|
|
1487
|
+
AcceptWebSocketAsync(subProtocol: string | null): Task_1<WebSocket>;
|
|
1490
1488
|
AcceptWebSocketAsync(acceptContext: WebSocketAcceptContext): Task_1<WebSocket>;
|
|
1491
1489
|
}
|
|
1492
1490
|
|
|
@@ -1498,20 +1496,20 @@ export const WebSocketManager: (abstract new() => WebSocketManager) & {
|
|
|
1498
1496
|
export type WebSocketManager = WebSocketManager$instance;
|
|
1499
1497
|
|
|
1500
1498
|
export abstract class EndpointFilterExtensions$instance {
|
|
1501
|
-
static AddEndpointFilter<TFilterType extends IEndpointFilter>(builder: RouteHandlerBuilder): RouteHandlerBuilder;
|
|
1502
|
-
static AddEndpointFilter<TFilterType extends IEndpointFilter>(builder: RouteGroupBuilder): RouteGroupBuilder;
|
|
1503
|
-
static AddEndpointFilter<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, filter: IEndpointFilter): TBuilder;
|
|
1504
|
-
static AddEndpointFilter<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, routeHandlerFilter: Func_3<EndpointFilterInvocationContext, EndpointFilterDelegate, ValueTask_1<unknown>>): TBuilder;
|
|
1505
|
-
static AddEndpointFilter<TBuilder extends IEndpointConventionBuilder, TFilterType extends IEndpointFilter>(builder: TBuilder): TBuilder;
|
|
1506
|
-
static AddEndpointFilterFactory<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, filterFactory: Func_3<EndpointFilterFactoryContext, EndpointFilterDelegate, EndpointFilterDelegate>): TBuilder;
|
|
1499
|
+
static AddEndpointFilter<TFilterType extends unknown & IEndpointFilter>(builder: RouteHandlerBuilder): RouteHandlerBuilder;
|
|
1500
|
+
static AddEndpointFilter<TFilterType extends unknown & IEndpointFilter>(builder: RouteGroupBuilder): RouteGroupBuilder;
|
|
1501
|
+
static AddEndpointFilter<TBuilder extends unknown & IEndpointConventionBuilder>(builder: TBuilder, filter: IEndpointFilter): TBuilder;
|
|
1502
|
+
static AddEndpointFilter<TBuilder extends unknown & IEndpointConventionBuilder>(builder: TBuilder, routeHandlerFilter: Func_3<EndpointFilterInvocationContext, EndpointFilterDelegate, ValueTask_1<unknown>>): TBuilder;
|
|
1503
|
+
static AddEndpointFilter<TBuilder extends unknown & IEndpointConventionBuilder, TFilterType extends unknown & IEndpointFilter>(builder: TBuilder): TBuilder;
|
|
1504
|
+
static AddEndpointFilterFactory<TBuilder extends unknown & IEndpointConventionBuilder>(builder: TBuilder, filterFactory: Func_3<EndpointFilterFactoryContext, EndpointFilterDelegate, EndpointFilterDelegate>): TBuilder;
|
|
1507
1505
|
}
|
|
1508
1506
|
|
|
1509
1507
|
|
|
1510
1508
|
export type EndpointFilterExtensions = EndpointFilterExtensions$instance;
|
|
1511
1509
|
|
|
1512
1510
|
export abstract class EndpointHttpContextExtensions$instance {
|
|
1513
|
-
static GetEndpoint(context: HttpContext): Endpoint |
|
|
1514
|
-
static SetEndpoint(context: HttpContext, endpoint: Endpoint): void;
|
|
1511
|
+
static GetEndpoint(context: HttpContext): Endpoint | null;
|
|
1512
|
+
static SetEndpoint(context: HttpContext, endpoint: Endpoint | null): void;
|
|
1515
1513
|
}
|
|
1516
1514
|
|
|
1517
1515
|
|
|
@@ -1528,7 +1526,7 @@ export abstract class HeaderDictionaryExtensions$instance {
|
|
|
1528
1526
|
export type HeaderDictionaryExtensions = HeaderDictionaryExtensions$instance;
|
|
1529
1527
|
|
|
1530
1528
|
export abstract class HeaderDictionaryTypeExtensions$instance {
|
|
1531
|
-
static AppendList<T>(Headers: IHeaderDictionary, name: string, values: IList_1<T>): void;
|
|
1529
|
+
static AppendList<T extends unknown>(Headers: IHeaderDictionary, name: string, values: IList_1<T>): void;
|
|
1532
1530
|
static GetTypedHeaders(request: HttpRequest): RequestHeaders;
|
|
1533
1531
|
static GetTypedHeaders(response: HttpResponse): ResponseHeaders;
|
|
1534
1532
|
}
|
|
@@ -1537,7 +1535,7 @@ export abstract class HeaderDictionaryTypeExtensions$instance {
|
|
|
1537
1535
|
export type HeaderDictionaryTypeExtensions = HeaderDictionaryTypeExtensions$instance;
|
|
1538
1536
|
|
|
1539
1537
|
export abstract class HttpContextServerVariableExtensions$instance {
|
|
1540
|
-
static GetServerVariable(context: HttpContext, variableName: string): string |
|
|
1538
|
+
static GetServerVariable(context: HttpContext, variableName: string): string | null;
|
|
1541
1539
|
}
|
|
1542
1540
|
|
|
1543
1541
|
|
|
@@ -1590,11 +1588,11 @@ export type HttpProtocol = HttpProtocol$instance;
|
|
|
1590
1588
|
|
|
1591
1589
|
export abstract class HttpRequestJsonExtensions$instance {
|
|
1592
1590
|
static HasJsonContentType(request: HttpRequest): boolean;
|
|
1593
|
-
static ReadFromJsonAsync<TValue>(request: HttpRequest, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
1594
|
-
static ReadFromJsonAsync<TValue>(request: HttpRequest, options: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
1591
|
+
static ReadFromJsonAsync<TValue extends unknown>(request: HttpRequest, jsonTypeInfo: JsonTypeInfo_1<TValue>, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
1592
|
+
static ReadFromJsonAsync<TValue extends unknown>(request: HttpRequest, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
1595
1593
|
static ReadFromJsonAsync(request: HttpRequest, jsonTypeInfo: JsonTypeInfo, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
|
|
1596
|
-
static ReadFromJsonAsync<TValue>(request: HttpRequest, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
1597
|
-
static ReadFromJsonAsync(request: HttpRequest, type: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
|
|
1594
|
+
static ReadFromJsonAsync<TValue extends unknown>(request: HttpRequest, cancellationToken?: CancellationToken): ValueTask_1<TValue>;
|
|
1595
|
+
static ReadFromJsonAsync(request: HttpRequest, type: Type, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
|
|
1598
1596
|
static ReadFromJsonAsync(request: HttpRequest, type: Type, context: JsonSerializerContext, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
|
|
1599
1597
|
static ReadFromJsonAsync(request: HttpRequest, type: Type, cancellationToken?: CancellationToken): ValueTask_1<unknown>;
|
|
1600
1598
|
}
|
|
@@ -1613,15 +1611,15 @@ export abstract class HttpRequestRewindExtensions$instance {
|
|
|
1613
1611
|
export type HttpRequestRewindExtensions = HttpRequestRewindExtensions$instance;
|
|
1614
1612
|
|
|
1615
1613
|
export abstract class HttpResponseJsonExtensions$instance {
|
|
1616
|
-
static WriteAsJsonAsync(response: HttpResponse, value: unknown, jsonTypeInfo: JsonTypeInfo, contentType?: string, cancellationToken?: CancellationToken): Task;
|
|
1617
|
-
static WriteAsJsonAsync(response: HttpResponse, value: unknown, type: Type, options: JsonSerializerOptions, contentType: string, cancellationToken?: CancellationToken): Task;
|
|
1618
|
-
static WriteAsJsonAsync(response: HttpResponse, value: unknown, type: Type, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
|
|
1619
|
-
static WriteAsJsonAsync(response: HttpResponse, value: unknown, type: Type, context: JsonSerializerContext, contentType?: string, cancellationToken?: CancellationToken): Task;
|
|
1620
|
-
static WriteAsJsonAsync(response: HttpResponse, value: unknown, type: Type, cancellationToken?: CancellationToken): Task;
|
|
1621
|
-
static WriteAsJsonAsync<TValue>(response: HttpResponse, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, contentType?: string, cancellationToken?: CancellationToken): Task;
|
|
1622
|
-
static WriteAsJsonAsync<TValue>(response: HttpResponse, value: TValue, options: JsonSerializerOptions, contentType: string, cancellationToken?: CancellationToken): Task;
|
|
1623
|
-
static WriteAsJsonAsync<TValue>(response: HttpResponse, value: TValue, options: JsonSerializerOptions, cancellationToken?: CancellationToken): Task;
|
|
1624
|
-
static WriteAsJsonAsync<TValue>(response: HttpResponse, value: TValue, cancellationToken?: CancellationToken): Task;
|
|
1614
|
+
static WriteAsJsonAsync(response: HttpResponse, value: unknown | null, jsonTypeInfo: JsonTypeInfo, contentType?: string | null, cancellationToken?: CancellationToken): Task;
|
|
1615
|
+
static WriteAsJsonAsync(response: HttpResponse, value: unknown | null, type: Type, options: JsonSerializerOptions | null, contentType: string | null, cancellationToken?: CancellationToken): Task;
|
|
1616
|
+
static WriteAsJsonAsync(response: HttpResponse, value: unknown | null, type: Type, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task;
|
|
1617
|
+
static WriteAsJsonAsync(response: HttpResponse, value: unknown | null, type: Type, context: JsonSerializerContext, contentType?: string | null, cancellationToken?: CancellationToken): Task;
|
|
1618
|
+
static WriteAsJsonAsync(response: HttpResponse, value: unknown | null, type: Type, cancellationToken?: CancellationToken): Task;
|
|
1619
|
+
static WriteAsJsonAsync<TValue extends unknown>(response: HttpResponse, value: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, contentType?: string | null, cancellationToken?: CancellationToken): Task;
|
|
1620
|
+
static WriteAsJsonAsync<TValue extends unknown>(response: HttpResponse, value: TValue, options: JsonSerializerOptions | null, contentType: string | null, cancellationToken?: CancellationToken): Task;
|
|
1621
|
+
static WriteAsJsonAsync<TValue extends unknown>(response: HttpResponse, value: TValue, options: JsonSerializerOptions | null, cancellationToken?: CancellationToken): Task;
|
|
1622
|
+
static WriteAsJsonAsync<TValue extends unknown>(response: HttpResponse, value: TValue, cancellationToken?: CancellationToken): Task;
|
|
1625
1623
|
}
|
|
1626
1624
|
|
|
1627
1625
|
|
|
@@ -1636,33 +1634,33 @@ export abstract class HttpResponseWritingExtensions$instance {
|
|
|
1636
1634
|
export type HttpResponseWritingExtensions = HttpResponseWritingExtensions$instance;
|
|
1637
1635
|
|
|
1638
1636
|
export abstract class OpenApiRouteHandlerBuilderExtensions$instance {
|
|
1639
|
-
static Accepts<TRequest>(builder: RouteHandlerBuilder, isOptional: boolean, contentType: string, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1640
|
-
static Accepts<TRequest>(builder: RouteHandlerBuilder, contentType: string, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1637
|
+
static Accepts<TRequest extends unknown>(builder: RouteHandlerBuilder, isOptional: boolean, contentType: string, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1638
|
+
static Accepts<TRequest extends unknown>(builder: RouteHandlerBuilder, contentType: string, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1641
1639
|
static Accepts(builder: RouteHandlerBuilder, requestType: Type, isOptional: boolean, contentType: string, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1642
1640
|
static Accepts(builder: RouteHandlerBuilder, requestType: Type, contentType: string, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1643
1641
|
static ExcludeFromDescription(builder: RouteHandlerBuilder): RouteHandlerBuilder;
|
|
1644
|
-
static ExcludeFromDescription<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder): TBuilder;
|
|
1645
|
-
static Produces<TResponse>(builder: RouteHandlerBuilder, statusCode?: int, contentType?: string, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1646
|
-
static Produces(builder: RouteHandlerBuilder, statusCode: int, responseType?: Type, contentType?: string, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1647
|
-
static ProducesProblem(builder: RouteHandlerBuilder, statusCode: int, contentType?: string): RouteHandlerBuilder;
|
|
1648
|
-
static ProducesProblem<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, statusCode: int, contentType?: string): TBuilder;
|
|
1649
|
-
static ProducesValidationProblem(builder: RouteHandlerBuilder, statusCode?: int, contentType?: string): RouteHandlerBuilder;
|
|
1650
|
-
static ProducesValidationProblem<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, statusCode?: int, contentType?: string): TBuilder;
|
|
1651
|
-
static WithDescription<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, description: string): TBuilder;
|
|
1652
|
-
static WithSummary<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, summary: string): TBuilder;
|
|
1642
|
+
static ExcludeFromDescription<TBuilder extends unknown & IEndpointConventionBuilder>(builder: TBuilder): TBuilder;
|
|
1643
|
+
static Produces<TResponse extends unknown>(builder: RouteHandlerBuilder, statusCode?: int, contentType?: string | null, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1644
|
+
static Produces(builder: RouteHandlerBuilder, statusCode: int, responseType?: Type | null, contentType?: string | null, ...additionalContentTypes: string[]): RouteHandlerBuilder;
|
|
1645
|
+
static ProducesProblem(builder: RouteHandlerBuilder, statusCode: int, contentType?: string | null): RouteHandlerBuilder;
|
|
1646
|
+
static ProducesProblem<TBuilder extends unknown & IEndpointConventionBuilder>(builder: TBuilder, statusCode: int, contentType?: string | null): TBuilder;
|
|
1647
|
+
static ProducesValidationProblem(builder: RouteHandlerBuilder, statusCode?: int, contentType?: string | null): RouteHandlerBuilder;
|
|
1648
|
+
static ProducesValidationProblem<TBuilder extends unknown & IEndpointConventionBuilder>(builder: TBuilder, statusCode?: int, contentType?: string | null): TBuilder;
|
|
1649
|
+
static WithDescription<TBuilder extends unknown & IEndpointConventionBuilder>(builder: TBuilder, description: string): TBuilder;
|
|
1650
|
+
static WithSummary<TBuilder extends unknown & IEndpointConventionBuilder>(builder: TBuilder, summary: string): TBuilder;
|
|
1653
1651
|
static WithTags(builder: RouteHandlerBuilder, ...tags: string[]): RouteHandlerBuilder;
|
|
1654
|
-
static WithTags<TBuilder extends IEndpointConventionBuilder>(builder: TBuilder, ...tags: string[]): TBuilder;
|
|
1652
|
+
static WithTags<TBuilder extends unknown & IEndpointConventionBuilder>(builder: TBuilder, ...tags: string[]): TBuilder;
|
|
1655
1653
|
}
|
|
1656
1654
|
|
|
1657
1655
|
|
|
1658
1656
|
export type OpenApiRouteHandlerBuilderExtensions = OpenApiRouteHandlerBuilderExtensions$instance;
|
|
1659
1657
|
|
|
1660
1658
|
export abstract class RequestDelegateFactory$instance {
|
|
1661
|
-
static Create(handler: Function, options?: RequestDelegateFactoryOptions, metadataResult?: RequestDelegateMetadataResult): RequestDelegateResult;
|
|
1662
|
-
static Create(handler: Function, options: RequestDelegateFactoryOptions): RequestDelegateResult;
|
|
1663
|
-
static Create(methodInfo: MethodInfo, targetFactory?: Func_2<HttpContext, unknown
|
|
1664
|
-
static Create(methodInfo: MethodInfo, targetFactory: Func_2<HttpContext, unknown
|
|
1665
|
-
static InferMetadata(methodInfo: MethodInfo, options?: RequestDelegateFactoryOptions): RequestDelegateMetadataResult;
|
|
1659
|
+
static Create(handler: Function, options?: RequestDelegateFactoryOptions | null, metadataResult?: RequestDelegateMetadataResult | null): RequestDelegateResult;
|
|
1660
|
+
static Create(handler: Function, options: RequestDelegateFactoryOptions | null): RequestDelegateResult;
|
|
1661
|
+
static Create(methodInfo: MethodInfo, targetFactory?: Func_2<HttpContext, unknown> | null, options?: RequestDelegateFactoryOptions | null, metadataResult?: RequestDelegateMetadataResult | null): RequestDelegateResult;
|
|
1662
|
+
static Create(methodInfo: MethodInfo, targetFactory: Func_2<HttpContext, unknown> | null, options: RequestDelegateFactoryOptions | null): RequestDelegateResult;
|
|
1663
|
+
static InferMetadata(methodInfo: MethodInfo, options?: RequestDelegateFactoryOptions | null): RequestDelegateMetadataResult;
|
|
1666
1664
|
}
|
|
1667
1665
|
|
|
1668
1666
|
|
|
@@ -1705,72 +1703,72 @@ export type ResponseTrailerExtensions = ResponseTrailerExtensions$instance;
|
|
|
1705
1703
|
export abstract class Results$instance {
|
|
1706
1704
|
static readonly Empty: IResult;
|
|
1707
1705
|
static readonly Extensions: IResultExtensions;
|
|
1708
|
-
static Accepted(uri?: string, value?: unknown): IResult;
|
|
1709
|
-
static Accepted<TValue>(uri?: string, value?: TValue): IResult;
|
|
1710
|
-
static AcceptedAtRoute(routeName: string, routeValues: RouteValueDictionary, value?: unknown): IResult;
|
|
1711
|
-
static AcceptedAtRoute<TValue>(routeName: string, routeValues: RouteValueDictionary, value?: TValue): IResult;
|
|
1712
|
-
static AcceptedAtRoute(routeName?: string, routeValues?: unknown, value?: unknown): IResult;
|
|
1713
|
-
static AcceptedAtRoute<TValue>(routeName?: string, routeValues?: unknown, value?: TValue): IResult;
|
|
1714
|
-
static BadRequest(error?: unknown): IResult;
|
|
1715
|
-
static BadRequest<TValue>(error: TValue): IResult;
|
|
1716
|
-
static Bytes(contents: byte[], contentType?: string, fileDownloadName?: string, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): IResult;
|
|
1717
|
-
static Bytes(contents: ReadOnlyMemory_1<System_Internal.Byte>, contentType?: string, fileDownloadName?: string, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): IResult;
|
|
1718
|
-
static Challenge(properties?: AuthenticationProperties, authenticationSchemes?: IList_1<System_Internal.String>): IResult;
|
|
1719
|
-
static Conflict(error?: unknown): IResult;
|
|
1720
|
-
static Conflict<TValue>(error: TValue): IResult;
|
|
1721
|
-
static Content(content: string, contentType: MediaTypeHeaderValue): IResult;
|
|
1722
|
-
static Content(content: string, contentType?: string, contentEncoding?: Encoding, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1723
|
-
static Content(content: string, contentType: string, contentEncoding: Encoding): IResult;
|
|
1706
|
+
static Accepted(uri?: string | null, value?: unknown | null): IResult;
|
|
1707
|
+
static Accepted<TValue extends unknown>(uri?: string | null, value?: TValue | null): IResult;
|
|
1708
|
+
static AcceptedAtRoute(routeName: string | null, routeValues: RouteValueDictionary | null, value?: unknown | null): IResult;
|
|
1709
|
+
static AcceptedAtRoute<TValue extends unknown>(routeName: string | null, routeValues: RouteValueDictionary | null, value?: TValue | null): IResult;
|
|
1710
|
+
static AcceptedAtRoute(routeName?: string | null, routeValues?: unknown | null, value?: unknown | null): IResult;
|
|
1711
|
+
static AcceptedAtRoute<TValue extends unknown>(routeName?: string | null, routeValues?: unknown | null, value?: TValue | null): IResult;
|
|
1712
|
+
static BadRequest(error?: unknown | null): IResult;
|
|
1713
|
+
static BadRequest<TValue extends unknown>(error: TValue | null): IResult;
|
|
1714
|
+
static Bytes(contents: byte[], contentType?: string | null, fileDownloadName?: string | null, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): IResult;
|
|
1715
|
+
static Bytes(contents: ReadOnlyMemory_1<System_Internal.Byte>, contentType?: string | null, fileDownloadName?: string | null, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): IResult;
|
|
1716
|
+
static Challenge(properties?: AuthenticationProperties | null, authenticationSchemes?: IList_1<System_Internal.String> | null): IResult;
|
|
1717
|
+
static Conflict(error?: unknown | null): IResult;
|
|
1718
|
+
static Conflict<TValue extends unknown>(error: TValue | null): IResult;
|
|
1719
|
+
static Content(content: string | null, contentType: MediaTypeHeaderValue): IResult;
|
|
1720
|
+
static Content(content: string | null, contentType?: string | null, contentEncoding?: Encoding | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1721
|
+
static Content(content: string | null, contentType: string | null, contentEncoding: Encoding | null): IResult;
|
|
1724
1722
|
static Created(): IResult;
|
|
1725
|
-
static Created(uri: string, value: unknown): IResult;
|
|
1726
|
-
static Created<TValue>(uri: string, value: TValue): IResult;
|
|
1727
|
-
static Created(uri: Uri, value: unknown): IResult;
|
|
1728
|
-
static Created<TValue>(uri: Uri, value: TValue): IResult;
|
|
1729
|
-
static CreatedAtRoute(routeName: string, routeValues: RouteValueDictionary, value?: unknown): IResult;
|
|
1730
|
-
static CreatedAtRoute<TValue>(routeName: string, routeValues: RouteValueDictionary, value?: TValue): IResult;
|
|
1731
|
-
static CreatedAtRoute(routeName?: string, routeValues?: unknown, value?: unknown): IResult;
|
|
1732
|
-
static CreatedAtRoute<TValue>(routeName?: string, routeValues?: unknown, value?: TValue): IResult;
|
|
1733
|
-
static File(fileContents: byte[], contentType?: string, fileDownloadName?: string, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): IResult;
|
|
1734
|
-
static File(fileStream: Stream, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): IResult;
|
|
1735
|
-
static File(path: string, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): IResult;
|
|
1736
|
-
static Forbid(properties?: AuthenticationProperties, authenticationSchemes?: IList_1<System_Internal.String>): IResult;
|
|
1723
|
+
static Created(uri: string | null, value: unknown | null): IResult;
|
|
1724
|
+
static Created<TValue extends unknown>(uri: string | null, value: TValue | null): IResult;
|
|
1725
|
+
static Created(uri: Uri | null, value: unknown | null): IResult;
|
|
1726
|
+
static Created<TValue extends unknown>(uri: Uri | null, value: TValue | null): IResult;
|
|
1727
|
+
static CreatedAtRoute(routeName: string | null, routeValues: RouteValueDictionary | null, value?: unknown | null): IResult;
|
|
1728
|
+
static CreatedAtRoute<TValue extends unknown>(routeName: string | null, routeValues: RouteValueDictionary | null, value?: TValue | null): IResult;
|
|
1729
|
+
static CreatedAtRoute(routeName?: string | null, routeValues?: unknown | null, value?: unknown | null): IResult;
|
|
1730
|
+
static CreatedAtRoute<TValue extends unknown>(routeName?: string | null, routeValues?: unknown | null, value?: TValue | null): IResult;
|
|
1731
|
+
static File(fileContents: byte[], contentType?: string | null, fileDownloadName?: string | null, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): IResult;
|
|
1732
|
+
static File(fileStream: Stream, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): IResult;
|
|
1733
|
+
static File(path: string, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): IResult;
|
|
1734
|
+
static Forbid(properties?: AuthenticationProperties | null, authenticationSchemes?: IList_1<System_Internal.String> | null): IResult;
|
|
1737
1735
|
static InternalServerError(): IResult;
|
|
1738
|
-
static InternalServerError<TValue>(error: TValue): IResult;
|
|
1739
|
-
static Json(data: unknown, options?: JsonSerializerOptions, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1740
|
-
static Json(data: unknown, jsonTypeInfo: JsonTypeInfo, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1741
|
-
static Json(data: unknown, type: Type, context: JsonSerializerContext, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1742
|
-
static Json<TValue>(data: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1743
|
-
static Json<TValue>(data: TValue, options?: JsonSerializerOptions, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1744
|
-
static Json<TValue>(data: TValue, context: JsonSerializerContext, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1736
|
+
static InternalServerError<TValue extends unknown>(error: TValue | null): IResult;
|
|
1737
|
+
static Json(data: unknown | null, options?: JsonSerializerOptions | null, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1738
|
+
static Json(data: unknown | null, jsonTypeInfo: JsonTypeInfo, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1739
|
+
static Json(data: unknown | null, type: Type, context: JsonSerializerContext, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1740
|
+
static Json<TValue extends unknown>(data: TValue | null, jsonTypeInfo: JsonTypeInfo_1<TValue>, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1741
|
+
static Json<TValue extends unknown>(data: TValue | null, options?: JsonSerializerOptions | null, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1742
|
+
static Json<TValue extends unknown>(data: TValue | null, context: JsonSerializerContext, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1745
1743
|
static LocalRedirect(localUrl: string, permanent?: boolean, preserveMethod?: boolean): IResult;
|
|
1746
1744
|
static NoContent(): IResult;
|
|
1747
|
-
static NotFound(value?: unknown): IResult;
|
|
1748
|
-
static NotFound<TValue>(value: TValue): IResult;
|
|
1749
|
-
static Ok(value?: unknown): IResult;
|
|
1750
|
-
static Ok<TValue>(value: TValue): IResult;
|
|
1745
|
+
static NotFound(value?: unknown | null): IResult;
|
|
1746
|
+
static NotFound<TValue extends unknown>(value: TValue | null): IResult;
|
|
1747
|
+
static Ok(value?: unknown | null): IResult;
|
|
1748
|
+
static Ok<TValue extends unknown>(value: TValue | null): IResult;
|
|
1751
1749
|
static Problem(problemDetails: ProblemDetails): IResult;
|
|
1752
|
-
static Problem(detail: string, instance: string, statusCode: Nullable_1<System_Internal.Int32>, title: string, type: string, extensions: IDictionary_2<System_Internal.String, unknown>): IResult;
|
|
1753
|
-
static Problem(detail?: string, instance?: string, statusCode?: Nullable_1<System_Internal.Int32>, title?: string, type?: string, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>): IResult;
|
|
1750
|
+
static Problem(detail: string | null, instance: string | null, statusCode: Nullable_1<System_Internal.Int32>, title: string | null, type: string | null, extensions: IDictionary_2<System_Internal.String, unknown | null> | null): IResult;
|
|
1751
|
+
static Problem(detail?: string | null, instance?: string | null, statusCode?: Nullable_1<System_Internal.Int32>, title?: string | null, type?: string | null, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null): IResult;
|
|
1754
1752
|
static Redirect(url: string, permanent?: boolean, preserveMethod?: boolean): IResult;
|
|
1755
|
-
static RedirectToRoute(routeName: string, routeValues: RouteValueDictionary, permanent?: boolean, preserveMethod?: boolean, fragment?: string): IResult;
|
|
1756
|
-
static RedirectToRoute(routeName?: string, routeValues?: unknown, permanent?: boolean, preserveMethod?: boolean, fragment?: string): IResult;
|
|
1757
|
-
static ServerSentEvents<T>(values: IAsyncEnumerable_1<T>, eventType?: string): IResult;
|
|
1758
|
-
static ServerSentEvents<T>(values: IAsyncEnumerable_1<SseItem_1<T>>): IResult;
|
|
1759
|
-
static ServerSentEvents(values: IAsyncEnumerable_1<System_Internal.String>, eventType?: string): IResult;
|
|
1760
|
-
static SignIn(principal: ClaimsPrincipal, properties?: AuthenticationProperties, authenticationScheme?: string): IResult;
|
|
1761
|
-
static SignOut(properties?: AuthenticationProperties, authenticationSchemes?: IList_1<System_Internal.String>): IResult;
|
|
1753
|
+
static RedirectToRoute(routeName: string | null, routeValues: RouteValueDictionary | null, permanent?: boolean, preserveMethod?: boolean, fragment?: string | null): IResult;
|
|
1754
|
+
static RedirectToRoute(routeName?: string | null, routeValues?: unknown | null, permanent?: boolean, preserveMethod?: boolean, fragment?: string | null): IResult;
|
|
1755
|
+
static ServerSentEvents<T extends unknown>(values: IAsyncEnumerable_1<T>, eventType?: string | null): IResult;
|
|
1756
|
+
static ServerSentEvents<T extends unknown>(values: IAsyncEnumerable_1<SseItem_1<T>>): IResult;
|
|
1757
|
+
static ServerSentEvents(values: IAsyncEnumerable_1<System_Internal.String>, eventType?: string | null): IResult;
|
|
1758
|
+
static SignIn(principal: ClaimsPrincipal, properties?: AuthenticationProperties | null, authenticationScheme?: string | null): IResult;
|
|
1759
|
+
static SignOut(properties?: AuthenticationProperties | null, authenticationSchemes?: IList_1<System_Internal.String> | null): IResult;
|
|
1762
1760
|
static StatusCode(statusCode: int): IResult;
|
|
1763
|
-
static Stream(streamWriterCallback: Func_2<Stream, Task>, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): IResult;
|
|
1764
|
-
static Stream(pipeReader: PipeReader, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): IResult;
|
|
1765
|
-
static Stream(stream: Stream, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): IResult;
|
|
1766
|
-
static Text(utf8Content: ReadOnlySpan_1<System_Internal.Byte>, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1767
|
-
static Text(content: string, contentType?: string, contentEncoding?: Encoding, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1768
|
-
static Text(content: string, contentType: string, contentEncoding: Encoding): IResult;
|
|
1761
|
+
static Stream(streamWriterCallback: Func_2<Stream, Task>, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): IResult;
|
|
1762
|
+
static Stream(pipeReader: PipeReader, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): IResult;
|
|
1763
|
+
static Stream(stream: Stream, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): IResult;
|
|
1764
|
+
static Text(utf8Content: ReadOnlySpan_1<System_Internal.Byte>, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1765
|
+
static Text(content: string | null, contentType?: string | null, contentEncoding?: Encoding | null, statusCode?: Nullable_1<System_Internal.Int32>): IResult;
|
|
1766
|
+
static Text(content: string | null, contentType: string | null, contentEncoding: Encoding | null): IResult;
|
|
1769
1767
|
static Unauthorized(): IResult;
|
|
1770
|
-
static UnprocessableEntity(error?: unknown): IResult;
|
|
1771
|
-
static UnprocessableEntity<TValue>(error: TValue): IResult;
|
|
1772
|
-
static ValidationProblem(errors: IDictionary_2<System_Internal.String, string[]>, detail: string, instance: string, statusCode: Nullable_1<System_Internal.Int32>, title: string, type: string, extensions: IDictionary_2<System_Internal.String, unknown>): IResult;
|
|
1773
|
-
static ValidationProblem(errors: IEnumerable_1<KeyValuePair_2<System_Internal.String, string[]>>, detail?: string, instance?: string, statusCode?: Nullable_1<System_Internal.Int32>, title?: string, type?: string, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>): IResult;
|
|
1768
|
+
static UnprocessableEntity(error?: unknown | null): IResult;
|
|
1769
|
+
static UnprocessableEntity<TValue extends unknown>(error: TValue | null): IResult;
|
|
1770
|
+
static ValidationProblem(errors: IDictionary_2<System_Internal.String, string[]>, detail: string | null, instance: string | null, statusCode: Nullable_1<System_Internal.Int32>, title: string | null, type: string | null, extensions: IDictionary_2<System_Internal.String, unknown | null> | null): IResult;
|
|
1771
|
+
static ValidationProblem(errors: IEnumerable_1<KeyValuePair_2<System_Internal.String, string[]>>, detail?: string | null, instance?: string | null, statusCode?: Nullable_1<System_Internal.Int32>, title?: string | null, type?: string | null, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null): IResult;
|
|
1774
1772
|
}
|
|
1775
1773
|
|
|
1776
1774
|
|
|
@@ -1794,9 +1792,9 @@ export abstract class SendFileResponseExtensions$instance {
|
|
|
1794
1792
|
export type SendFileResponseExtensions = SendFileResponseExtensions$instance;
|
|
1795
1793
|
|
|
1796
1794
|
export abstract class SessionExtensions$instance {
|
|
1797
|
-
static Get(session: ISession, key: string): byte[] |
|
|
1795
|
+
static Get(session: ISession, key: string): byte[] | null;
|
|
1798
1796
|
static GetInt32(session: ISession, key: string): Nullable_1<System_Internal.Int32>;
|
|
1799
|
-
static GetString(session: ISession, key: string): string |
|
|
1797
|
+
static GetString(session: ISession, key: string): string | null;
|
|
1800
1798
|
static SetInt32(session: ISession, key: string, value: int): void;
|
|
1801
1799
|
static SetString(session: ISession, key: string, value: string): void;
|
|
1802
1800
|
}
|
|
@@ -1879,72 +1877,72 @@ export type StatusCodes = StatusCodes$instance;
|
|
|
1879
1877
|
export abstract class TypedResults$instance {
|
|
1880
1878
|
static readonly Empty: EmptyHttpResult;
|
|
1881
1879
|
static readonly Extensions: IResultExtensions;
|
|
1882
|
-
static Accepted<TValue>(uri: string, value: TValue): Accepted_1<TValue>;
|
|
1883
|
-
static Accepted(uri: string): Accepted;
|
|
1884
|
-
static Accepted<TValue>(uri: Uri, value: TValue): Accepted_1<TValue>;
|
|
1880
|
+
static Accepted<TValue extends unknown>(uri: string | null, value: TValue | null): Accepted_1<TValue>;
|
|
1881
|
+
static Accepted(uri: string | null): Accepted;
|
|
1882
|
+
static Accepted<TValue extends unknown>(uri: Uri, value: TValue | null): Accepted_1<TValue>;
|
|
1885
1883
|
static Accepted(uri: Uri): Accepted;
|
|
1886
|
-
static AcceptedAtRoute(routeName: string, routeValues: RouteValueDictionary): AcceptedAtRoute;
|
|
1887
|
-
static AcceptedAtRoute(routeName?: string, routeValues?: unknown): AcceptedAtRoute;
|
|
1888
|
-
static AcceptedAtRoute<TValue>(value: TValue, routeName: string, routeValues: RouteValueDictionary): AcceptedAtRoute_1<TValue>;
|
|
1889
|
-
static AcceptedAtRoute<TValue>(value: TValue, routeName?: string, routeValues?: unknown): AcceptedAtRoute_1<TValue>;
|
|
1884
|
+
static AcceptedAtRoute(routeName: string | null, routeValues: RouteValueDictionary | null): AcceptedAtRoute;
|
|
1885
|
+
static AcceptedAtRoute(routeName?: string | null, routeValues?: unknown | null): AcceptedAtRoute;
|
|
1886
|
+
static AcceptedAtRoute<TValue extends unknown>(value: TValue | null, routeName: string | null, routeValues: RouteValueDictionary | null): AcceptedAtRoute_1<TValue>;
|
|
1887
|
+
static AcceptedAtRoute<TValue extends unknown>(value: TValue | null, routeName?: string | null, routeValues?: unknown | null): AcceptedAtRoute_1<TValue>;
|
|
1890
1888
|
static BadRequest(): BadRequest;
|
|
1891
|
-
static BadRequest<TValue>(error: TValue): BadRequest_1<TValue>;
|
|
1892
|
-
static Bytes(contents: byte[], contentType?: string, fileDownloadName?: string, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): FileContentHttpResult;
|
|
1893
|
-
static Bytes(contents: ReadOnlyMemory_1<System_Internal.Byte>, contentType?: string, fileDownloadName?: string, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): FileContentHttpResult;
|
|
1894
|
-
static Challenge(properties?: AuthenticationProperties, authenticationSchemes?: IList_1<System_Internal.String>): ChallengeHttpResult;
|
|
1889
|
+
static BadRequest<TValue extends unknown>(error: TValue | null): BadRequest_1<TValue>;
|
|
1890
|
+
static Bytes(contents: byte[], contentType?: string | null, fileDownloadName?: string | null, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): FileContentHttpResult;
|
|
1891
|
+
static Bytes(contents: ReadOnlyMemory_1<System_Internal.Byte>, contentType?: string | null, fileDownloadName?: string | null, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): FileContentHttpResult;
|
|
1892
|
+
static Challenge(properties?: AuthenticationProperties | null, authenticationSchemes?: IList_1<System_Internal.String> | null): ChallengeHttpResult;
|
|
1895
1893
|
static Conflict(): Conflict;
|
|
1896
|
-
static Conflict<TValue>(error: TValue): Conflict_1<TValue>;
|
|
1897
|
-
static Content(content: string, contentType: MediaTypeHeaderValue): ContentHttpResult;
|
|
1898
|
-
static Content(content: string, contentType?: string, contentEncoding?: Encoding, statusCode?: Nullable_1<System_Internal.Int32>): ContentHttpResult;
|
|
1899
|
-
static Content(content: string, contentType: string, contentEncoding: Encoding): ContentHttpResult;
|
|
1894
|
+
static Conflict<TValue extends unknown>(error: TValue | null): Conflict_1<TValue>;
|
|
1895
|
+
static Content(content: string | null, contentType: MediaTypeHeaderValue): ContentHttpResult;
|
|
1896
|
+
static Content(content: string | null, contentType?: string | null, contentEncoding?: Encoding | null, statusCode?: Nullable_1<System_Internal.Int32>): ContentHttpResult;
|
|
1897
|
+
static Content(content: string | null, contentType: string | null, contentEncoding: Encoding | null): ContentHttpResult;
|
|
1900
1898
|
static Created(): Created;
|
|
1901
|
-
static Created<TValue>(uri: string, value: TValue): Created_1<TValue>;
|
|
1902
|
-
static Created(uri: string): Created;
|
|
1903
|
-
static Created<TValue>(uri: Uri, value: TValue): Created_1<TValue>;
|
|
1904
|
-
static Created(uri: Uri): Created;
|
|
1905
|
-
static CreatedAtRoute(routeName: string, routeValues: RouteValueDictionary): CreatedAtRoute;
|
|
1906
|
-
static CreatedAtRoute(routeName?: string, routeValues?: unknown): CreatedAtRoute;
|
|
1907
|
-
static CreatedAtRoute<TValue>(value: TValue, routeName: string, routeValues: RouteValueDictionary): CreatedAtRoute_1<TValue>;
|
|
1908
|
-
static CreatedAtRoute<TValue>(value: TValue, routeName?: string, routeValues?: unknown): CreatedAtRoute_1<TValue>;
|
|
1909
|
-
static File(fileContents: byte[], contentType?: string, fileDownloadName?: string, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): FileContentHttpResult;
|
|
1910
|
-
static File(fileStream: Stream, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): FileStreamHttpResult;
|
|
1911
|
-
static Forbid(properties?: AuthenticationProperties, authenticationSchemes?: IList_1<System_Internal.String>): ForbidHttpResult;
|
|
1899
|
+
static Created<TValue extends unknown>(uri: string | null, value: TValue | null): Created_1<TValue>;
|
|
1900
|
+
static Created(uri: string | null): Created;
|
|
1901
|
+
static Created<TValue extends unknown>(uri: Uri | null, value: TValue | null): Created_1<TValue>;
|
|
1902
|
+
static Created(uri: Uri | null): Created;
|
|
1903
|
+
static CreatedAtRoute(routeName: string | null, routeValues: RouteValueDictionary | null): CreatedAtRoute;
|
|
1904
|
+
static CreatedAtRoute(routeName?: string | null, routeValues?: unknown | null): CreatedAtRoute;
|
|
1905
|
+
static CreatedAtRoute<TValue extends unknown>(value: TValue | null, routeName: string | null, routeValues: RouteValueDictionary | null): CreatedAtRoute_1<TValue>;
|
|
1906
|
+
static CreatedAtRoute<TValue extends unknown>(value: TValue | null, routeName?: string | null, routeValues?: unknown | null): CreatedAtRoute_1<TValue>;
|
|
1907
|
+
static File(fileContents: byte[], contentType?: string | null, fileDownloadName?: string | null, enableRangeProcessing?: boolean, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): FileContentHttpResult;
|
|
1908
|
+
static File(fileStream: Stream, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): FileStreamHttpResult;
|
|
1909
|
+
static Forbid(properties?: AuthenticationProperties | null, authenticationSchemes?: IList_1<System_Internal.String> | null): ForbidHttpResult;
|
|
1912
1910
|
static InternalServerError(): InternalServerError;
|
|
1913
|
-
static InternalServerError<TValue>(error: TValue): InternalServerError_1<TValue>;
|
|
1914
|
-
static Json<TValue>(data: TValue, jsonTypeInfo: JsonTypeInfo_1<TValue>, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): JsonHttpResult_1<TValue>;
|
|
1915
|
-
static Json<TValue>(data: TValue, options?: JsonSerializerOptions, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): JsonHttpResult_1<TValue>;
|
|
1916
|
-
static Json<TValue>(data: TValue, context: JsonSerializerContext, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): JsonHttpResult_1<TValue>;
|
|
1911
|
+
static InternalServerError<TValue extends unknown>(error: TValue | null): InternalServerError_1<TValue>;
|
|
1912
|
+
static Json<TValue extends unknown>(data: TValue | null, jsonTypeInfo: JsonTypeInfo_1<TValue>, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): JsonHttpResult_1<TValue>;
|
|
1913
|
+
static Json<TValue extends unknown>(data: TValue | null, options?: JsonSerializerOptions | null, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): JsonHttpResult_1<TValue>;
|
|
1914
|
+
static Json<TValue extends unknown>(data: TValue | null, context: JsonSerializerContext, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): JsonHttpResult_1<TValue>;
|
|
1917
1915
|
static LocalRedirect(localUrl: string, permanent?: boolean, preserveMethod?: boolean): RedirectHttpResult;
|
|
1918
1916
|
static NoContent(): NoContent;
|
|
1919
1917
|
static NotFound(): NotFound;
|
|
1920
|
-
static NotFound<TValue>(value: TValue): NotFound_1<TValue>;
|
|
1918
|
+
static NotFound<TValue extends unknown>(value: TValue | null): NotFound_1<TValue>;
|
|
1921
1919
|
static Ok(): Ok;
|
|
1922
|
-
static Ok<TValue>(value: TValue): Ok_1<TValue>;
|
|
1923
|
-
static PhysicalFile(path: string, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): PhysicalFileHttpResult;
|
|
1920
|
+
static Ok<TValue extends unknown>(value: TValue | null): Ok_1<TValue>;
|
|
1921
|
+
static PhysicalFile(path: string, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): PhysicalFileHttpResult;
|
|
1924
1922
|
static Problem(problemDetails: ProblemDetails): ProblemHttpResult;
|
|
1925
|
-
static Problem(detail: string, instance: string, statusCode: Nullable_1<System_Internal.Int32>, title: string, type: string, extensions: IDictionary_2<System_Internal.String, unknown>): ProblemHttpResult;
|
|
1926
|
-
static Problem(detail?: string, instance?: string, statusCode?: Nullable_1<System_Internal.Int32>, title?: string, type?: string, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>): ProblemHttpResult;
|
|
1923
|
+
static Problem(detail: string | null, instance: string | null, statusCode: Nullable_1<System_Internal.Int32>, title: string | null, type: string | null, extensions: IDictionary_2<System_Internal.String, unknown | null> | null): ProblemHttpResult;
|
|
1924
|
+
static Problem(detail?: string | null, instance?: string | null, statusCode?: Nullable_1<System_Internal.Int32>, title?: string | null, type?: string | null, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null): ProblemHttpResult;
|
|
1927
1925
|
static Redirect(url: string, permanent?: boolean, preserveMethod?: boolean): RedirectHttpResult;
|
|
1928
|
-
static RedirectToRoute(routeName: string, routeValues: RouteValueDictionary, permanent?: boolean, preserveMethod?: boolean, fragment?: string): RedirectToRouteHttpResult;
|
|
1929
|
-
static RedirectToRoute(routeName?: string, routeValues?: unknown, permanent?: boolean, preserveMethod?: boolean, fragment?: string): RedirectToRouteHttpResult;
|
|
1930
|
-
static ServerSentEvents<T>(values: IAsyncEnumerable_1<T>, eventType?: string): ServerSentEventsResult_1<T>;
|
|
1931
|
-
static ServerSentEvents<T>(values: IAsyncEnumerable_1<SseItem_1<T>>): ServerSentEventsResult_1<T>;
|
|
1932
|
-
static ServerSentEvents(values: IAsyncEnumerable_1<System_Internal.String>, eventType?: string): ServerSentEventsResult_1<System_Internal.String>;
|
|
1933
|
-
static SignIn(principal: ClaimsPrincipal, properties?: AuthenticationProperties, authenticationScheme?: string): SignInHttpResult;
|
|
1934
|
-
static SignOut(properties?: AuthenticationProperties, authenticationSchemes?: IList_1<System_Internal.String>): SignOutHttpResult;
|
|
1926
|
+
static RedirectToRoute(routeName: string | null, routeValues: RouteValueDictionary | null, permanent?: boolean, preserveMethod?: boolean, fragment?: string | null): RedirectToRouteHttpResult;
|
|
1927
|
+
static RedirectToRoute(routeName?: string | null, routeValues?: unknown | null, permanent?: boolean, preserveMethod?: boolean, fragment?: string | null): RedirectToRouteHttpResult;
|
|
1928
|
+
static ServerSentEvents<T extends unknown>(values: IAsyncEnumerable_1<T>, eventType?: string | null): ServerSentEventsResult_1<T>;
|
|
1929
|
+
static ServerSentEvents<T extends unknown>(values: IAsyncEnumerable_1<SseItem_1<T>>): ServerSentEventsResult_1<T>;
|
|
1930
|
+
static ServerSentEvents(values: IAsyncEnumerable_1<System_Internal.String>, eventType?: string | null): ServerSentEventsResult_1<System_Internal.String>;
|
|
1931
|
+
static SignIn(principal: ClaimsPrincipal, properties?: AuthenticationProperties | null, authenticationScheme?: string | null): SignInHttpResult;
|
|
1932
|
+
static SignOut(properties?: AuthenticationProperties | null, authenticationSchemes?: IList_1<System_Internal.String> | null): SignOutHttpResult;
|
|
1935
1933
|
static StatusCode(statusCode: int): StatusCodeHttpResult;
|
|
1936
|
-
static Stream(streamWriterCallback: Func_2<Stream, Task>, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue): PushStreamHttpResult;
|
|
1937
|
-
static Stream(pipeReader: PipeReader, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): FileStreamHttpResult;
|
|
1938
|
-
static Stream(stream: Stream, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): FileStreamHttpResult;
|
|
1939
|
-
static Text(utf8Content: ReadOnlySpan_1<System_Internal.Byte>, contentType?: string, statusCode?: Nullable_1<System_Internal.Int32>): Utf8ContentHttpResult;
|
|
1940
|
-
static Text(content: string, contentType?: string, contentEncoding?: Encoding, statusCode?: Nullable_1<System_Internal.Int32>): ContentHttpResult;
|
|
1941
|
-
static Text(content: string, contentType: string, contentEncoding: Encoding): ContentHttpResult;
|
|
1934
|
+
static Stream(streamWriterCallback: Func_2<Stream, Task>, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null): PushStreamHttpResult;
|
|
1935
|
+
static Stream(pipeReader: PipeReader, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): FileStreamHttpResult;
|
|
1936
|
+
static Stream(stream: Stream, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): FileStreamHttpResult;
|
|
1937
|
+
static Text(utf8Content: ReadOnlySpan_1<System_Internal.Byte>, contentType?: string | null, statusCode?: Nullable_1<System_Internal.Int32>): Utf8ContentHttpResult;
|
|
1938
|
+
static Text(content: string | null, contentType?: string | null, contentEncoding?: Encoding | null, statusCode?: Nullable_1<System_Internal.Int32>): ContentHttpResult;
|
|
1939
|
+
static Text(content: string | null, contentType: string | null, contentEncoding: Encoding | null): ContentHttpResult;
|
|
1942
1940
|
static Unauthorized(): UnauthorizedHttpResult;
|
|
1943
1941
|
static UnprocessableEntity(): UnprocessableEntity;
|
|
1944
|
-
static UnprocessableEntity<TValue>(error: TValue): UnprocessableEntity_1<TValue>;
|
|
1945
|
-
static ValidationProblem(errors: IDictionary_2<System_Internal.String, string[]>, detail: string, instance: string, title: string, type: string, extensions: IDictionary_2<System_Internal.String, unknown>): ValidationProblem;
|
|
1946
|
-
static ValidationProblem(errors: IEnumerable_1<KeyValuePair_2<System_Internal.String, string[]>>, detail?: string, instance?: string, title?: string, type?: string, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>>): ValidationProblem;
|
|
1947
|
-
static VirtualFile(path: string, contentType?: string, fileDownloadName?: string, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue, enableRangeProcessing?: boolean): VirtualFileHttpResult;
|
|
1942
|
+
static UnprocessableEntity<TValue extends unknown>(error: TValue | null): UnprocessableEntity_1<TValue>;
|
|
1943
|
+
static ValidationProblem(errors: IDictionary_2<System_Internal.String, string[]>, detail: string | null, instance: string | null, title: string | null, type: string | null, extensions: IDictionary_2<System_Internal.String, unknown | null> | null): ValidationProblem;
|
|
1944
|
+
static ValidationProblem(errors: IEnumerable_1<KeyValuePair_2<System_Internal.String, string[]>>, detail?: string | null, instance?: string | null, title?: string | null, type?: string | null, extensions?: IEnumerable_1<KeyValuePair_2<System_Internal.String, unknown>> | null): ValidationProblem;
|
|
1945
|
+
static VirtualFile(path: string, contentType?: string | null, fileDownloadName?: string | null, lastModified?: Nullable_1<DateTimeOffset>, entityTag?: EntityTagHeaderValue | null, enableRangeProcessing?: boolean): VirtualFileHttpResult;
|
|
1948
1946
|
}
|
|
1949
1947
|
|
|
1950
1948
|
|