@tsonic/aspnetcore 10.0.12 → 10.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/Microsoft.AspNetCore.Authentication/bindings.json +0 -520
  2. package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +6 -31
  3. package/Microsoft.AspNetCore.Authentication.Cookies/bindings.json +0 -140
  4. package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +1 -7
  5. package/Microsoft.AspNetCore.Authentication.OAuth/bindings.json +0 -120
  6. package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +1 -6
  7. package/Microsoft.AspNetCore.Authorization.Infrastructure/bindings.json +0 -160
  8. package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +8 -8
  9. package/Microsoft.AspNetCore.Components/bindings.json +0 -380
  10. package/Microsoft.AspNetCore.Components/internal/index.d.ts +3 -22
  11. package/Microsoft.AspNetCore.Components.Authorization/bindings.json +0 -340
  12. package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +4 -21
  13. package/Microsoft.AspNetCore.Components.Forms/bindings.json +223 -1903
  14. package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +19 -93
  15. package/Microsoft.AspNetCore.Components.RenderTree/bindings.json +1 -1
  16. package/Microsoft.AspNetCore.Components.Routing/bindings.json +0 -180
  17. package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +2 -11
  18. package/Microsoft.AspNetCore.Components.Server/bindings.json +0 -40
  19. package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +1 -2
  20. package/Microsoft.AspNetCore.Components.Web/bindings.json +0 -380
  21. package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +4 -23
  22. package/Microsoft.AspNetCore.Components.Web.Virtualization/bindings.json +0 -80
  23. package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +1 -5
  24. package/Microsoft.AspNetCore.Hosting/bindings.json +0 -100
  25. package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +0 -5
  26. package/Microsoft.AspNetCore.Http.HttpResults/bindings.json +0 -20
  27. package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +1 -2
  28. package/Microsoft.AspNetCore.Identity/bindings.json +0 -960
  29. package/Microsoft.AspNetCore.Identity/internal/index.d.ts +3 -49
  30. package/Microsoft.AspNetCore.Localization/bindings.json +0 -80
  31. package/Microsoft.AspNetCore.Localization.Routing/bindings.json +0 -20
  32. package/Microsoft.AspNetCore.Mvc/bindings.json +0 -660
  33. package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +8 -41
  34. package/Microsoft.AspNetCore.Mvc.ApplicationParts/bindings.json +0 -80
  35. package/Microsoft.AspNetCore.Mvc.DataAnnotations/bindings.json +0 -20
  36. package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +1 -1
  37. package/Microsoft.AspNetCore.Mvc.Formatters/bindings.json +15 -595
  38. package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +11 -35
  39. package/Microsoft.AspNetCore.Mvc.Formatters.Xml/bindings.json +0 -20
  40. package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +0 -1
  41. package/Microsoft.AspNetCore.Mvc.Infrastructure/bindings.json +0 -60
  42. package/Microsoft.AspNetCore.Mvc.ModelBinding/bindings.json +0 -280
  43. package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +5 -18
  44. package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/bindings.json +0 -100
  45. package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +1 -5
  46. package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/bindings.json +0 -40
  47. package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +0 -1
  48. package/Microsoft.AspNetCore.Mvc.Razor/bindings.json +3 -63
  49. package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +0 -3
  50. package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/bindings.json +0 -120
  51. package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +3 -9
  52. package/Microsoft.AspNetCore.Mvc.RazorPages/bindings.json +0 -60
  53. package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +0 -3
  54. package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/bindings.json +6 -6
  55. package/Microsoft.AspNetCore.Mvc.Routing/bindings.json +0 -60
  56. package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +1 -3
  57. package/Microsoft.AspNetCore.Mvc.TagHelpers/bindings.json +0 -600
  58. package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +18 -48
  59. package/Microsoft.AspNetCore.Mvc.ViewFeatures/bindings.json +12 -612
  60. package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +3 -29
  61. package/Microsoft.AspNetCore.Razor.TagHelpers/bindings.json +0 -60
  62. package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +0 -3
  63. package/Microsoft.AspNetCore.Routing/bindings.json +0 -60
  64. package/Microsoft.AspNetCore.Routing/internal/index.d.ts +0 -3
  65. package/Microsoft.AspNetCore.Routing.Constraints/bindings.json +0 -80
  66. package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +2 -6
  67. package/Microsoft.AspNetCore.SignalR/bindings.json +3 -103
  68. package/Microsoft.JSInterop/bindings.json +0 -120
  69. package/Microsoft.JSInterop/internal/index.d.ts +0 -6
  70. package/Microsoft.JSInterop.Implementation/bindings.json +0 -240
  71. package/Microsoft.JSInterop.Implementation/internal/index.d.ts +1 -13
  72. package/README.md +58 -2
  73. package/System.Threading.RateLimiting/bindings.json +16 -16
  74. package/package.json +4 -4
