@tsonic/efcore-sqlite 10.0.3 → 10.0.7

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 (32) hide show
  1. package/Microsoft.Data.Sqlite/internal/index.d.ts +167 -109
  2. package/Microsoft.DotNet.PlatformAbstractions/internal/index.d.ts +6 -4
  3. package/Microsoft.EntityFrameworkCore/internal/index.d.ts +54 -54
  4. package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +9 -7
  5. package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +12 -8
  6. package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +2 -2
  7. package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +45 -13
  8. package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +12 -8
  9. package/Microsoft.EntityFrameworkCore.Migrations.d.ts +3 -0
  10. package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/internal/index.d.ts +21 -11
  11. package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/internal/index.d.ts +11 -5
  12. package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/internal/index.d.ts +23 -15
  13. package/Microsoft.EntityFrameworkCore.Sqlite.Internal/internal/index.d.ts +42 -42
  14. package/Microsoft.EntityFrameworkCore.Sqlite.Internal.d.ts +3 -0
  15. package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/internal/index.d.ts +12 -8
  16. package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/internal/index.d.ts +18 -8
  17. package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/internal/index.d.ts +182 -38
  18. package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/internal/index.d.ts +18 -10
  19. package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/internal/index.d.ts +73 -26
  20. package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/internal/index.d.ts +22 -12
  21. package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/internal/index.d.ts +26 -6
  22. package/Microsoft.EntityFrameworkCore.d.ts +3 -0
  23. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +5 -5
  24. package/Microsoft.Extensions.DependencyInjection.d.ts +3 -0
  25. package/Microsoft.Extensions.DependencyModel/internal/index.d.ts +91 -54
  26. package/Microsoft.Extensions.DependencyModel.Resolution/internal/index.d.ts +32 -20
  27. package/SQLitePCL/internal/index.d.ts +115 -43
  28. package/SQLitePCL.d.ts +3 -0
  29. package/System.Collections.Generic/internal/index.d.ts +9 -9
  30. package/System.Collections.Generic.d.ts +3 -0
  31. package/__internal/extensions/index.d.ts +342 -16
  32. package/package.json +5 -5
@@ -9,17 +9,17 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
9
9
  import type { ptr } from "@tsonic/core/types.js";
10
10
 
11
11
  // Import types from other namespaces
12
- import * as System_Internal from "@tsonic/dotnet/System.js";
13
- 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";
14
- import * as System_Runtime_InteropServices_Internal from "@tsonic/dotnet/System.Runtime.InteropServices.js";
15
- import type { GCHandleType, SafeHandle } from "@tsonic/dotnet/System.Runtime.InteropServices.js";
16
- import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization.js";
17
- import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization.js";
12
+ import * as System_Runtime_InteropServices_Internal from "@tsonic/dotnet/System.Runtime.InteropServices/internal/index.js";
13
+ import type { GCHandleType, SafeHandle } from "@tsonic/dotnet/System.Runtime.InteropServices/internal/index.js";
14
+ import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
15
+ import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
16
+ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
17
+ import type { AsyncCallback, Attribute, Boolean as ClrBoolean, Byte, Char, Double, Func_1, Func_4, IAsyncResult, ICloneable, IDisposable, Int32, Int64, IntPtr, MulticastDelegate, Object as ClrObject, ReadOnlySpan_1, Span_1, String as ClrString, Type, UInt32, ValueType, Void } from "@tsonic/dotnet/System/internal/index.js";
18
18
 
19
19
  export type delegate_authorizer = (user_data: unknown, action_code: int, param0: utf8z, param1: utf8z, dbName: utf8z, inner_most_trigger_or_view: utf8z) => int;
20
20
 
21
21
 
22
- export type delegate_collation = (user_data: unknown, s1: ReadOnlySpan<System_Internal.Byte>, s2: ReadOnlySpan<System_Internal.Byte>) => int;
22
+ export type delegate_collation = (user_data: unknown, s1: ReadOnlySpan_1<System_Internal.Byte>, s2: ReadOnlySpan_1<System_Internal.Byte>) => int;
23
23
 
24
24
 
25
25
  export type delegate_commit = (user_data: unknown) => int;
