@tsonic/efcore-sqlite 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/Microsoft.Data.Sqlite/bindings.json +6892 -0
- package/Microsoft.Data.Sqlite/internal/index.d.ts +430 -0
- package/Microsoft.Data.Sqlite/internal/metadata.json +4417 -0
- package/Microsoft.Data.Sqlite.d.ts +34 -0
- package/Microsoft.Data.Sqlite.js +9 -0
- package/Microsoft.DotNet.PlatformAbstractions/bindings.json +167 -0
- package/Microsoft.DotNet.PlatformAbstractions/internal/index.d.ts +29 -0
- package/Microsoft.DotNet.PlatformAbstractions/internal/metadata.json +121 -0
- package/Microsoft.DotNet.PlatformAbstractions.d.ts +13 -0
- package/Microsoft.DotNet.PlatformAbstractions.js +9 -0
- package/Microsoft.EntityFrameworkCore/bindings.json +1892 -0
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +156 -0
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +1368 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +528 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +55 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +267 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics.d.ts +17 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics.js +9 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +102 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +36 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/metadata.json +82 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure.d.ts +17 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure.js +9 -0
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +83 -0
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +17 -0
- package/Microsoft.EntityFrameworkCore.Metadata/internal/metadata.json +54 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +304 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +78 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/metadata.json +203 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +21 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.js +9 -0
- package/Microsoft.EntityFrameworkCore.Metadata.d.ts +12 -0
- package/Microsoft.EntityFrameworkCore.Metadata.js +9 -0
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +105 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +35 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/metadata.json +81 -0
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +17 -0
- package/Microsoft.EntityFrameworkCore.Migrations.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/bindings.json +236 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/internal/index.d.ts +57 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/internal/metadata.json +157 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal.d.ts +20 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/bindings.json +587 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/internal/index.d.ts +68 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/internal/metadata.json +293 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal.d.ts +15 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/bindings.json +202 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/internal/index.d.ts +44 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/internal/metadata.json +133 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal.d.ts +18 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal/bindings.json +1253 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal/internal/index.d.ts +83 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal/internal/metadata.json +855 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal.d.ts +18 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/bindings.json +294 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/internal/index.d.ts +43 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/internal/metadata.json +161 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal.d.ts +16 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/bindings.json +325 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/internal/index.d.ts +48 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/internal/metadata.json +214 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal.d.ts +17 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/bindings.json +2892 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/internal/index.d.ts +512 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/internal/metadata.json +1844 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.d.ts +59 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/bindings.json +151 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/internal/index.d.ts +44 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/internal/metadata.json +102 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.d.ts +20 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/bindings.json +1096 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/internal/index.d.ts +210 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/internal/metadata.json +707 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.d.ts +34 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/bindings.json +605 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/internal/index.d.ts +93 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/internal/metadata.json +438 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal.d.ts +19 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/bindings.json +413 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/internal/index.d.ts +80 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/internal/metadata.json +280 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal.d.ts +18 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.d.ts +29 -0
- package/Microsoft.EntityFrameworkCore.js +9 -0
- package/Microsoft.Extensions.DependencyInjection/bindings.json +68 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +22 -0
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +63 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +15 -0
- package/Microsoft.Extensions.DependencyInjection.js +9 -0
- package/Microsoft.Extensions.DependencyModel/bindings.json +2871 -0
- package/Microsoft.Extensions.DependencyModel/internal/index.d.ts +287 -0
- package/Microsoft.Extensions.DependencyModel/internal/metadata.json +1654 -0
- package/Microsoft.Extensions.DependencyModel.Resolution/bindings.json +526 -0
- package/Microsoft.Extensions.DependencyModel.Resolution/internal/index.d.ts +112 -0
- package/Microsoft.Extensions.DependencyModel.Resolution/internal/metadata.json +329 -0
- package/Microsoft.Extensions.DependencyModel.Resolution.d.ts +19 -0
- package/Microsoft.Extensions.DependencyModel.Resolution.js +9 -0
- package/Microsoft.Extensions.DependencyModel.d.ts +35 -0
- package/Microsoft.Extensions.DependencyModel.js +9 -0
- package/README.md +5 -0
- package/SQLitePCL/bindings.json +19341 -0
- package/SQLitePCL/internal/index.d.ts +994 -0
- package/SQLitePCL/internal/metadata.json +11902 -0
- package/SQLitePCL.d.ts +64 -0
- package/SQLitePCL.js +9 -0
- package/System.Collections.Generic/bindings.json +164 -0
- package/System.Collections.Generic/internal/index.d.ts +25 -0
- package/System.Collections.Generic/internal/metadata.json +123 -0
- package/System.Collections.Generic.d.ts +14 -0
- package/System.Collections.Generic.js +9 -0
- package/__build/ref/Program.cs +5 -0
- package/__build/ref/ref.csproj +14 -0
- package/__build/scripts/generate.sh +116 -0
- package/__internal/extensions/index.d.ts +44 -0
- package/families.json +1 -0
- package/package.json +28 -0
- package/tsconfig.json +20 -0
package/SQLitePCL.d.ts
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: SQLitePCL
|
|
3
|
+
// Facade - Public API Surface
|
|
4
|
+
|
|
5
|
+
// Import internal declarations
|
|
6
|
+
import * as Internal from './SQLitePCL/internal/index.js';
|
|
7
|
+
|
|
8
|
+
// Cross-namespace type imports for constraints
|
|
9
|
+
import type { AsyncCallback, Attribute, Boolean as ClrBoolean, Byte, Char, Double, Func, IAsyncResult, ICloneable, IDisposable, Int32, Int64, IntPtr, MulticastDelegate, Object as ClrObject, ReadOnlySpan, Span, String as ClrString, Type, UInt32, ValueType, Void } from '@tsonic/dotnet/System.js';
|
|
10
|
+
import type { GCHandleType, SafeHandle } from '@tsonic/dotnet/System.Runtime.InteropServices.js';
|
|
11
|
+
import type { ISerializable } from '@tsonic/dotnet/System.Runtime.Serialization.js';
|
|
12
|
+
|
|
13
|
+
// Public API exports (curated - no internal $instance/$views leakage)
|
|
14
|
+
export { Batteries$instance as Batteries } from './SQLitePCL/internal/index.js';
|
|
15
|
+
export { Batteries_V2$instance as Batteries_V2 } from './SQLitePCL/internal/index.js';
|
|
16
|
+
export type strdelegate_collation = Internal.strdelegate_collation;
|
|
17
|
+
export type strdelegate_update = Internal.strdelegate_update;
|
|
18
|
+
export type strdelegate_log = Internal.strdelegate_log;
|
|
19
|
+
export type strdelegate_authorizer = Internal.strdelegate_authorizer;
|
|
20
|
+
export type strdelegate_trace = Internal.strdelegate_trace;
|
|
21
|
+
export type strdelegate_profile = Internal.strdelegate_profile;
|
|
22
|
+
export type strdelegate_exec = Internal.strdelegate_exec;
|
|
23
|
+
export { raw$instance as raw } from './SQLitePCL/internal/index.js';
|
|
24
|
+
export { sqlite3_backup as sqlite3_backup } from './SQLitePCL/internal/index.js';
|
|
25
|
+
export { sqlite3_context as sqlite3_context } from './SQLitePCL/internal/index.js';
|
|
26
|
+
export { sqlite3_value as sqlite3_value } from './SQLitePCL/internal/index.js';
|
|
27
|
+
export { sqlite3_blob as sqlite3_blob } from './SQLitePCL/internal/index.js';
|
|
28
|
+
export { sqlite3_snapshot as sqlite3_snapshot } from './SQLitePCL/internal/index.js';
|
|
29
|
+
export { sqlite3_stmt as sqlite3_stmt } from './SQLitePCL/internal/index.js';
|
|
30
|
+
export { sqlite3 as sqlite3 } from './SQLitePCL/internal/index.js';
|
|
31
|
+
export type delegate_collation = Internal.delegate_collation;
|
|
32
|
+
export type delegate_update = Internal.delegate_update;
|
|
33
|
+
export type delegate_log = Internal.delegate_log;
|
|
34
|
+
export type delegate_authorizer = Internal.delegate_authorizer;
|
|
35
|
+
export type delegate_exec = Internal.delegate_exec;
|
|
36
|
+
export type delegate_commit = Internal.delegate_commit;
|
|
37
|
+
export type delegate_rollback = Internal.delegate_rollback;
|
|
38
|
+
export type delegate_trace = Internal.delegate_trace;
|
|
39
|
+
export type delegate_profile = Internal.delegate_profile;
|
|
40
|
+
export type delegate_progress = Internal.delegate_progress;
|
|
41
|
+
export type delegate_function_scalar = Internal.delegate_function_scalar;
|
|
42
|
+
export type delegate_function_aggregate_step = Internal.delegate_function_aggregate_step;
|
|
43
|
+
export type delegate_function_aggregate_final = Internal.delegate_function_aggregate_final;
|
|
44
|
+
export type ISQLite3Provider = Internal.ISQLite3Provider;
|
|
45
|
+
export { utf8z as utf8z } from './SQLitePCL/internal/index.js';
|
|
46
|
+
export { PreserveAttribute as PreserveAttribute } from './SQLitePCL/internal/index.js';
|
|
47
|
+
export { MonoPInvokeCallbackAttribute as MonoPInvokeCallbackAttribute } from './SQLitePCL/internal/index.js';
|
|
48
|
+
export { SafeGCHandle as SafeGCHandle } from './SQLitePCL/internal/index.js';
|
|
49
|
+
export { hook_handle as hook_handle } from './SQLitePCL/internal/index.js';
|
|
50
|
+
export { hook_handles as hook_handles } from './SQLitePCL/internal/index.js';
|
|
51
|
+
export { log_hook_info as log_hook_info } from './SQLitePCL/internal/index.js';
|
|
52
|
+
export { commit_hook_info as commit_hook_info } from './SQLitePCL/internal/index.js';
|
|
53
|
+
export { rollback_hook_info as rollback_hook_info } from './SQLitePCL/internal/index.js';
|
|
54
|
+
export { trace_hook_info as trace_hook_info } from './SQLitePCL/internal/index.js';
|
|
55
|
+
export { profile_hook_info as profile_hook_info } from './SQLitePCL/internal/index.js';
|
|
56
|
+
export { progress_hook_info as progress_hook_info } from './SQLitePCL/internal/index.js';
|
|
57
|
+
export { update_hook_info as update_hook_info } from './SQLitePCL/internal/index.js';
|
|
58
|
+
export { collation_hook_info as collation_hook_info } from './SQLitePCL/internal/index.js';
|
|
59
|
+
export { exec_hook_info as exec_hook_info } from './SQLitePCL/internal/index.js';
|
|
60
|
+
export { function_hook_info as function_hook_info } from './SQLitePCL/internal/index.js';
|
|
61
|
+
export { authorizer_hook_info as authorizer_hook_info } from './SQLitePCL/internal/index.js';
|
|
62
|
+
export { EntryPointAttribute as EntryPointAttribute } from './SQLitePCL/internal/index.js';
|
|
63
|
+
export type IGetFunctionPointer = Internal.IGetFunctionPointer;
|
|
64
|
+
export { SQLite3Provider_e_sqlite3 as SQLite3Provider_e_sqlite3 } from './SQLitePCL/internal/index.js';
|
package/SQLitePCL.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: SQLitePCL
|
|
3
|
+
// Module Stub - Do Not Execute
|
|
4
|
+
|
|
5
|
+
throw new Error(
|
|
6
|
+
'Cannot import CLR namespace SQLitePCL in JavaScript runtime. ' +
|
|
7
|
+
'This module provides TypeScript type definitions only. ' +
|
|
8
|
+
'Actual implementation requires .NET runtime via Tsonic compiler.'
|
|
9
|
+
);
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
{
|
|
2
|
+
"namespace": "System.Collections.Generic",
|
|
3
|
+
"types": [
|
|
4
|
+
{
|
|
5
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions",
|
|
6
|
+
"clrName": "System.Collections.Generic.CollectionExtensions",
|
|
7
|
+
"tsEmitName": "CollectionExtensions",
|
|
8
|
+
"assemblyName": "Microsoft.Extensions.DependencyModel",
|
|
9
|
+
"metadataToken": 0,
|
|
10
|
+
"methods": [
|
|
11
|
+
{
|
|
12
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions::GetDefaultGroup(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):Microsoft.Extensions.DependencyModel.RuntimeAssetGroup",
|
|
13
|
+
"clrName": "GetDefaultGroup",
|
|
14
|
+
"tsEmitName": "getDefaultGroup",
|
|
15
|
+
"metadataToken": 100663320,
|
|
16
|
+
"canonicalSignature": "(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):Microsoft.Extensions.DependencyModel.RuntimeAssetGroup",
|
|
17
|
+
"normalizedSignature": "GetDefaultGroup|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):Microsoft.Extensions.DependencyModel.RuntimeAssetGroup|static=true",
|
|
18
|
+
"emitScope": "ClassSurface",
|
|
19
|
+
"arity": 0,
|
|
20
|
+
"parameterCount": 1,
|
|
21
|
+
"declaringClrType": "System.Collections.Generic.CollectionExtensions",
|
|
22
|
+
"declaringAssemblyName": "Microsoft.Extensions.DependencyModel",
|
|
23
|
+
"isExtensionMethod": true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions::GetRuntimeGroup(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):Microsoft.Extensions.DependencyModel.RuntimeAssetGroup",
|
|
27
|
+
"clrName": "GetRuntimeGroup",
|
|
28
|
+
"tsEmitName": "getRuntimeGroup",
|
|
29
|
+
"metadataToken": 100663321,
|
|
30
|
+
"canonicalSignature": "(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):Microsoft.Extensions.DependencyModel.RuntimeAssetGroup",
|
|
31
|
+
"normalizedSignature": "GetRuntimeGroup|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):Microsoft.Extensions.DependencyModel.RuntimeAssetGroup|static=true",
|
|
32
|
+
"emitScope": "ClassSurface",
|
|
33
|
+
"arity": 0,
|
|
34
|
+
"parameterCount": 2,
|
|
35
|
+
"declaringClrType": "System.Collections.Generic.CollectionExtensions",
|
|
36
|
+
"declaringAssemblyName": "Microsoft.Extensions.DependencyModel",
|
|
37
|
+
"isExtensionMethod": true
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions::GetDefaultAssets(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):System.Collections.Generic.IEnumerable_1[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
|
|
41
|
+
"clrName": "GetDefaultAssets",
|
|
42
|
+
"tsEmitName": "getDefaultAssets",
|
|
43
|
+
"metadataToken": 100663323,
|
|
44
|
+
"canonicalSignature": "(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):System.Collections.Generic.IEnumerable_1[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
|
|
45
|
+
"normalizedSignature": "GetDefaultAssets|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):System.Collections.Generic.IEnumerable_1[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]|static=true",
|
|
46
|
+
"emitScope": "ClassSurface",
|
|
47
|
+
"arity": 0,
|
|
48
|
+
"parameterCount": 1,
|
|
49
|
+
"declaringClrType": "System.Collections.Generic.CollectionExtensions",
|
|
50
|
+
"declaringAssemblyName": "Microsoft.Extensions.DependencyModel",
|
|
51
|
+
"isExtensionMethod": true
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions::GetRuntimeAssets(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):System.Collections.Generic.IEnumerable_1[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
|
|
55
|
+
"clrName": "GetRuntimeAssets",
|
|
56
|
+
"tsEmitName": "getRuntimeAssets",
|
|
57
|
+
"metadataToken": 100663324,
|
|
58
|
+
"canonicalSignature": "(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):System.Collections.Generic.IEnumerable_1[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
|
|
59
|
+
"normalizedSignature": "GetRuntimeAssets|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):System.Collections.Generic.IEnumerable_1[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]|static=true",
|
|
60
|
+
"emitScope": "ClassSurface",
|
|
61
|
+
"arity": 0,
|
|
62
|
+
"parameterCount": 2,
|
|
63
|
+
"declaringClrType": "System.Collections.Generic.CollectionExtensions",
|
|
64
|
+
"declaringAssemblyName": "Microsoft.Extensions.DependencyModel",
|
|
65
|
+
"isExtensionMethod": true
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions::GetDefaultRuntimeFileAssets(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeFile,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]",
|
|
69
|
+
"clrName": "GetDefaultRuntimeFileAssets",
|
|
70
|
+
"tsEmitName": "getDefaultRuntimeFileAssets",
|
|
71
|
+
"metadataToken": 100663326,
|
|
72
|
+
"canonicalSignature": "(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeFile,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]",
|
|
73
|
+
"normalizedSignature": "GetDefaultRuntimeFileAssets|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeFile,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]|static=true",
|
|
74
|
+
"emitScope": "ClassSurface",
|
|
75
|
+
"arity": 0,
|
|
76
|
+
"parameterCount": 1,
|
|
77
|
+
"declaringClrType": "System.Collections.Generic.CollectionExtensions",
|
|
78
|
+
"declaringAssemblyName": "Microsoft.Extensions.DependencyModel",
|
|
79
|
+
"isExtensionMethod": true
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions::GetRuntimeFileAssets(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeFile,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]",
|
|
83
|
+
"clrName": "GetRuntimeFileAssets",
|
|
84
|
+
"tsEmitName": "getRuntimeFileAssets",
|
|
85
|
+
"metadataToken": 100663327,
|
|
86
|
+
"canonicalSignature": "(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeFile,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]",
|
|
87
|
+
"normalizedSignature": "GetRuntimeFileAssets|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeFile,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]|static=true",
|
|
88
|
+
"emitScope": "ClassSurface",
|
|
89
|
+
"arity": 0,
|
|
90
|
+
"parameterCount": 2,
|
|
91
|
+
"declaringClrType": "System.Collections.Generic.CollectionExtensions",
|
|
92
|
+
"declaringAssemblyName": "Microsoft.Extensions.DependencyModel",
|
|
93
|
+
"isExtensionMethod": true
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"properties": [],
|
|
97
|
+
"fields": [],
|
|
98
|
+
"events": [],
|
|
99
|
+
"constructors": [],
|
|
100
|
+
"exposedMethods": [
|
|
101
|
+
{
|
|
102
|
+
"tsName": "getDefaultGroup",
|
|
103
|
+
"isStatic": true,
|
|
104
|
+
"tsSignatureId": "GetDefaultGroup|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):Microsoft.Extensions.DependencyModel.RuntimeAssetGroup|static=true",
|
|
105
|
+
"target": {
|
|
106
|
+
"declaringClrType": "System.Collections.Generic.CollectionExtensions",
|
|
107
|
+
"declaringAssemblyName": "Microsoft.Extensions.DependencyModel",
|
|
108
|
+
"metadataToken": 100663320
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"tsName": "getRuntimeGroup",
|
|
113
|
+
"isStatic": true,
|
|
114
|
+
"tsSignatureId": "GetRuntimeGroup|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):Microsoft.Extensions.DependencyModel.RuntimeAssetGroup|static=true",
|
|
115
|
+
"target": {
|
|
116
|
+
"declaringClrType": "System.Collections.Generic.CollectionExtensions",
|
|
117
|
+
"declaringAssemblyName": "Microsoft.Extensions.DependencyModel",
|
|
118
|
+
"metadataToken": 100663321
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"tsName": "getDefaultAssets",
|
|
123
|
+
"isStatic": true,
|
|
124
|
+
"tsSignatureId": "GetDefaultAssets|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):System.Collections.Generic.IEnumerable_1[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]|static=true",
|
|
125
|
+
"target": {
|
|
126
|
+
"declaringClrType": "System.Collections.Generic.CollectionExtensions",
|
|
127
|
+
"declaringAssemblyName": "Microsoft.Extensions.DependencyModel",
|
|
128
|
+
"metadataToken": 100663323
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"tsName": "getRuntimeAssets",
|
|
133
|
+
"isStatic": true,
|
|
134
|
+
"tsSignatureId": "GetRuntimeAssets|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):System.Collections.Generic.IEnumerable_1[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]|static=true",
|
|
135
|
+
"target": {
|
|
136
|
+
"declaringClrType": "System.Collections.Generic.CollectionExtensions",
|
|
137
|
+
"declaringAssemblyName": "Microsoft.Extensions.DependencyModel",
|
|
138
|
+
"metadataToken": 100663324
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"tsName": "getDefaultRuntimeFileAssets",
|
|
143
|
+
"isStatic": true,
|
|
144
|
+
"tsSignatureId": "GetDefaultRuntimeFileAssets|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeFile,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]|static=true",
|
|
145
|
+
"target": {
|
|
146
|
+
"declaringClrType": "System.Collections.Generic.CollectionExtensions",
|
|
147
|
+
"declaringAssemblyName": "Microsoft.Extensions.DependencyModel",
|
|
148
|
+
"metadataToken": 100663326
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"tsName": "getRuntimeFileAssets",
|
|
153
|
+
"isStatic": true,
|
|
154
|
+
"tsSignatureId": "GetRuntimeFileAssets|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeFile,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]|static=true",
|
|
155
|
+
"target": {
|
|
156
|
+
"declaringClrType": "System.Collections.Generic.CollectionExtensions",
|
|
157
|
+
"declaringAssemblyName": "Microsoft.Extensions.DependencyModel",
|
|
158
|
+
"metadataToken": 100663327
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
]
|
|
164
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: System.Collections.Generic
|
|
3
|
+
// Assembly: Microsoft.Extensions.DependencyModel, System.Collections, System.Private.CoreLib
|
|
4
|
+
|
|
5
|
+
// Primitive type aliases from @tsonic/core
|
|
6
|
+
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
8
|
+
// Import types from other namespaces
|
|
9
|
+
import type { RuntimeAssetGroup, RuntimeFile } from "../../Microsoft.Extensions.DependencyModel/internal/index.js";
|
|
10
|
+
import type { IEnumerable } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
11
|
+
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
12
|
+
import type { Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System.js";
|
|
13
|
+
|
|
14
|
+
export abstract class CollectionExtensions$instance {
|
|
15
|
+
static getDefaultAssets(self: IEnumerable<RuntimeAssetGroup>): IEnumerable<System_Internal.String>;
|
|
16
|
+
static getDefaultGroup(self: IEnumerable<RuntimeAssetGroup>): RuntimeAssetGroup | undefined;
|
|
17
|
+
static getDefaultRuntimeFileAssets(self: IEnumerable<RuntimeAssetGroup>): IEnumerable<RuntimeFile>;
|
|
18
|
+
static getRuntimeAssets(self: IEnumerable<RuntimeAssetGroup>, runtime: string): IEnumerable<System_Internal.String>;
|
|
19
|
+
static getRuntimeFileAssets(self: IEnumerable<RuntimeAssetGroup>, runtime: string): IEnumerable<RuntimeFile>;
|
|
20
|
+
static getRuntimeGroup(self: IEnumerable<RuntimeAssetGroup>, runtime: string): RuntimeAssetGroup | undefined;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
export type CollectionExtensions = CollectionExtensions$instance;
|
|
25
|
+
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"namespace": "System.Collections.Generic",
|
|
3
|
+
"contributingAssemblies": [
|
|
4
|
+
"Microsoft.Extensions.DependencyModel",
|
|
5
|
+
"System.Collections",
|
|
6
|
+
"System.Private.CoreLib"
|
|
7
|
+
],
|
|
8
|
+
"types": [
|
|
9
|
+
{
|
|
10
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions",
|
|
11
|
+
"clrName": "System.Collections.Generic.CollectionExtensions",
|
|
12
|
+
"tsEmitName": "CollectionExtensions",
|
|
13
|
+
"kind": "StaticNamespace",
|
|
14
|
+
"accessibility": "Public",
|
|
15
|
+
"isAbstract": true,
|
|
16
|
+
"isSealed": true,
|
|
17
|
+
"isStatic": true,
|
|
18
|
+
"arity": 0,
|
|
19
|
+
"methods": [
|
|
20
|
+
{
|
|
21
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions::GetDefaultGroup(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):Microsoft.Extensions.DependencyModel.RuntimeAssetGroup",
|
|
22
|
+
"clrName": "GetDefaultGroup",
|
|
23
|
+
"tsEmitName": "getDefaultGroup",
|
|
24
|
+
"normalizedSignature": "GetDefaultGroup|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):Microsoft.Extensions.DependencyModel.RuntimeAssetGroup|static=true",
|
|
25
|
+
"provenance": "Original",
|
|
26
|
+
"emitScope": "ClassSurface",
|
|
27
|
+
"isStatic": true,
|
|
28
|
+
"isAbstract": false,
|
|
29
|
+
"isVirtual": false,
|
|
30
|
+
"isOverride": false,
|
|
31
|
+
"isSealed": false,
|
|
32
|
+
"arity": 0,
|
|
33
|
+
"parameterCount": 1,
|
|
34
|
+
"isExtensionMethod": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions::GetRuntimeGroup(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):Microsoft.Extensions.DependencyModel.RuntimeAssetGroup",
|
|
38
|
+
"clrName": "GetRuntimeGroup",
|
|
39
|
+
"tsEmitName": "getRuntimeGroup",
|
|
40
|
+
"normalizedSignature": "GetRuntimeGroup|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):Microsoft.Extensions.DependencyModel.RuntimeAssetGroup|static=true",
|
|
41
|
+
"provenance": "Original",
|
|
42
|
+
"emitScope": "ClassSurface",
|
|
43
|
+
"isStatic": true,
|
|
44
|
+
"isAbstract": false,
|
|
45
|
+
"isVirtual": false,
|
|
46
|
+
"isOverride": false,
|
|
47
|
+
"isSealed": false,
|
|
48
|
+
"arity": 0,
|
|
49
|
+
"parameterCount": 2,
|
|
50
|
+
"isExtensionMethod": true
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions::GetDefaultAssets(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):System.Collections.Generic.IEnumerable_1[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
|
|
54
|
+
"clrName": "GetDefaultAssets",
|
|
55
|
+
"tsEmitName": "getDefaultAssets",
|
|
56
|
+
"normalizedSignature": "GetDefaultAssets|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):System.Collections.Generic.IEnumerable_1[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]|static=true",
|
|
57
|
+
"provenance": "Original",
|
|
58
|
+
"emitScope": "ClassSurface",
|
|
59
|
+
"isStatic": true,
|
|
60
|
+
"isAbstract": false,
|
|
61
|
+
"isVirtual": false,
|
|
62
|
+
"isOverride": false,
|
|
63
|
+
"isSealed": false,
|
|
64
|
+
"arity": 0,
|
|
65
|
+
"parameterCount": 1,
|
|
66
|
+
"isExtensionMethod": true
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions::GetRuntimeAssets(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):System.Collections.Generic.IEnumerable_1[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]",
|
|
70
|
+
"clrName": "GetRuntimeAssets",
|
|
71
|
+
"tsEmitName": "getRuntimeAssets",
|
|
72
|
+
"normalizedSignature": "GetRuntimeAssets|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):System.Collections.Generic.IEnumerable_1[[System.String,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]]|static=true",
|
|
73
|
+
"provenance": "Original",
|
|
74
|
+
"emitScope": "ClassSurface",
|
|
75
|
+
"isStatic": true,
|
|
76
|
+
"isAbstract": false,
|
|
77
|
+
"isVirtual": false,
|
|
78
|
+
"isOverride": false,
|
|
79
|
+
"isSealed": false,
|
|
80
|
+
"arity": 0,
|
|
81
|
+
"parameterCount": 2,
|
|
82
|
+
"isExtensionMethod": true
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions::GetDefaultRuntimeFileAssets(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeFile,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]",
|
|
86
|
+
"clrName": "GetDefaultRuntimeFileAssets",
|
|
87
|
+
"tsEmitName": "getDefaultRuntimeFileAssets",
|
|
88
|
+
"normalizedSignature": "GetDefaultRuntimeFileAssets|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]):System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeFile,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]|static=true",
|
|
89
|
+
"provenance": "Original",
|
|
90
|
+
"emitScope": "ClassSurface",
|
|
91
|
+
"isStatic": true,
|
|
92
|
+
"isAbstract": false,
|
|
93
|
+
"isVirtual": false,
|
|
94
|
+
"isOverride": false,
|
|
95
|
+
"isSealed": false,
|
|
96
|
+
"arity": 0,
|
|
97
|
+
"parameterCount": 1,
|
|
98
|
+
"isExtensionMethod": true
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"stableId": "Microsoft.Extensions.DependencyModel:System.Collections.Generic.CollectionExtensions::GetRuntimeFileAssets(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeFile,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]",
|
|
102
|
+
"clrName": "GetRuntimeFileAssets",
|
|
103
|
+
"tsEmitName": "getRuntimeFileAssets",
|
|
104
|
+
"normalizedSignature": "GetRuntimeFileAssets|(System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeAssetGroup,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]],System.String):System.Collections.Generic.IEnumerable_1[[Microsoft.Extensions.DependencyModel.RuntimeFile,Microsoft.Extensions.DependencyModel,Version=10.0.0.1,Culture=neutral,PublicKeyToken=adb9793829ddae60]]|static=true",
|
|
105
|
+
"provenance": "Original",
|
|
106
|
+
"emitScope": "ClassSurface",
|
|
107
|
+
"isStatic": true,
|
|
108
|
+
"isAbstract": false,
|
|
109
|
+
"isVirtual": false,
|
|
110
|
+
"isOverride": false,
|
|
111
|
+
"isSealed": false,
|
|
112
|
+
"arity": 0,
|
|
113
|
+
"parameterCount": 2,
|
|
114
|
+
"isExtensionMethod": true
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"properties": [],
|
|
118
|
+
"fields": [],
|
|
119
|
+
"events": [],
|
|
120
|
+
"constructors": []
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: System.Collections.Generic
|
|
3
|
+
// Facade - Public API Surface
|
|
4
|
+
|
|
5
|
+
// Import internal declarations
|
|
6
|
+
import * as Internal from './System.Collections.Generic/internal/index.js';
|
|
7
|
+
|
|
8
|
+
// Cross-namespace type imports for constraints
|
|
9
|
+
import type { RuntimeAssetGroup, RuntimeFile } from './Microsoft.Extensions.DependencyModel/internal/index.js';
|
|
10
|
+
import type { IEnumerable } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
11
|
+
import type { Object as ClrObject, String as ClrString } from '@tsonic/dotnet/System.js';
|
|
12
|
+
|
|
13
|
+
// Public API exports (curated - no internal $instance/$views leakage)
|
|
14
|
+
export { CollectionExtensions$instance as CollectionExtensions } from './System.Collections.Generic/internal/index.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: System.Collections.Generic
|
|
3
|
+
// Module Stub - Do Not Execute
|
|
4
|
+
|
|
5
|
+
throw new Error(
|
|
6
|
+
'Cannot import CLR namespace System.Collections.Generic in JavaScript runtime. ' +
|
|
7
|
+
'This module provides TypeScript type definitions only. ' +
|
|
8
|
+
'Actual implementation requires .NET runtime via Tsonic compiler.'
|
|
9
|
+
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<Project Sdk="Microsoft.NET.Sdk">
|
|
2
|
+
<PropertyGroup>
|
|
3
|
+
<OutputType>Exe</OutputType>
|
|
4
|
+
<TargetFramework>net10.0</TargetFramework>
|
|
5
|
+
<ImplicitUsings>enable</ImplicitUsings>
|
|
6
|
+
<Nullable>enable</Nullable>
|
|
7
|
+
<EfCoreVersion>10.0.1</EfCoreVersion>
|
|
8
|
+
</PropertyGroup>
|
|
9
|
+
|
|
10
|
+
<ItemGroup>
|
|
11
|
+
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="$(EfCoreVersion)" />
|
|
12
|
+
</ItemGroup>
|
|
13
|
+
</Project>
|
|
14
|
+
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Generate TypeScript declarations for Microsoft.EntityFrameworkCore.Sqlite (+ dependencies) from NuGet packages.
|
|
3
|
+
#
|
|
4
|
+
# Prerequisites:
|
|
5
|
+
# - .NET 10 SDK installed
|
|
6
|
+
# - tsbindgen repository cloned at ../tsbindgen (sibling directory)
|
|
7
|
+
# - @tsonic/dotnet cloned at ../dotnet (sibling directory)
|
|
8
|
+
# - @tsonic/microsoft-extensions cloned at ../microsoft-extensions (sibling directory)
|
|
9
|
+
# - @tsonic/efcore cloned at ../efcore (sibling directory)
|
|
10
|
+
#
|
|
11
|
+
# Usage:
|
|
12
|
+
# ./__build/scripts/generate.sh
|
|
13
|
+
|
|
14
|
+
set -e
|
|
15
|
+
|
|
16
|
+
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
17
|
+
PROJECT_DIR="$(cd "$SCRIPT_DIR/../.." && pwd)"
|
|
18
|
+
TSBINDGEN_DIR="$PROJECT_DIR/../tsbindgen"
|
|
19
|
+
DOTNET_LIB="$PROJECT_DIR/../dotnet"
|
|
20
|
+
EXT_LIB="$PROJECT_DIR/../microsoft-extensions"
|
|
21
|
+
EFCORE_LIB="$PROJECT_DIR/../efcore"
|
|
22
|
+
REF_DIR="$PROJECT_DIR/__build/ref"
|
|
23
|
+
|
|
24
|
+
DOTNET_VERSION="${DOTNET_VERSION:-10.0.1}"
|
|
25
|
+
DOTNET_HOME="${DOTNET_HOME:-$HOME/.dotnet}"
|
|
26
|
+
NETCORE_RUNTIME_PATH="$DOTNET_HOME/shared/Microsoft.NETCore.App/$DOTNET_VERSION"
|
|
27
|
+
|
|
28
|
+
echo "================================================================"
|
|
29
|
+
echo "Generating EF Core SQLite TypeScript Declarations"
|
|
30
|
+
echo "================================================================"
|
|
31
|
+
echo ""
|
|
32
|
+
echo "Configuration:"
|
|
33
|
+
echo " .NET Runtime: $NETCORE_RUNTIME_PATH"
|
|
34
|
+
echo " BCL Library: $DOTNET_LIB (external reference)"
|
|
35
|
+
echo " Extensions Library: $EXT_LIB (external reference)"
|
|
36
|
+
echo " EF Core Library: $EFCORE_LIB (external reference)"
|
|
37
|
+
echo " tsbindgen: $TSBINDGEN_DIR"
|
|
38
|
+
echo " Ref project: $REF_DIR"
|
|
39
|
+
echo " Output: $PROJECT_DIR"
|
|
40
|
+
echo " Naming: JS (camelCase)"
|
|
41
|
+
echo ""
|
|
42
|
+
|
|
43
|
+
# Verify prerequisites
|
|
44
|
+
if [ ! -d "$NETCORE_RUNTIME_PATH" ]; then
|
|
45
|
+
echo "ERROR: .NET runtime not found at $NETCORE_RUNTIME_PATH"
|
|
46
|
+
exit 1
|
|
47
|
+
fi
|
|
48
|
+
|
|
49
|
+
for dir in "$TSBINDGEN_DIR" "$DOTNET_LIB" "$EXT_LIB" "$EFCORE_LIB"; do
|
|
50
|
+
if [ ! -d "$dir" ]; then
|
|
51
|
+
echo "ERROR: Missing required repo at $dir"
|
|
52
|
+
exit 1
|
|
53
|
+
fi
|
|
54
|
+
done
|
|
55
|
+
|
|
56
|
+
if [ ! -f "$REF_DIR/ref.csproj" ]; then
|
|
57
|
+
echo "ERROR: Reference project not found at $REF_DIR/ref.csproj"
|
|
58
|
+
exit 1
|
|
59
|
+
fi
|
|
60
|
+
|
|
61
|
+
# Clean output directory (keep config files)
|
|
62
|
+
echo "[1/4] Cleaning output directory..."
|
|
63
|
+
cd "$PROJECT_DIR"
|
|
64
|
+
|
|
65
|
+
find . -maxdepth 1 -type d \
|
|
66
|
+
! -name '.' \
|
|
67
|
+
! -name '.git' \
|
|
68
|
+
! -name '.tests' \
|
|
69
|
+
! -name 'node_modules' \
|
|
70
|
+
! -name '__build' \
|
|
71
|
+
-exec rm -rf {} \; 2>/dev/null || true
|
|
72
|
+
|
|
73
|
+
rm -f *.d.ts *.js families.json 2>/dev/null || true
|
|
74
|
+
rm -rf __internal Internal internal 2>/dev/null || true
|
|
75
|
+
|
|
76
|
+
echo " Done"
|
|
77
|
+
|
|
78
|
+
echo "[2/4] Restoring reference project packages..."
|
|
79
|
+
dotnet restore "$REF_DIR/ref.csproj" --verbosity quiet
|
|
80
|
+
echo " Done"
|
|
81
|
+
|
|
82
|
+
echo "[3/4] Building reference project..."
|
|
83
|
+
dotnet build "$REF_DIR/ref.csproj" -c Release --no-restore --verbosity quiet
|
|
84
|
+
echo " Done"
|
|
85
|
+
|
|
86
|
+
# Build tsbindgen
|
|
87
|
+
echo "[4/4] Building + running tsbindgen..."
|
|
88
|
+
cd "$TSBINDGEN_DIR"
|
|
89
|
+
dotnet build src/tsbindgen/tsbindgen.csproj -c Release --verbosity quiet
|
|
90
|
+
|
|
91
|
+
REF_OUT="$REF_DIR/bin/Release/net10.0"
|
|
92
|
+
REF_DLLS=( "$REF_OUT"/*.dll )
|
|
93
|
+
if [ ! -f "${REF_DLLS[0]}" ]; then
|
|
94
|
+
echo "ERROR: No dlls found in $REF_OUT"
|
|
95
|
+
exit 1
|
|
96
|
+
fi
|
|
97
|
+
|
|
98
|
+
GEN_ARGS=()
|
|
99
|
+
for dll in "${REF_DLLS[@]}"; do
|
|
100
|
+
GEN_ARGS+=( -a "$dll" )
|
|
101
|
+
done
|
|
102
|
+
|
|
103
|
+
# EF Core includes generic `new()` constraints that TypeScript cannot represent for instance-type generics.
|
|
104
|
+
# We explicitly allow this constraint loss to unblock generation (emitted as warnings by tsbindgen).
|
|
105
|
+
dotnet run --project src/tsbindgen/tsbindgen.csproj --no-build -c Release -- \
|
|
106
|
+
generate "${GEN_ARGS[@]}" -d "$NETCORE_RUNTIME_PATH" -o "$PROJECT_DIR" \
|
|
107
|
+
--allow-constructor-constraint-loss \
|
|
108
|
+
--lib "$DOTNET_LIB" \
|
|
109
|
+
--lib "$EXT_LIB" \
|
|
110
|
+
--lib "$EFCORE_LIB" \
|
|
111
|
+
--naming js
|
|
112
|
+
|
|
113
|
+
echo ""
|
|
114
|
+
echo "================================================================"
|
|
115
|
+
echo "Generation Complete"
|
|
116
|
+
echo "================================================================"
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Generated by tsbindgen - Extension Method Buckets
|
|
2
|
+
// This file contains bucket interfaces for C# extension methods.
|
|
3
|
+
// Buckets are scoped by declaring namespace (C# using semantics).
|
|
4
|
+
// For each namespace with extension methods, this file exports an ExtensionMethods_<Namespace> helper.
|
|
5
|
+
|
|
6
|
+
// Import namespace modules for cross-namespace type references
|
|
7
|
+
import * as Microsoft_Extensions_DependencyModel from "../../Microsoft.Extensions.DependencyModel/internal/index.js";
|
|
8
|
+
|
|
9
|
+
// Import primitive type aliases
|
|
10
|
+
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
11
|
+
|
|
12
|
+
// Import CLR type aliases for generic type arguments
|
|
13
|
+
import * as System_Internal from "../../System/internal/index.js";
|
|
14
|
+
|
|
15
|
+
// Import unsafe type markers
|
|
16
|
+
import type { ptr } from '@tsonic/core/types.js';
|
|
17
|
+
|
|
18
|
+
export interface __Ext_Microsoft_Extensions_DependencyModel_DependencyContext {
|
|
19
|
+
getDefaultNativeAssets(): ExtensionMethods_Microsoft_Extensions_DependencyModel<IEnumerable_1<System_Internal.String>>;
|
|
20
|
+
getDefaultNativeRuntimeFileAssets(): ExtensionMethods_Microsoft_Extensions_DependencyModel<IEnumerable_1<Microsoft_Extensions_DependencyModel.RuntimeFile>>;
|
|
21
|
+
getRuntimeNativeAssets(runtimeIdentifier: string): ExtensionMethods_Microsoft_Extensions_DependencyModel<IEnumerable_1<System_Internal.String>>;
|
|
22
|
+
getRuntimeNativeRuntimeFileAssets(runtimeIdentifier: string): ExtensionMethods_Microsoft_Extensions_DependencyModel<IEnumerable_1<Microsoft_Extensions_DependencyModel.RuntimeFile>>;
|
|
23
|
+
getDefaultAssemblyNames(): ExtensionMethods_Microsoft_Extensions_DependencyModel<IEnumerable_1<AssemblyName>>;
|
|
24
|
+
getRuntimeAssemblyNames(runtimeIdentifier: string): ExtensionMethods_Microsoft_Extensions_DependencyModel<IEnumerable_1<AssemblyName>>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface __Ext_Microsoft_Extensions_DependencyModel_RuntimeLibrary {
|
|
28
|
+
getDefaultNativeAssets(context: Microsoft_Extensions_DependencyModel.DependencyContext): ExtensionMethods_Microsoft_Extensions_DependencyModel<IEnumerable_1<System_Internal.String>>;
|
|
29
|
+
getDefaultNativeRuntimeFileAssets(context: Microsoft_Extensions_DependencyModel.DependencyContext): ExtensionMethods_Microsoft_Extensions_DependencyModel<IEnumerable_1<Microsoft_Extensions_DependencyModel.RuntimeFile>>;
|
|
30
|
+
getRuntimeNativeAssets(context: Microsoft_Extensions_DependencyModel.DependencyContext, runtimeIdentifier: string): ExtensionMethods_Microsoft_Extensions_DependencyModel<IEnumerable_1<System_Internal.String>>;
|
|
31
|
+
getRuntimeNativeRuntimeFileAssets(context: Microsoft_Extensions_DependencyModel.DependencyContext, runtimeIdentifier: string): ExtensionMethods_Microsoft_Extensions_DependencyModel<IEnumerable_1<Microsoft_Extensions_DependencyModel.RuntimeFile>>;
|
|
32
|
+
getDefaultAssemblyNames(context: Microsoft_Extensions_DependencyModel.DependencyContext): ExtensionMethods_Microsoft_Extensions_DependencyModel<IEnumerable_1<AssemblyName>>;
|
|
33
|
+
getRuntimeAssemblyNames(context: Microsoft_Extensions_DependencyModel.DependencyContext, runtimeIdentifier: string): ExtensionMethods_Microsoft_Extensions_DependencyModel<IEnumerable_1<AssemblyName>>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Generic helper type for extension methods in namespace: Microsoft.Extensions.DependencyModel
|
|
37
|
+
export type ExtensionMethods_Microsoft_Extensions_DependencyModel<TShape> =
|
|
38
|
+
TShape extends null | undefined ? TShape
|
|
39
|
+
: TShape extends void ? void
|
|
40
|
+
: TShape & (
|
|
41
|
+
(TShape extends Microsoft_Extensions_DependencyModel.DependencyContext ? __Ext_Microsoft_Extensions_DependencyModel_DependencyContext : {}) &
|
|
42
|
+
(TShape extends Microsoft_Extensions_DependencyModel.RuntimeLibrary ? __Ext_Microsoft_Extensions_DependencyModel_RuntimeLibrary : {})
|
|
43
|
+
);
|
|
44
|
+
|
package/families.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|