@@ -181,18 +181,12 @@ export interface JSInProcessRuntime$instance extends JSRuntime, System_Internal.
181
181
  readonly __tsonic_iface_System_IDisposable: never;
182
182
 
183
183
  GetValue<TValue>(identifier: string): TValue;
184
- GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
185
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
186
184
  Invoke<TValue>(identifier: string, ...args: unknown[]): TValue;
187
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
188
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
189
185
  InvokeConstructor(identifier: string, ...args: unknown[]): IJSInProcessObjectReference;
190
186
  InvokeJS(identifier: string, argsJson: string): string | undefined;
191
187
  InvokeJS(identifier: string, argsJson: string, resultType: JSCallResultType, targetInstanceId: long): string | undefined;
192
188
  InvokeJS(invocationInfo: JSInvocationInfo): string | undefined;
193
189
  SetValue<TValue>(identifier: string, value: TValue): void;
194
- SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
195
- SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
196
190
  }
197
191
 
198
192
 
@@ -347,126 +347,6 @@
347
347
  "declaringAssemblyName": "Microsoft.JSInterop",
348
348
  "isExtensionMethod": false,
349
349
  "sourceInterface": "Microsoft.JSInterop.IJSInProcessObjectReference"
350
- },
351
- {
352
- "stableId": "Microsoft.JSInterop:Microsoft.JSInterop.Implementation.JSInProcessObjectReference::GetValueAsync(System.String):System.Threading.Tasks.ValueTask_1",
353
- "clrName": "GetValueAsync",
354
- "metadataToken": 0,
355
- "canonicalSignature": "(System.String):System.Threading.Tasks.ValueTask_1",
356
- "normalizedSignature": "GetValueAsync|(System.String):System.Threading.Tasks.ValueTask_1|static=false",
357
- "emitScope": "ClassSurface",
358
- "provenance": "BaseOverload",
359
- "arity": 1,
360
- "parameterCount": 1,
361
- "isStatic": false,
362
- "isAbstract": false,
363
- "isVirtual": true,
364
- "isOverride": false,
365
- "isSealed": false,
366
- "visibility": "Public",
367
- "declaringClrType": "Microsoft.JSInterop.Implementation.JSInProcessObjectReference",
368
- "declaringAssemblyName": "Microsoft.JSInterop",
369
- "isExtensionMethod": false
370
- },
371
- {
372
- "stableId": "Microsoft.JSInterop:Microsoft.JSInterop.Implementation.JSInProcessObjectReference::GetValueAsync(System.String,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1",
373
- "clrName": "GetValueAsync",
374
- "metadataToken": 0,
375
- "canonicalSignature": "(System.String,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1",
376
- "normalizedSignature": "GetValueAsync|(System.String,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1|static=false",
377
- "emitScope": "ClassSurface",
378
- "provenance": "BaseOverload",
379
- "arity": 1,
380
- "parameterCount": 2,
381
- "isStatic": false,
382
- "isAbstract": false,
383
- "isVirtual": true,
384
- "isOverride": false,
385
- "isSealed": false,
386
- "visibility": "Public",
387
- "declaringClrType": "Microsoft.JSInterop.Implementation.JSInProcessObjectReference",
388
- "declaringAssemblyName": "Microsoft.JSInterop",
389
- "isExtensionMethod": false
390
- },
391
- {
392
- "stableId": "Microsoft.JSInterop:Microsoft.JSInterop.Implementation.JSInProcessObjectReference::InvokeAsync(System.String,System.Object[]):System.Threading.Tasks.ValueTask_1",
393
- "clrName": "InvokeAsync",
394
- "metadataToken": 0,
395
- "canonicalSignature": "(System.String,System.Object[]):System.Threading.Tasks.ValueTask_1",
396
- "normalizedSignature": "InvokeAsync|(System.String,System.Object[]):System.Threading.Tasks.ValueTask_1|static=false",
397
- "emitScope": "ClassSurface",
398
- "provenance": "BaseOverload",
399
- "arity": 1,
400
- "parameterCount": 2,
401
- "isStatic": false,
402
- "isAbstract": false,
403
- "isVirtual": true,
404
- "isOverride": false,
405
- "isSealed": false,
406
- "visibility": "Public",
407
- "declaringClrType": "Microsoft.JSInterop.Implementation.JSInProcessObjectReference",
408
- "declaringAssemblyName": "Microsoft.JSInterop",
409
- "isExtensionMethod": false
410
- },
411
- {
412
- "stableId": "Microsoft.JSInterop:Microsoft.JSInterop.Implementation.JSInProcessObjectReference::InvokeAsync(System.String,System.Threading.CancellationToken,System.Object[]):System.Threading.Tasks.ValueTask_1",
413
- "clrName": "InvokeAsync",
414
- "metadataToken": 0,
415
- "canonicalSignature": "(System.String,System.Threading.CancellationToken,System.Object[]):System.Threading.Tasks.ValueTask_1",
416
- "normalizedSignature": "InvokeAsync|(System.String,System.Threading.CancellationToken,System.Object[]):System.Threading.Tasks.ValueTask_1|static=false",
417
- "emitScope": "ClassSurface",
418
- "provenance": "BaseOverload",
419
- "arity": 1,
420
- "parameterCount": 3,
421
- "isStatic": false,
422
- "isAbstract": false,
423
- "isVirtual": true,
424
- "isOverride": false,
425
- "isSealed": false,
426
- "visibility": "Public",
427
- "declaringClrType": "Microsoft.JSInterop.Implementation.JSInProcessObjectReference",
428
- "declaringAssemblyName": "Microsoft.JSInterop",
429
- "isExtensionMethod": false
430
- },
431
- {
432
- "stableId": "Microsoft.JSInterop:Microsoft.JSInterop.Implementation.JSInProcessObjectReference::SetValueAsync(System.String,TValue):System.Threading.Tasks.ValueTask",
433
- "clrName": "SetValueAsync",
434
- "metadataToken": 0,
435
- "canonicalSignature": "(System.String,TValue):System.Threading.Tasks.ValueTask",
436
- "normalizedSignature": "SetValueAsync|(System.String,TValue):System.Threading.Tasks.ValueTask|static=false",
437
- "emitScope": "ClassSurface",
438
- "provenance": "BaseOverload",
439
- "arity": 1,
440
- "parameterCount": 2,
441
- "isStatic": false,
442
- "isAbstract": false,
443
- "isVirtual": true,
444
- "isOverride": false,
445
- "isSealed": false,
446
- "visibility": "Public",
447
- "declaringClrType": "Microsoft.JSInterop.Implementation.JSInProcessObjectReference",
448
- "declaringAssemblyName": "Microsoft.JSInterop",
449
- "isExtensionMethod": false
450
- },
451
- {
452
- "stableId": "Microsoft.JSInterop:Microsoft.JSInterop.Implementation.JSInProcessObjectReference::SetValueAsync(System.String,TValue,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask",
453
- "clrName": "SetValueAsync",
454
- "metadataToken": 0,
455
- "canonicalSignature": "(System.String,TValue,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask",
456
- "normalizedSignature": "SetValueAsync|(System.String,TValue,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask|static=false",
457
- "emitScope": "ClassSurface",
458
- "provenance": "BaseOverload",
459
- "arity": 1,
460
- "parameterCount": 3,
461
- "isStatic": false,
462
- "isAbstract": false,
463
- "isVirtual": true,
464
- "isOverride": false,
465
- "isSealed": false,
466
- "visibility": "Public",
467
- "declaringClrType": "Microsoft.JSInterop.Implementation.JSInProcessObjectReference",
468
- "declaringAssemblyName": "Microsoft.JSInterop",
469
- "isExtensionMethod": false
470
350
  }