@@ -77,6 +77,8 @@ export type strdelegate_update = (user_data: unknown, type: int, database: strin
77
77
 
78
78
 
79
79
  export interface IGetFunctionPointer$instance {
80
+ readonly __tsonic_iface_SQLitePCL_IGetFunctionPointer: never;
81
+
80
82
  GetFunctionPointer(name: string): nint;
81
83
  }
82
84
 
@@ -84,12 +86,14 @@ export interface IGetFunctionPointer$instance {
84
86
  export type IGetFunctionPointer = IGetFunctionPointer$instance;
85
87
 
86
88
  export interface ISQLite3Provider$instance {
89
+ readonly __tsonic_iface_SQLitePCL_ISQLite3Provider: never;
90
+
87
91
  GetNativeLibraryName(): string;
88
92
  sqlite3__vfs__delete(vfs: utf8z, pathname: utf8z, syncDir: int): int;
89
93
  sqlite3_backup_init(destDb: sqlite3, destName: utf8z, sourceDb: sqlite3, sourceName: utf8z): sqlite3_backup;
90
94
  sqlite3_backup_remaining(backup: sqlite3_backup): int;
91
95
  sqlite3_backup_step(backup: sqlite3_backup, nPage: int): int;
92
- sqlite3_bind_blob(stmt: sqlite3_stmt, index: int, blob: ReadOnlySpan<System_Internal.Byte>): int;
96
+ sqlite3_bind_blob(stmt: sqlite3_stmt, index: int, blob: ReadOnlySpan_1<System_Internal.Byte>): int;
93
97
  sqlite3_bind_double(stmt: sqlite3_stmt, index: int, val: double): int;
94
98
  sqlite3_bind_int64(stmt: sqlite3_stmt, index: int, val: long): int;
95
99
  sqlite3_bind_null(stmt: sqlite3_stmt, index: int): int;
@@ -98,13 +102,13 @@ export interface ISQLite3Provider$instance {
98
102
  sqlite3_bind_text(stmt: sqlite3_stmt, index: int, text: utf8z): int;
99
103
  sqlite3_blob_bytes(blob: sqlite3_blob): int;
100
104
  sqlite3_blob_open(db: sqlite3, db_utf8: utf8z, table_utf8: utf8z, col_utf8: utf8z, rowid: long, flags: int, blob: sqlite3_blob): int;
101
- sqlite3_blob_read(blob: sqlite3_blob, b: Span<System_Internal.Byte>, offset: int): int;
105
+ sqlite3_blob_read(blob: sqlite3_blob, b: Span_1<System_Internal.Byte>, offset: int): int;
102
106
  sqlite3_blob_reopen(blob: sqlite3_blob, rowid: long): int;
103
- sqlite3_blob_write(blob: sqlite3_blob, b: ReadOnlySpan<System_Internal.Byte>, offset: int): int;
107
+ sqlite3_blob_write(blob: sqlite3_blob, b: ReadOnlySpan_1<System_Internal.Byte>, offset: int): int;
104
108
  sqlite3_busy_timeout(db: sqlite3, ms: int): int;
105
109
  sqlite3_changes(db: sqlite3): int;
106
110
  sqlite3_close_v2(db: nint): int;
107
- sqlite3_column_blob(stmt: sqlite3_stmt, index: int): ReadOnlySpan<System_Internal.Byte>;
111
+ sqlite3_column_blob(stmt: sqlite3_stmt, index: int): ReadOnlySpan_1<System_Internal.Byte>;
108
112
  sqlite3_column_double(stmt: sqlite3_stmt, index: int): double;
109
113
  sqlite3_column_int64(stmt: sqlite3_stmt, index: int): long;
110
114
  sqlite3_commit_hook(db: sqlite3, func: delegate_commit, v: unknown): void;
@@ -127,8 +131,8 @@ export interface ISQLite3Provider$instance {
127
131
  sqlite3_errstr(rc: int): utf8z;
128
132
  sqlite3_exec(db: sqlite3, sql: utf8z, callback: delegate_exec, user_data: unknown, errMsg: nint): int;
129
133
  sqlite3_interrupt(db: sqlite3): void;
130
- sqlite3_key(db: sqlite3, key: ReadOnlySpan<System_Internal.Byte>): int;
131
- sqlite3_key_v2(db: sqlite3, dbname: utf8z, key: ReadOnlySpan<System_Internal.Byte>): int;
134
+ sqlite3_key(db: sqlite3, key: ReadOnlySpan_1<System_Internal.Byte>): int;
135
+ sqlite3_key_v2(db: sqlite3, dbname: utf8z, key: ReadOnlySpan_1<System_Internal.Byte>): int;
132
136
  sqlite3_keyword_name(i: int, name: string): int;
133
137
  sqlite3_last_insert_rowid(db: sqlite3): long;
134
138
  sqlite3_libversion(): utf8z;
@@ -143,12 +147,12 @@ export interface ISQLite3Provider$instance {
143
147
  sqlite3_open(filename: utf8z, db: nint): int;
144
148
  sqlite3_open_v2(filename: utf8z, db: nint, flags: int, vfs: utf8z): int;
145
149
  sqlite3_prepare_v2(db: sqlite3, sql: utf8z, stmt: nint, remain: utf8z): int;
146
- sqlite3_prepare_v2(db: sqlite3, sql: ReadOnlySpan<System_Internal.Byte>, stmt: nint, remain: ReadOnlySpan<System_Internal.Byte>): int;
150
+ sqlite3_prepare_v2(db: sqlite3, sql: ReadOnlySpan_1<System_Internal.Byte>, stmt: nint, remain: ReadOnlySpan_1<System_Internal.Byte>): int;
147
151
  sqlite3_prepare_v3(db: sqlite3, sql: utf8z, flags: uint, stmt: nint, remain: utf8z): int;
148
- sqlite3_prepare_v3(db: sqlite3, sql: ReadOnlySpan<System_Internal.Byte>, flags: uint, stmt: nint, remain: ReadOnlySpan<System_Internal.Byte>): int;
152
+ sqlite3_prepare_v3(db: sqlite3, sql: ReadOnlySpan_1<System_Internal.Byte>, flags: uint, stmt: nint, remain: ReadOnlySpan_1<System_Internal.Byte>): int;
149
153
  sqlite3_profile(db: sqlite3, func: delegate_profile, v: unknown): void;
150
154
  sqlite3_progress_handler(db: sqlite3, instructions: int, func: delegate_progress, v: unknown): void;
151
- sqlite3_result_blob(context: nint, val: ReadOnlySpan<System_Internal.Byte>): void;
155
+ sqlite3_result_blob(context: nint, val: ReadOnlySpan_1<System_Internal.Byte>): void;
152
156
  sqlite3_result_double(context: nint, val: double): void;
153
157
  sqlite3_result_error(context: nint, strErr: utf8z): void;
154
158
  sqlite3_result_int(context: nint, val: int): void;
@@ -171,7 +175,7 @@ export interface ISQLite3Provider$instance {
171
175
  sqlite3_threadsafe(): int;
172
176
  sqlite3_trace(db: sqlite3, func: delegate_trace, v: unknown): void;
173
177
  sqlite3_update_hook(db: sqlite3, func: delegate_update, v: unknown): void;
174
- sqlite3_value_blob(p: nint): ReadOnlySpan<System_Internal.Byte>;
178
+ sqlite3_value_blob(p: nint): ReadOnlySpan_1<System_Internal.Byte>;
175
179
  sqlite3_value_double(p: nint): double;
176
180
  sqlite3_value_int64(p: nint): long;
177
181
  sqlite3_value_text(p: nint): utf8z;
@@ -183,6 +187,8 @@ export interface ISQLite3Provider$instance {
183
187
  export type ISQLite3Provider = ISQLite3Provider$instance;
184
188
 
185
189
  export interface utf8z$instance {
190
+ readonly __tsonic_type_SQLitePCL_utf8z: never;
191
+
186
192
  GetPinnableReference(): byte;
187
193
  utf8_to_string(): string;
188
194
  }
@@ -193,7 +199,7 @@ export const utf8z: {
193
199
  FromIntPtr(p: nint): utf8z;
194
200
  FromPtr(p: ptr<byte>): utf8z;
195
201
  FromPtrLen(p: ptr<byte>, len: int): utf8z;
196
- FromSpan(span: ReadOnlySpan<System_Internal.Byte>): utf8z;
202
+ FromSpan(span: ReadOnlySpan_1<System_Internal.Byte>): utf8z;
197
203
  FromString(s: string): utf8z;
198
204
  GetZeroTerminatedUTF8Bytes(value: string): byte[];
199
205
  };
@@ -202,6 +208,8 @@ export const utf8z: {
202
208
  export type utf8z = utf8z$instance;
203
209
 
204
210
  export interface authorizer_hook_info$instance {
211
+ readonly __tsonic_type_SQLitePCL_authorizer_hook_info: never;
212
+
205
213
  call(action_code: int, param0: utf8z, param1: utf8z, dbName: utf8z, inner_most_trigger_or_view: utf8z): int;
206
214
  }
207
215
 
@@ -215,7 +223,9 @@ export const authorizer_hook_info: {
215
223
  export type authorizer_hook_info = authorizer_hook_info$instance;
216
224
 
217
225
  export interface collation_hook_info$instance {
218
- call(s1: ReadOnlySpan<System_Internal.Byte>, s2: ReadOnlySpan<System_Internal.Byte>): int;
226
+ readonly __tsonic_type_SQLitePCL_collation_hook_info: never;
227
+
228
+ call(s1: ReadOnlySpan_1<System_Internal.Byte>, s2: ReadOnlySpan_1<System_Internal.Byte>): int;
219
229
  }
220
230
 
221
231
 
@@ -228,6 +238,8 @@ export const collation_hook_info: {
228
238
  export type collation_hook_info = collation_hook_info$instance;
229
239
 
230
240
  export interface commit_hook_info$instance {
241
+ readonly __tsonic_type_SQLitePCL_commit_hook_info: never;
242
+
231
243
  _func: delegate_commit;
232
244
  _user_data: unknown;
233
245
  call(): int;
@@ -243,6 +255,8 @@ export const commit_hook_info: {
243
255
  export type commit_hook_info = commit_hook_info$instance;
244
256
 
245
257
  export interface EntryPointAttribute$instance extends Attribute {
258
+ readonly __tsonic_type_SQLitePCL_EntryPointAttribute: never;
259
+
246
260
  Name: string;
247
261
  }
248
262
 
@@ -255,6 +269,8 @@ export const EntryPointAttribute: {
255
269
  export type EntryPointAttribute = EntryPointAttribute$instance;
256
270
 
257
271
  export interface exec_hook_info$instance {
272
+ readonly __tsonic_type_SQLitePCL_exec_hook_info: never;
273
+
258
274
  call(n: int, values_ptr: nint, names_ptr: nint): int;
259
275
  }
260
276
 
@@ -268,6 +284,8 @@ export const exec_hook_info: {
268
284
  export type exec_hook_info = exec_hook_info$instance;
269
285
 
270
286
  export interface function_hook_info$instance {
287
+ readonly __tsonic_type_SQLitePCL_function_hook_info: never;
288
+
271
289
  call_final(context: nint, agg_context: nint): void;
272
290
  call_scalar(context: nint, num_args: int, argsptr: nint): void;
273
291
  call_step(context: nint, agg_context: nint, num_args: int, argsptr: nint): void;
@@ -284,6 +302,10 @@ export const function_hook_info: {
284
302
  export type function_hook_info = function_hook_info$instance;
285
303
 
286
304
  export interface hook_handle$instance extends SafeGCHandle {
305
+ readonly __tsonic_type_SQLitePCL_hook_handle: never;
306
+
307
+ readonly __tsonic_iface_System_IDisposable: never;
308
+
287
309
  ForDispose(): IDisposable;
288
310
  }
289
311
 
@@ -296,6 +318,10 @@ export const hook_handle: {
296
318
  export type hook_handle = hook_handle$instance;
297
319
 
298
320
  export interface hook_handles$instance {
321
+ readonly __tsonic_type_SQLitePCL_hook_handles: never;
322
+
323
+ readonly __tsonic_iface_System_IDisposable: never;
324
+
299
325
  update: IDisposable;
300
326
  rollback: IDisposable;
301
327
  commit: IDisposable;
@@ -314,13 +340,15 @@ export interface hook_handles$instance {
314
340
 
315
341
 
316
342
  export const hook_handles: {
317
- new(f: Func<System_Internal.IntPtr, System_Internal.IntPtr, System_Internal.Int32, System_Internal.Boolean>): hook_handles;
343
+ new(f: Func_4<System_Internal.IntPtr, System_Internal.IntPtr, System_Internal.Int32, System_Internal.Boolean>): hook_handles;
318
344
  };
319
345
 
320
346
 
321
347
  export type hook_handles = hook_handles$instance;
322
348
 
323
349
  export interface log_hook_info$instance {
350
+ readonly __tsonic_type_SQLitePCL_log_hook_info: never;
351
+
324
352
  call(rc: int, msg: utf8z): void;
325
353
  }
326
354
 
@@ -334,6 +362,8 @@ export const log_hook_info: {
334
362
  export type log_hook_info = log_hook_info$instance;
335
363
 
336
364
  export interface MonoPInvokeCallbackAttribute$instance extends Attribute {
365
+ readonly __tsonic_type_SQLitePCL_MonoPInvokeCallbackAttribute: never;
366
+
337
367
  }
338
368
 
339
369
 
@@ -345,6 +375,8 @@ export const MonoPInvokeCallbackAttribute: {
345
375
  export type MonoPInvokeCallbackAttribute = MonoPInvokeCallbackAttribute$instance;
346
376
 
347
377
  export interface PreserveAttribute$instance extends Attribute {
378
+ readonly __tsonic_type_SQLitePCL_PreserveAttribute: never;
379
+
348
380
  AllMembers: boolean;
349
381
  Conditional: boolean;
350
382
  }
@@ -358,6 +390,8 @@ export const PreserveAttribute: {
358
390
  export type PreserveAttribute = PreserveAttribute$instance;
359
391
 
360
392
  export interface profile_hook_info$instance {
393
+ readonly __tsonic_type_SQLitePCL_profile_hook_info: never;
394
+
361
395
  call(s: utf8z, elapsed: long): void;
362
396
  }
363
397
 
@@ -371,6 +405,8 @@ export const profile_hook_info: {
371
405
  export type profile_hook_info = profile_hook_info$instance;
372
406
 
373
407
  export interface progress_hook_info$instance {
408
+ readonly __tsonic_type_SQLitePCL_progress_hook_info: never;
409
+
374
410
  call(): int;
375
411
  }
376
412
 
@@ -384,6 +420,8 @@ export const progress_hook_info: {
384
420
  export type progress_hook_info = progress_hook_info$instance;
385
421
 
386
422
  export interface rollback_hook_info$instance {
423
+ readonly __tsonic_type_SQLitePCL_rollback_hook_info: never;
424
+
387
425
  call(): void;
388
426
  }
389
427
 
@@ -397,6 +435,10 @@ export const rollback_hook_info: {
397
435
  export type rollback_hook_info = rollback_hook_info$instance;
398
436
 
399
437
  export interface SafeGCHandle$instance extends SafeHandle {
438
+ readonly __tsonic_type_SQLitePCL_SafeGCHandle: never;
439
+
440
+ readonly __tsonic_iface_System_IDisposable: never;
441
+
400
442
  readonly IsInvalid: boolean;
401
443
  ReleaseHandle(): boolean;
402
444
  }
@@ -410,9 +452,13 @@ export const SafeGCHandle: {
410
452
  export type SafeGCHandle = SafeGCHandle$instance;
411
453
 
412
454
  export interface sqlite3$instance extends SafeHandle {
455
+ readonly __tsonic_type_SQLitePCL_sqlite3: never;
456
+
457
+ readonly __tsonic_iface_System_IDisposable: never;
458
+
413
459
  readonly IsInvalid: boolean;
414
460
  enable_sqlite3_next_stmt(enabled: boolean): void;
415
- GetOrCreateExtra<T extends IDisposable>(f: Func<T>): T;
461
+ GetOrCreateExtra<T extends IDisposable>(f: Func_1<T>): T;
416
462
  manual_close(): int;
417
463
  manual_close_v2(): int;
418
464
  ReleaseHandle(): boolean;
@@ -426,6 +472,10 @@ export const sqlite3: {
426
472
  export type sqlite3 = sqlite3$instance;
427
473
 
428
474
  export interface sqlite3_backup$instance extends SafeHandle {
475
+ readonly __tsonic_type_SQLitePCL_sqlite3_backup: never;
476
+
477
+ readonly __tsonic_iface_System_IDisposable: never;
478
+
429
479
  readonly IsInvalid: boolean;
430
480
  manual_close(): int;
431
481
  ReleaseHandle(): boolean;
@@ -440,6 +490,10 @@ export const sqlite3_backup: {
440
490
  export type sqlite3_backup = sqlite3_backup$instance;
441
491
 
442
492
  export interface sqlite3_blob$instance extends SafeHandle {
493
+ readonly __tsonic_type_SQLitePCL_sqlite3_blob: never;
494
+
495
+ readonly __tsonic_iface_System_IDisposable: never;
496
+
443
497
  readonly IsInvalid: boolean;
444
498
  manual_close(): int;
445
499
  ReleaseHandle(): boolean;
@@ -453,6 +507,8 @@ export const sqlite3_blob: {
453
507
  export type sqlite3_blob = sqlite3_blob$instance;
454
508
 
455
509
  export interface sqlite3_context$instance {
510
+ readonly __tsonic_type_SQLitePCL_sqlite3_context: never;
511
+
456
512
  state: unknown;
457
513
  }
458
514
 
@@ -464,6 +520,10 @@ export const sqlite3_context: (abstract new(user_data: unknown) => sqlite3_conte
464
520
  export type sqlite3_context = sqlite3_context$instance;
465
521
 
466
522
  export interface sqlite3_snapshot$instance extends SafeHandle {
523
+ readonly __tsonic_type_SQLitePCL_sqlite3_snapshot: never;
524
+
525
+ readonly __tsonic_iface_System_IDisposable: never;
526
+
467
527
  readonly IsInvalid: boolean;
468
528
  manual_close(): void;
469
529
  ReleaseHandle(): boolean;
@@ -477,6 +537,10 @@ export const sqlite3_snapshot: {
477
537
  export type sqlite3_snapshot = sqlite3_snapshot$instance;
478
538
 
479
539
  export interface sqlite3_stmt$instance extends SafeHandle {
540
+ readonly __tsonic_type_SQLitePCL_sqlite3_stmt: never;
541
+
542
+ readonly __tsonic_iface_System_IDisposable: never;
543
+
480
544
  readonly IsInvalid: boolean;
481
545
  manual_close(): int;
482
546
  ReleaseHandle(): boolean;
@@ -490,6 +554,8 @@ export const sqlite3_stmt: {
490
554
  export type sqlite3_stmt = sqlite3_stmt$instance;
491
555
 
492
556
  export interface sqlite3_value$instance {
557
+ readonly __tsonic_type_SQLitePCL_sqlite3_value: never;
558
+
493
559
  }
494
560
 
495
561
 
@@ -500,7 +566,11 @@ export const sqlite3_value: {
500
566
 
501
567
  export type sqlite3_value = sqlite3_value$instance;
502
568
 
503
- export interface SQLite3Provider_e_sqlite3$instance {
569
+ export interface SQLite3Provider_e_sqlite3$instance extends ISQLite3Provider$instance {
570
+ readonly __tsonic_type_SQLitePCL_SQLite3Provider_e_sqlite3: never;
571
+
572
+ readonly __tsonic_iface_SQLitePCL_ISQLite3Provider: never;
573
+
504
574
  }
505
575
 
506
576
 
@@ -513,12 +583,12 @@ export interface __SQLite3Provider_e_sqlite3$views {
513
583
  As_ISQLite3Provider(): ISQLite3Provider$instance;
514
584
  }
515
585
 
516
- export interface SQLite3Provider_e_sqlite3$instance extends ISQLite3Provider$instance {}
517
-
518
586
  export type SQLite3Provider_e_sqlite3 = SQLite3Provider_e_sqlite3$instance & __SQLite3Provider_e_sqlite3$views;
519
587
 
520
588
 
521
589
  export interface trace_hook_info$instance {
590
+ readonly __tsonic_type_SQLitePCL_trace_hook_info: never;
591
+
522
592
  call(s: utf8z): void;
523
593
  }
524
594
 
@@ -532,6 +602,8 @@ export const trace_hook_info: {
532
602
  export type trace_hook_info = trace_hook_info$instance;
533
603
 
534
604
  export interface update_hook_info$instance {
605
+ readonly __tsonic_type_SQLitePCL_update_hook_info: never;
606
+
535
607
  call(typ: int, db: utf8z, tbl: utf8z, rowid: long): void;
536
608
  }
537
609
 
@@ -813,7 +885,7 @@ export abstract class raw$instance {
813
885
  static sqlite3_backup_pagecount(backup: sqlite3_backup): int;
814
886
  static sqlite3_backup_remaining(backup: sqlite3_backup): int;
815
887
  static sqlite3_backup_step(backup: sqlite3_backup, nPage: int): int;
816
- static sqlite3_bind_blob(stmt: sqlite3_stmt, index: int, blob: ReadOnlySpan<System_Internal.Byte>): int;
888
+ static sqlite3_bind_blob(stmt: sqlite3_stmt, index: int, blob: ReadOnlySpan_1<System_Internal.Byte>): int;
817
889
  static sqlite3_bind_double(stmt: sqlite3_stmt, index: int, val: double): int;
818
890
  static sqlite3_bind_int(stmt: sqlite3_stmt, index: int, val: int): int;
819
891
  static sqlite3_bind_int64(stmt: sqlite3_stmt, index: int, val: long): int;
@@ -823,23 +895,23 @@ export abstract class raw$instance {
823
895
  static sqlite3_bind_parameter_index(stmt: sqlite3_stmt, strName: string): int;
824
896
  static sqlite3_bind_parameter_name(stmt: sqlite3_stmt, index: int): utf8z;
825
897
  static sqlite3_bind_text(stmt: sqlite3_stmt, index: int, val: utf8z): int;
826
- static sqlite3_bind_text(stmt: sqlite3_stmt, index: int, val: ReadOnlySpan<System_Internal.Byte>): int;
898
+ static sqlite3_bind_text(stmt: sqlite3_stmt, index: int, val: ReadOnlySpan_1<System_Internal.Byte>): int;
827
899
  static sqlite3_bind_text(stmt: sqlite3_stmt, index: int, val: string): int;
828
- static sqlite3_bind_text16(stmt: sqlite3_stmt, index: int, val: ReadOnlySpan<System_Internal.Char>): int;
900
+ static sqlite3_bind_text16(stmt: sqlite3_stmt, index: int, val: ReadOnlySpan_1<System_Internal.Char>): int;
829
901
  static sqlite3_bind_zeroblob(stmt: sqlite3_stmt, index: int, size: int): int;
830
902
  static sqlite3_blob_bytes(blob: sqlite3_blob): int;
831
903
  static sqlite3_blob_close(blob: sqlite3_blob): int;
832
904
  static sqlite3_blob_open(db: sqlite3, db_utf8: utf8z, table_utf8: utf8z, col_utf8: utf8z, rowid: long, flags: int, blob: sqlite3_blob): int;
833
905
  static sqlite3_blob_open(db: sqlite3, sdb: string, table: string, col: string, rowid: long, flags: int, blob: sqlite3_blob): int;
834
- static sqlite3_blob_read(blob: sqlite3_blob, b: Span<System_Internal.Byte>, offset: int): int;
906
+ static sqlite3_blob_read(blob: sqlite3_blob, b: Span_1<System_Internal.Byte>, offset: int): int;
835
907
  static sqlite3_blob_reopen(blob: sqlite3_blob, rowid: long): int;
836
- static sqlite3_blob_write(blob: sqlite3_blob, b: ReadOnlySpan<System_Internal.Byte>, offset: int): int;
908
+ static sqlite3_blob_write(blob: sqlite3_blob, b: ReadOnlySpan_1<System_Internal.Byte>, offset: int): int;
837
909
  static sqlite3_busy_timeout(db: sqlite3, ms: int): int;
838
910
  static sqlite3_changes(db: sqlite3): int;
839
911
  static sqlite3_clear_bindings(stmt: sqlite3_stmt): int;
840
912
  static sqlite3_close(db: sqlite3): int;
841
913
  static sqlite3_close_v2(db: sqlite3): int;
842
- static sqlite3_column_blob(stmt: sqlite3_stmt, index: int): ReadOnlySpan<System_Internal.Byte>;
914
+ static sqlite3_column_blob(stmt: sqlite3_stmt, index: int): ReadOnlySpan_1<System_Internal.Byte>;
843
915
  static sqlite3_column_bytes(stmt: sqlite3_stmt, index: int): int;
844
916
  static sqlite3_column_count(stmt: sqlite3_stmt): int;
845
917
  static sqlite3_column_database_name(stmt: sqlite3_stmt, index: int): utf8z;
@@ -894,8 +966,8 @@ export abstract class raw$instance {
894
966
  static sqlite3_hard_heap_limit64(n: long): long;
895
967
  static sqlite3_initialize(): int;
896
968
  static sqlite3_interrupt(db: sqlite3): void;
897
- static sqlite3_key(db: sqlite3, k: ReadOnlySpan<System_Internal.Byte>): int;
898
- static sqlite3_key_v2(db: sqlite3, name: utf8z, k: ReadOnlySpan<System_Internal.Byte>): int;
969
+ static sqlite3_key(db: sqlite3, k: ReadOnlySpan_1<System_Internal.Byte>): int;
970
+ static sqlite3_key_v2(db: sqlite3, name: utf8z, k: ReadOnlySpan_1<System_Internal.Byte>): int;
899
971
  static sqlite3_keyword_count(): int;
900
972
  static sqlite3_keyword_name(i: int, name: string): int;
901
973
  static sqlite3_last_insert_rowid(db: sqlite3): long;
@@ -916,26 +988,26 @@ export abstract class raw$instance {
916
988
  static sqlite3_open_v2(filename: string, db: sqlite3, flags: int, vfs: string): int;
917
989
  static sqlite3_prepare_v2(db: sqlite3, sql: utf8z, stmt: sqlite3_stmt, tail: utf8z): int;
918
990
  static sqlite3_prepare_v2(db: sqlite3, sql: utf8z, stmt: sqlite3_stmt): int;
919
- static sqlite3_prepare_v2(db: sqlite3, sql: ReadOnlySpan<System_Internal.Byte>, stmt: sqlite3_stmt, tail: ReadOnlySpan<System_Internal.Byte>): int;
920
- static sqlite3_prepare_v2(db: sqlite3, sql: ReadOnlySpan<System_Internal.Byte>, stmt: sqlite3_stmt): int;
991
+ static sqlite3_prepare_v2(db: sqlite3, sql: ReadOnlySpan_1<System_Internal.Byte>, stmt: sqlite3_stmt, tail: ReadOnlySpan_1<System_Internal.Byte>): int;
992
+ static sqlite3_prepare_v2(db: sqlite3, sql: ReadOnlySpan_1<System_Internal.Byte>, stmt: sqlite3_stmt): int;
921
993
  static sqlite3_prepare_v2(db: sqlite3, sql: string, stmt: sqlite3_stmt, tail: string): int;
922
994
  static sqlite3_prepare_v2(db: sqlite3, sql: string, stmt: sqlite3_stmt): int;
923
995
  static sqlite3_prepare_v3(db: sqlite3, sql: utf8z, flags: uint, stmt: sqlite3_stmt, tail: utf8z): int;
924
996
  static sqlite3_prepare_v3(db: sqlite3, sql: utf8z, flags: uint, stmt: sqlite3_stmt): int;
925
- static sqlite3_prepare_v3(db: sqlite3, sql: ReadOnlySpan<System_Internal.Byte>, flags: uint, stmt: sqlite3_stmt, tail: ReadOnlySpan<System_Internal.Byte>): int;
926
- static sqlite3_prepare_v3(db: sqlite3, sql: ReadOnlySpan<System_Internal.Byte>, flags: uint, stmt: sqlite3_stmt): int;
997
+ static sqlite3_prepare_v3(db: sqlite3, sql: ReadOnlySpan_1<System_Internal.Byte>, flags: uint, stmt: sqlite3_stmt, tail: ReadOnlySpan_1<System_Internal.Byte>): int;
998
+ static sqlite3_prepare_v3(db: sqlite3, sql: ReadOnlySpan_1<System_Internal.Byte>, flags: uint, stmt: sqlite3_stmt): int;
927
999
  static sqlite3_prepare_v3(db: sqlite3, sql: string, flags: uint, stmt: sqlite3_stmt, tail: string): int;
928
1000
  static sqlite3_prepare_v3(db: sqlite3, sql: string, flags: uint, stmt: sqlite3_stmt): int;
929
1001
  static sqlite3_profile(db: sqlite3, f: delegate_profile, v: unknown): void;
930
1002
  static sqlite3_profile(db: sqlite3, f: strdelegate_profile, v: unknown): void;
931
1003
  static sqlite3_progress_handler(db: sqlite3, instructions: int, func: delegate_progress, v: unknown): void;
932
- static sqlite3_rekey(db: sqlite3, k: ReadOnlySpan<System_Internal.Byte>): int;
933
- static sqlite3_rekey_v2(db: sqlite3, name: utf8z, k: ReadOnlySpan<System_Internal.Byte>): int;
1004
+ static sqlite3_rekey(db: sqlite3, k: ReadOnlySpan_1<System_Internal.Byte>): int;
1005
+ static sqlite3_rekey_v2(db: sqlite3, name: utf8z, k: ReadOnlySpan_1<System_Internal.Byte>): int;
934
1006
  static sqlite3_reset(stmt: sqlite3_stmt): int;
935
- static sqlite3_result_blob(context: sqlite3_context, val: ReadOnlySpan<System_Internal.Byte>): void;
1007
+ static sqlite3_result_blob(context: sqlite3_context, val: ReadOnlySpan_1<System_Internal.Byte>): void;
936
1008
  static sqlite3_result_double(context: sqlite3_context, val: double): void;
937
1009
  static sqlite3_result_error(context: sqlite3_context, val: utf8z): void;
938
- static sqlite3_result_error(context: sqlite3_context, val: ReadOnlySpan<System_Internal.Byte>): void;
1010
+ static sqlite3_result_error(context: sqlite3_context, val: ReadOnlySpan_1<System_Internal.Byte>): void;
939
1011
  static sqlite3_result_error(context: sqlite3_context, val: string): void;
940
1012
  static sqlite3_result_error_code(context: sqlite3_context, code: int): void;
941
1013
  static sqlite3_result_error_nomem(context: sqlite3_context): void;
@@ -944,7 +1016,7 @@ export abstract class raw$instance {
944
1016
  static sqlite3_result_int64(context: sqlite3_context, val: long): void;
945
1017
  static sqlite3_result_null(context: sqlite3_context): void;
946
1018
  static sqlite3_result_text(context: sqlite3_context, val: utf8z): void;
947
- static sqlite3_result_text(context: sqlite3_context, val: ReadOnlySpan<System_Internal.Byte>): void;
1019
+ static sqlite3_result_text(context: sqlite3_context, val: ReadOnlySpan_1<System_Internal.Byte>): void;
948
1020
  static sqlite3_result_text(context: sqlite3_context, val: string): void;
949
1021
  static sqlite3_result_zeroblob(context: sqlite3_context, n: int): void;
950
1022
  static sqlite3_rollback_hook(db: sqlite3, f: delegate_rollback, v: unknown): void;
@@ -975,7 +1047,7 @@ export abstract class raw$instance {
975
1047
  static sqlite3_update_hook(db: sqlite3, f: delegate_update, v: unknown): void;
976
1048
  static sqlite3_update_hook(db: sqlite3, f: strdelegate_update, v: unknown): void;
977
1049
  static sqlite3_user_data(context: sqlite3_context): unknown;
978
- static sqlite3_value_blob(val: sqlite3_value): ReadOnlySpan<System_Internal.Byte>;
1050
+ static sqlite3_value_blob(val: sqlite3_value): ReadOnlySpan_1<System_Internal.Byte>;
979
1051
  static sqlite3_value_bytes(val: sqlite3_value): int;
980
1052
  static sqlite3_value_double(val: sqlite3_value): double;
981
1053
  static sqlite3_value_int(val: sqlite3_value): int;
@@ -986,7 +1058,7 @@ export abstract class raw$instance {
986
1058
  static sqlite3_wal_checkpoint(db: sqlite3, dbName: string): int;
987
1059
  static sqlite3_wal_checkpoint_v2(db: sqlite3, dbName: string, eMode: int, logSize: int, framesCheckPointed: int): int;
988
1060
  static sqlite3_win32_set_directory(typ: int, path: string): int;
989
- static utf8_span_to_string(p: ReadOnlySpan<System_Internal.Byte>): string;
1061
+ static utf8_span_to_string(p: ReadOnlySpan_1<System_Internal.Byte>): string;
990
1062
  }
991
1063
 
992
1064
 
package/SQLitePCL.d.ts CHANGED
@@ -62,3 +62,6 @@ export { authorizer_hook_info as authorizer_hook_info } from './SQLitePCL/intern
62
62
  export { EntryPointAttribute as EntryPointAttribute } from './SQLitePCL/internal/index.js';
63
63
  export type IGetFunctionPointer = Internal.IGetFunctionPointer;
64
64
  export { SQLite3Provider_e_sqlite3 as SQLite3Provider_e_sqlite3 } from './SQLitePCL/internal/index.js';
65
+ // Extension methods (C# using semantics)
66
+ export type { ExtensionMethods_SQLitePCL as ExtensionMethods } from './__internal/extensions/index.js';
67
+
@@ -7,17 +7,17 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
7
7
 
8
8
  // Import types from other namespaces
9
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";
10
+ import type { IEnumerable_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
11
+ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
12
+ import type { Object as ClrObject, String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
13
13
 
14
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;
15
+ static GetDefaultAssets(self: IEnumerable_1<RuntimeAssetGroup>): IEnumerable_1<System_Internal.String>;
16
+ static GetDefaultGroup(self: IEnumerable_1<RuntimeAssetGroup>): RuntimeAssetGroup | undefined;
17
+ static GetDefaultRuntimeFileAssets(self: IEnumerable_1<RuntimeAssetGroup>): IEnumerable_1<RuntimeFile>;
18
+ static GetRuntimeAssets(self: IEnumerable_1<RuntimeAssetGroup>, runtime: string): IEnumerable_1<System_Internal.String>;
19
+ static GetRuntimeFileAssets(self: IEnumerable_1<RuntimeAssetGroup>, runtime: string): IEnumerable_1<RuntimeFile>;
20
+ static GetRuntimeGroup(self: IEnumerable_1<RuntimeAssetGroup>, runtime: string): RuntimeAssetGroup | undefined;
21
21
  }
22
22
 
23
23
 
@@ -12,3 +12,6 @@ import type { Object as ClrObject, String as ClrString } from '@tsonic/dotnet/Sy
12
12
 
13
13
  // Public API exports (curated - no internal $instance/$views leakage)
14
14
  export { CollectionExtensions$instance as CollectionExtensions } from './System.Collections.Generic/internal/index.js';
15
+ // Extension methods (C# using semantics)
16
+ export type { ExtensionMethods_System_Collections_Generic as ExtensionMethods } from './__internal/extensions/index.js';
17
+