471
351
  ],
472
352
  "properties": [],
@@ -1052,126 +932,6 @@
1052
932
  "declaringAssemblyName": "Microsoft.JSInterop",
1053
933
  "isExtensionMethod": false,
1054
934
  "sourceInterface": "Microsoft.JSInterop.IJSStreamReference"
1055
- },
1056
- {
1057
- "stableId": "Microsoft.JSInterop:Microsoft.JSInterop.Implementation.JSStreamReference::GetValueAsync(System.String):System.Threading.Tasks.ValueTask_1",
1058
- "clrName": "GetValueAsync",
1059
- "metadataToken": 0,
1060
- "canonicalSignature": "(System.String):System.Threading.Tasks.ValueTask_1",
1061
- "normalizedSignature": "GetValueAsync|(System.String):System.Threading.Tasks.ValueTask_1|static=false",
1062
- "emitScope": "ClassSurface",
1063
- "provenance": "BaseOverload",
1064
- "arity": 1,
1065
- "parameterCount": 1,
1066
- "isStatic": false,
1067
- "isAbstract": false,
1068
- "isVirtual": true,
1069
- "isOverride": false,
1070
- "isSealed": false,
1071
- "visibility": "Public",
1072
- "declaringClrType": "Microsoft.JSInterop.Implementation.JSStreamReference",
1073
- "declaringAssemblyName": "Microsoft.JSInterop",
1074
- "isExtensionMethod": false
1075
- },
1076
- {
1077
- "stableId": "Microsoft.JSInterop:Microsoft.JSInterop.Implementation.JSStreamReference::GetValueAsync(System.String,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1",
1078
- "clrName": "GetValueAsync",
1079
- "metadataToken": 0,
1080
- "canonicalSignature": "(System.String,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1",
1081
- "normalizedSignature": "GetValueAsync|(System.String,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1|static=false",
1082
- "emitScope": "ClassSurface",
1083
- "provenance": "BaseOverload",
1084
- "arity": 1,
1085
- "parameterCount": 2,
1086
- "isStatic": false,
1087
- "isAbstract": false,
1088
- "isVirtual": true,
1089
- "isOverride": false,
1090
- "isSealed": false,
1091
- "visibility": "Public",
1092
- "declaringClrType": "Microsoft.JSInterop.Implementation.JSStreamReference",
1093
- "declaringAssemblyName": "Microsoft.JSInterop",
1094
- "isExtensionMethod": false
1095
- },
1096
- {
1097
- "stableId": "Microsoft.JSInterop:Microsoft.JSInterop.Implementation.JSStreamReference::InvokeAsync(System.String,System.Object[]):System.Threading.Tasks.ValueTask_1",
1098
- "clrName": "InvokeAsync",
1099
- "metadataToken": 0,
1100
- "canonicalSignature": "(System.String,System.Object[]):System.Threading.Tasks.ValueTask_1",
1101
- "normalizedSignature": "InvokeAsync|(System.String,System.Object[]):System.Threading.Tasks.ValueTask_1|static=false",
1102
- "emitScope": "ClassSurface",
1103
- "provenance": "BaseOverload",
1104
- "arity": 1,
1105
- "parameterCount": 2,
1106
- "isStatic": false,
1107
- "isAbstract": false,
1108
- "isVirtual": true,
1109
- "isOverride": false,
1110
- "isSealed": false,
1111
- "visibility": "Public",
1112
- "declaringClrType": "Microsoft.JSInterop.Implementation.JSStreamReference",
1113
- "declaringAssemblyName": "Microsoft.JSInterop",
1114
- "isExtensionMethod": false
1115
- },
1116
- {
1117
- "stableId": "Microsoft.JSInterop:Microsoft.JSInterop.Implementation.JSStreamReference::InvokeAsync(System.String,System.Threading.CancellationToken,System.Object[]):System.Threading.Tasks.ValueTask_1",
1118
- "clrName": "InvokeAsync",
1119
- "metadataToken": 0,
1120
- "canonicalSignature": "(System.String,System.Threading.CancellationToken,System.Object[]):System.Threading.Tasks.ValueTask_1",
1121
- "normalizedSignature": "InvokeAsync|(System.String,System.Threading.CancellationToken,System.Object[]):System.Threading.Tasks.ValueTask_1|static=false",
1122
- "emitScope": "ClassSurface",
1123
- "provenance": "BaseOverload",
1124
- "arity": 1,
1125
- "parameterCount": 3,
1126
- "isStatic": false,
1127
- "isAbstract": false,
1128
- "isVirtual": true,
1129
- "isOverride": false,
1130
- "isSealed": false,
1131
- "visibility": "Public",
1132
- "declaringClrType": "Microsoft.JSInterop.Implementation.JSStreamReference",
1133
- "declaringAssemblyName": "Microsoft.JSInterop",
1134
- "isExtensionMethod": false
1135
- },
1136
- {
1137
- "stableId": "Microsoft.JSInterop:Microsoft.JSInterop.Implementation.JSStreamReference::SetValueAsync(System.String,TValue):System.Threading.Tasks.ValueTask",
1138
- "clrName": "SetValueAsync",
1139
- "metadataToken": 0,
1140
- "canonicalSignature": "(System.String,TValue):System.Threading.Tasks.ValueTask",
1141
- "normalizedSignature": "SetValueAsync|(System.String,TValue):System.Threading.Tasks.ValueTask|static=false",
1142
- "emitScope": "ClassSurface",
1143
- "provenance": "BaseOverload",
1144
- "arity": 1,
1145
- "parameterCount": 2,
1146
- "isStatic": false,
1147
- "isAbstract": false,
1148
- "isVirtual": true,
1149
- "isOverride": false,
1150
- "isSealed": false,
1151
- "visibility": "Public",
1152
- "declaringClrType": "Microsoft.JSInterop.Implementation.JSStreamReference",
1153
- "declaringAssemblyName": "Microsoft.JSInterop",
1154
- "isExtensionMethod": false
1155
- },
1156
- {
1157
- "stableId": "Microsoft.JSInterop:Microsoft.JSInterop.Implementation.JSStreamReference::SetValueAsync(System.String,TValue,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask",
1158
- "clrName": "SetValueAsync",
1159
- "metadataToken": 0,
1160
- "canonicalSignature": "(System.String,TValue,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask",
1161
- "normalizedSignature": "SetValueAsync|(System.String,TValue,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask|static=false",
1162
- "emitScope": "ClassSurface",
1163
- "provenance": "BaseOverload",
1164
- "arity": 1,
1165
- "parameterCount": 3,
1166
- "isStatic": false,
1167
- "isAbstract": false,
1168
- "isVirtual": true,
1169
- "isOverride": false,
1170
- "isSealed": false,
1171
- "visibility": "Public",
1172
- "declaringClrType": "Microsoft.JSInterop.Implementation.JSStreamReference",
1173
- "declaringAssemblyName": "Microsoft.JSInterop",
1174
- "isExtensionMethod": false
1175
935
  }
1176
936
  ],
1177
937
  "properties": [
@@ -28,15 +28,9 @@ export interface JSInProcessObjectReference$instance extends JSObjectReference$i
28
28
 
29
29
  Dispose(): void;
30
30
  GetValue<TValue>(identifier: string): TValue;
31
- GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
32
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
33
31
  Invoke<TValue>(identifier: string, ...args: unknown[]): TValue;
34
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
35
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
36
32
  InvokeConstructor(identifier: string, args: unknown[]): IJSInProcessObjectReference;
37
33
  SetValue<TValue>(identifier: string, value: TValue): void;
38
- SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
39
- SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
40
34
  }
41
35
 
42
36
 
@@ -81,7 +75,7 @@ export interface __JSObjectReference$views {
81
75
  export type JSObjectReference = JSObjectReference$instance & __JSObjectReference$views;
82
76
 
83
77
 
84
- export interface JSStreamReference$instance extends JSObjectReference$instance, Microsoft_JSInterop_Internal.IJSStreamReference$instance {
78
+ export interface JSStreamReference$instance extends JSObjectReference$instance, Microsoft_JSInterop_Internal.IJSObjectReference$instance, Microsoft_JSInterop_Internal.IJSStreamReference$instance {
85
79
  readonly __tsonic_type_Microsoft_JSInterop_Implementation_JSStreamReference: never;
86
80
 
87
81
  readonly __tsonic_iface_Microsoft_JSInterop_IJSObjectReference: never;
@@ -89,12 +83,6 @@ export interface JSStreamReference$instance extends JSObjectReference$instance,
89
83
  readonly __tsonic_iface_System_IAsyncDisposable: never;
90
84
 
91
85
  readonly Length: long;
92
- GetValueAsync<TValue>(identifier: string): ValueTask_1<TValue>;
93
- GetValueAsync<TValue>(identifier: string, cancellationToken: CancellationToken): ValueTask_1<TValue>;
94
- InvokeAsync<TValue>(identifier: string, args: unknown[]): ValueTask_1<TValue>;
95
- InvokeAsync<TValue>(identifier: string, cancellationToken: CancellationToken, args: unknown[]): ValueTask_1<TValue>;
96
- SetValueAsync<TValue>(identifier: string, value: TValue): ValueTask;
97
- SetValueAsync<TValue>(identifier: string, value: TValue, cancellationToken: CancellationToken): ValueTask;
98
86
  }
99
87
 
100
88
 
package/README.md CHANGED
@@ -1,5 +1,61 @@
1
1
  # @tsonic/aspnetcore
2
2
 
3
- TypeScript type definitions for the `Microsoft.AspNetCore.App` shared framework for .NET 10.
3
+ TypeScript type definitions for the **`Microsoft.AspNetCore.App` shared framework** for **.NET 10**.
4
4
 
5
- Generated by `tsbindgen` from the `Microsoft.AspNetCore.App` shared framework and intended for use with the Tsonic compiler.
5
+ Generated by `tsbindgen` from the installed .NET shared framework and intended for use with the **Tsonic** compiler (TypeScript → .NET).
6
+
7
+ ## What this package is (and isn’t)
8
+
9
+ - ✅ TypeScript bindings (`.d.ts`) for ASP.NET Core APIs (Minimal APIs, Http abstractions, hosting, etc.).
10
+ - ❌ Not a JavaScript runtime implementation (the `.js` files are module stubs for type-only use).
11
+ - ✅ The real assemblies come from your **installed .NET** shared framework (`Microsoft.AspNetCore.App`).
12
+
13
+ ## Install (types)
14
+
15
+ ```bash
16
+ npm install @tsonic/aspnetcore @tsonic/dotnet @tsonic/core
17
+ ```
18
+
19
+ ## Use with Tsonic (recommended)
20
+
21
+ Add the framework reference in your workspace and (optionally) use this package as the published bindings:
22
+
23
+ ```bash
24
+ tsonic add framework Microsoft.AspNetCore.App @tsonic/aspnetcore
25
+ ```
26
+
27
+ If you omit the `@tsonic/aspnetcore` argument, Tsonic will generate bindings locally instead.
28
+
29
+ ## Imports
30
+
31
+ Import namespaces via explicit module paths:
32
+
33
+ ```ts
34
+ import { WebApplication } from "@tsonic/aspnetcore/Microsoft.AspNetCore.Builder.js";
35
+ import { HttpContext } from "@tsonic/aspnetcore/Microsoft.AspNetCore.Http.js";
36
+ ```
37
+
38
+ ## Example (Minimal API)
39
+
40
+ ```ts
41
+ import { WebApplication } from "@tsonic/aspnetcore/Microsoft.AspNetCore.Builder.js";
42
+ import type { ExtensionMethods } from "@tsonic/aspnetcore/Microsoft.AspNetCore.Builder.js";
43
+
44
+ export function main(): void {
45
+ const builder = WebApplication.CreateBuilder();
46
+ const app = builder.Build() as ExtensionMethods<WebApplication>;
47
+
48
+ app.MapGet("/", () => "hello");
49
+ app.Run("http://localhost:8080");
50
+ }
51
+ ```
52
+
53
+ ## Versioning
54
+
55
+ This repo is versioned by **.NET major**:
56
+
57
+ - .NET 10 → npm: `@tsonic/aspnetcore@10.x`
58
+
59
+ ## License
60
+
61
+ MIT
@@ -282,11 +282,11 @@
282
282
  "isExtensionMethod": false
283
283
  },
284
284
  {
285
- "stableId": "System.Threading.RateLimiting:System.Threading.RateLimiting.ConcurrencyLimiter::AcquireAsyncCore(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1",
285
+ "stableId": "System.Threading.RateLimiting:System.Threading.RateLimiting.ConcurrencyLimiter::AcquireAsyncCore(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1\u003CSystem.Threading.RateLimiting.RateLimitLease\u003E",
286
286
  "clrName": "AcquireAsyncCore",
287
287
  "metadataToken": 0,
288
- "canonicalSignature": "(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1",
289
- "normalizedSignature": "AcquireAsyncCore|(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1|static=false",
288
+ "canonicalSignature": "(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1\u003CSystem.Threading.RateLimiting.RateLimitLease\u003E",
289
+ "normalizedSignature": "AcquireAsyncCore|(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1\u003CSystem.Threading.RateLimiting.RateLimitLease\u003E|static=false",
290
290
  "emitScope": "ClassSurface",
291
291
  "provenance": "BaseOverload",
292
292
  "arity": 0,
@@ -315,7 +315,7 @@
315
315
  "isAbstract": false,
316
316
  "isVirtual": true,
317
317
  "isOverride": false,
318
- "isSealed": false,
318
+ "isSealed": true,
319
319
  "visibility": "Public",
320
320
  "declaringClrType": "System.Threading.RateLimiting.ConcurrencyLimiter",
321
321
  "declaringAssemblyName": "System.Threading.RateLimiting",
@@ -597,11 +597,11 @@
597
597
  "isExtensionMethod": false
598
598
  },
599
599
  {
600
- "stableId": "System.Threading.RateLimiting:System.Threading.RateLimiting.FixedWindowRateLimiter::AcquireAsyncCore(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1",
600
+ "stableId": "System.Threading.RateLimiting:System.Threading.RateLimiting.FixedWindowRateLimiter::AcquireAsyncCore(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1\u003CSystem.Threading.RateLimiting.RateLimitLease\u003E",
601
601
  "clrName": "AcquireAsyncCore",
602
602
  "metadataToken": 0,
603
- "canonicalSignature": "(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1",
604
- "normalizedSignature": "AcquireAsyncCore|(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1|static=false",
603
+ "canonicalSignature": "(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1\u003CSystem.Threading.RateLimiting.RateLimitLease\u003E",
604
+ "normalizedSignature": "AcquireAsyncCore|(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1\u003CSystem.Threading.RateLimiting.RateLimitLease\u003E|static=false",
605
605
  "emitScope": "ClassSurface",
606
606
  "provenance": "BaseOverload",
607
607
  "arity": 0,
@@ -630,7 +630,7 @@
630
630
  "isAbstract": false,
631
631
  "isVirtual": true,
632
632
  "isOverride": false,
633
- "isSealed": false,
633
+ "isSealed": true,
634
634
  "visibility": "Public",
635
635
  "declaringClrType": "System.Threading.RateLimiting.FixedWindowRateLimiter",
636
636
  "declaringAssemblyName": "System.Threading.RateLimiting",
@@ -2049,11 +2049,11 @@
2049
2049
  "isExtensionMethod": false
2050
2050
  },
2051
2051
  {
2052
- "stableId": "System.Threading.RateLimiting:System.Threading.RateLimiting.SlidingWindowRateLimiter::AcquireAsyncCore(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1",
2052
+ "stableId": "System.Threading.RateLimiting:System.Threading.RateLimiting.SlidingWindowRateLimiter::AcquireAsyncCore(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1\u003CSystem.Threading.RateLimiting.RateLimitLease\u003E",
2053
2053
  "clrName": "AcquireAsyncCore",
2054
2054
  "metadataToken": 0,
2055
- "canonicalSignature": "(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1",
2056
- "normalizedSignature": "AcquireAsyncCore|(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1|static=false",
2055
+ "canonicalSignature": "(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1\u003CSystem.Threading.RateLimiting.RateLimitLease\u003E",
2056
+ "normalizedSignature": "AcquireAsyncCore|(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1\u003CSystem.Threading.RateLimiting.RateLimitLease\u003E|static=false",
2057
2057
  "emitScope": "ClassSurface",
2058
2058
  "provenance": "BaseOverload",
2059
2059
  "arity": 0,
@@ -2082,7 +2082,7 @@
2082
2082
  "isAbstract": false,
2083
2083
  "isVirtual": true,
2084
2084
  "isOverride": false,
2085
- "isSealed": false,
2085
+ "isSealed": true,
2086
2086
  "visibility": "Public",
2087
2087
  "declaringClrType": "System.Threading.RateLimiting.SlidingWindowRateLimiter",
2088
2088
  "declaringAssemblyName": "System.Threading.RateLimiting",
@@ -2459,11 +2459,11 @@
2459
2459
  "isExtensionMethod": false
2460
2460
  },
2461
2461
  {
2462
- "stableId": "System.Threading.RateLimiting:System.Threading.RateLimiting.TokenBucketRateLimiter::AcquireAsyncCore(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1",
2462
+ "stableId": "System.Threading.RateLimiting:System.Threading.RateLimiting.TokenBucketRateLimiter::AcquireAsyncCore(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1\u003CSystem.Threading.RateLimiting.RateLimitLease\u003E",
2463
2463
  "clrName": "AcquireAsyncCore",
2464
2464
  "metadataToken": 0,
2465
- "canonicalSignature": "(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1",
2466
- "normalizedSignature": "AcquireAsyncCore|(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1|static=false",
2465
+ "canonicalSignature": "(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1\u003CSystem.Threading.RateLimiting.RateLimitLease\u003E",
2466
+ "normalizedSignature": "AcquireAsyncCore|(System.Int32,System.Threading.CancellationToken):System.Threading.Tasks.ValueTask_1\u003CSystem.Threading.RateLimiting.RateLimitLease\u003E|static=false",
2467
2467
  "emitScope": "ClassSurface",
2468
2468
  "provenance": "BaseOverload",
2469
2469
  "arity": 0,
@@ -2492,7 +2492,7 @@
2492
2492
  "isAbstract": false,
2493
2493
  "isVirtual": true,
2494
2494
  "isOverride": false,
2495
- "isSealed": false,
2495
+ "isSealed": true,
2496
2496
  "visibility": "Public",
2497
2497
  "declaringClrType": "System.Threading.RateLimiting.TokenBucketRateLimiter",
2498
2498
  "declaringAssemblyName": "System.Threading.RateLimiting",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsonic/aspnetcore",
3
- "version": "10.0.12",
3
+ "version": "10.0.20",
4
4
  "description": "TypeScript type definitions for Microsoft.AspNetCore.App shared framework for .NET 10",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -18,8 +18,8 @@
18
18
  "url": "https://github.com/tsoniclang/aspnetcore.git"
19
19
  },
20
20
  "peerDependencies": {
21
- "@tsonic/core": "10.0.12",
22
- "@tsonic/dotnet": "10.0.12",
23
- "@tsonic/microsoft-extensions": "10.0.12"
21
+ "@tsonic/core": "10.0.20",
22
+ "@tsonic/dotnet": "10.0.20",
23
+ "@tsonic/microsoft-extensions": "10.0.20"
24
24
  }
25
25
  }