@tsonic/efcore-sqlite 10.0.2 → 10.0.3

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.
@@ -27,12 +27,8 @@ export const SqliteLegacyUpdateSqlGenerator: {
27
27
 
28
28
  export type SqliteLegacyUpdateSqlGenerator = SqliteLegacyUpdateSqlGenerator$instance;
29
29
 
30
- export abstract class SqliteModificationCommand$protected {
31
- protected ProcessSinglePropertyJsonUpdate(parameters: ColumnModificationParameters): void;
32
- }
33
-
34
-
35
- export interface SqliteModificationCommand$instance extends SqliteModificationCommand$protected, ModificationCommand {
30
+ export interface SqliteModificationCommand$instance extends ModificationCommand {
31
+ ProcessSinglePropertyJsonUpdate(parameters: ColumnModificationParameters): void;
36
32
  }
37
33
 
38
34
 
@@ -44,12 +40,8 @@ export const SqliteModificationCommand: {
44
40
 
45
41
  export type SqliteModificationCommand = SqliteModificationCommand$instance;
46
42
 
47
- export abstract class SqliteModificationCommandBatchFactory$protected {
48
- protected readonly Dependencies: ModificationCommandBatchFactoryDependencies;
49
- }
50
-
51
-
52
- export interface SqliteModificationCommandBatchFactory$instance extends SqliteModificationCommandBatchFactory$protected {
43
+ export interface SqliteModificationCommandBatchFactory$instance {
44
+ readonly Dependencies: ModificationCommandBatchFactoryDependencies;
53
45
  Create(): ModificationCommandBatch;
54
46
  }
55
47
 
@@ -74,17 +66,13 @@ export const SqliteModificationCommandFactory: {
74
66
 
75
67
  export type SqliteModificationCommandFactory = SqliteModificationCommandFactory$instance;
76
68
 
77
- export abstract class SqliteUpdateSqlGenerator$protected {
78
- protected AppendIdentityWhereCondition(commandStringBuilder: StringBuilder, columnModification: IColumnModification): void;
79
- protected AppendRowsAffectedWhereCondition(commandStringBuilder: StringBuilder, expectedRowsAffected: int): void;
80
- protected AppendSelectAffectedCountCommand(commandStringBuilder: StringBuilder, name: string, schema: string, commandPosition: int): ResultSetMapping;
81
- protected AppendUpdateColumnValue(updateSqlGeneratorHelper: ISqlGenerationHelper, columnModification: IColumnModification, stringBuilder: StringBuilder, name: string, schema: string): void;
82
- }
83
-
84
-
85
- export interface SqliteUpdateSqlGenerator$instance extends SqliteUpdateSqlGenerator$protected, UpdateAndSelectSqlGenerator {
69
+ export interface SqliteUpdateSqlGenerator$instance extends UpdateAndSelectSqlGenerator {
86
70
  AppendDeleteOperation(commandStringBuilder: StringBuilder, command: IReadOnlyModificationCommand, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
71
+ AppendIdentityWhereCondition(commandStringBuilder: StringBuilder, columnModification: IColumnModification): void;
87
72
  AppendInsertOperation(commandStringBuilder: StringBuilder, command: IReadOnlyModificationCommand, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
73
+ AppendRowsAffectedWhereCondition(commandStringBuilder: StringBuilder, expectedRowsAffected: int): void;
74
+ AppendSelectAffectedCountCommand(commandStringBuilder: StringBuilder, name: string, schema: string, commandPosition: int): ResultSetMapping;
75
+ AppendUpdateColumnValue(updateSqlGeneratorHelper: ISqlGenerationHelper, columnModification: IColumnModification, stringBuilder: StringBuilder, name: string, schema: string): void;
88
76
  AppendUpdateOperation(commandStringBuilder: StringBuilder, command: IReadOnlyModificationCommand, commandPosition: int, requiresTransaction: boolean): ResultSetMapping;
89
77
  GenerateNextSequenceValueOperation(name: string, schema: string): string;
90
78
  }
@@ -94,12 +94,8 @@ export const DependencyContext: {
94
94
 
95
95
  export type DependencyContext = DependencyContext$instance;
96
96
 
97
- export abstract class DependencyContextJsonReader$protected {
98
- protected Dispose(disposing: boolean): void;
99
- }
100
-
101
-
102
- export interface DependencyContextJsonReader$instance extends DependencyContextJsonReader$protected {
97
+ export interface DependencyContextJsonReader$instance {
98
+ Dispose(disposing: boolean): void;
103
99
  Dispose(): void;
104
100
  Read(stream: Stream): DependencyContext;
105
101
  }
@@ -149,7 +145,7 @@ export interface Library$instance {
149
145
  readonly Hash: string | undefined;
150
146
  readonly HashPath: string | undefined;
151
147
  readonly Name: string;
152
- readonly Path: string;
148
+ readonly Path: string | undefined;
153
149
  readonly RuntimeStoreManifestName: string | undefined;
154
150
  readonly Serviceable: boolean;
155
151
  readonly Type: string;
@@ -197,7 +193,7 @@ export type RuntimeAssembly = RuntimeAssembly$instance;
197
193
 
198
194
  export interface RuntimeAssetGroup$instance {
199
195
  readonly AssetPaths: IReadOnlyList<System_Internal.String>;
200
- readonly Runtime: string;
196
+ readonly Runtime: string | undefined;
201
197
  readonly RuntimeFiles: IReadOnlyList<RuntimeFile>;
202
198
  }
203
199
 
@@ -260,7 +256,7 @@ export type RuntimeLibrary = RuntimeLibrary$instance;
260
256
  export interface TargetInfo$instance {
261
257
  readonly Framework: string;
262
258
  readonly IsPortable: boolean;
263
- readonly Runtime: string;
259
+ readonly Runtime: string | undefined;
264
260
  readonly RuntimeSignature: string | undefined;
265
261
  }
266
262
 
@@ -396,13 +396,9 @@ export const rollback_hook_info: {
396
396
 
397
397
  export type rollback_hook_info = rollback_hook_info$instance;
398
398
 
399
- export abstract class SafeGCHandle$protected {
400
- protected ReleaseHandle(): boolean;
401
- }
402
-
403
-
404
- export interface SafeGCHandle$instance extends SafeGCHandle$protected, SafeHandle {
399
+ export interface SafeGCHandle$instance extends SafeHandle {
405
400
  readonly IsInvalid: boolean;
401
+ ReleaseHandle(): boolean;
406
402
  }
407
403
 
408
404
 
@@ -413,59 +409,44 @@ export const SafeGCHandle: {
413
409
 
414
410
  export type SafeGCHandle = SafeGCHandle$instance;
415
411
 
416
- export abstract class sqlite3$protected {
417
- protected ReleaseHandle(): boolean;
418
- }
419
-
420
-
421
- export interface sqlite3$instance extends sqlite3$protected, SafeHandle {
412
+ export interface sqlite3$instance extends SafeHandle {
422
413
  readonly IsInvalid: boolean;
423
414
  enable_sqlite3_next_stmt(enabled: boolean): void;
424
415
  GetOrCreateExtra<T extends IDisposable>(f: Func<T>): T;
425
416
  manual_close(): int;
426
417
  manual_close_v2(): int;
418
+ ReleaseHandle(): boolean;
427
419
  }
428
420
 
429
421
 
430
422
  export const sqlite3: {
431
- new(): sqlite3;
432
423
  };
433
424
 
434
425
 
435
426
  export type sqlite3 = sqlite3$instance;
436
427
 
437
- export abstract class sqlite3_backup$protected {
438
- protected ReleaseHandle(): boolean;
439
- }
440
-
441
-
442
- export interface sqlite3_backup$instance extends sqlite3_backup$protected, SafeHandle {
428
+ export interface sqlite3_backup$instance extends SafeHandle {
443
429
  readonly IsInvalid: boolean;
444
430
  manual_close(): int;
431
+ ReleaseHandle(): boolean;
445
432
  }
446
433
 
447
434
 
448
435
  export const sqlite3_backup: {
449
- new(): sqlite3_backup;
450
436
  From(p: nint): sqlite3_backup;
451
437
  };
452
438
 
453
439
 
454
440
  export type sqlite3_backup = sqlite3_backup$instance;
455
441
 
456
- export abstract class sqlite3_blob$protected {
457
- protected ReleaseHandle(): boolean;
458
- }
459
-
460
-
461
- export interface sqlite3_blob$instance extends sqlite3_blob$protected, SafeHandle {
442
+ export interface sqlite3_blob$instance extends SafeHandle {
462
443
  readonly IsInvalid: boolean;
463
444
  manual_close(): int;
445
+ ReleaseHandle(): boolean;
464
446
  }
465
447
 
466
448
 
467
449
  export const sqlite3_blob: {
468
- new(): sqlite3_blob;
469
450
  };
470
451
 
471
452
 
@@ -476,44 +457,33 @@ export interface sqlite3_context$instance {
476
457
  }
477
458
 
478
459
 
479
- export const sqlite3_context: {
480
- new(user_data: unknown): sqlite3_context;
460
+ export const sqlite3_context: (abstract new(user_data: unknown) => sqlite3_context) & {
481
461
  };
482
462
 
483
463
 
484
464
  export type sqlite3_context = sqlite3_context$instance;
485
465
 
486
- export abstract class sqlite3_snapshot$protected {
487
- protected ReleaseHandle(): boolean;
488
- }
489
-
490
-
491
- export interface sqlite3_snapshot$instance extends sqlite3_snapshot$protected, SafeHandle {
466
+ export interface sqlite3_snapshot$instance extends SafeHandle {
492
467
  readonly IsInvalid: boolean;
493
468
  manual_close(): void;
469
+ ReleaseHandle(): boolean;
494
470
  }
495
471
 
496
472
 
497
473
  export const sqlite3_snapshot: {
498
- new(): sqlite3_snapshot;
499
474
  };
500
475
 
501
476
 
502
477
  export type sqlite3_snapshot = sqlite3_snapshot$instance;
503
478
 
504
- export abstract class sqlite3_stmt$protected {
505
- protected ReleaseHandle(): boolean;
506
- }
507
-
508
-
509
- export interface sqlite3_stmt$instance extends sqlite3_stmt$protected, SafeHandle {
479
+ export interface sqlite3_stmt$instance extends SafeHandle {
510
480
  readonly IsInvalid: boolean;
511
481
  manual_close(): int;
482
+ ReleaseHandle(): boolean;
512
483
  }
513
484
 
514
485
 
515
486
  export const sqlite3_stmt: {
516
- new(): sqlite3_stmt;
517
487
  };
518
488
 
519
489
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsonic/efcore-sqlite",
3
- "version": "10.0.2",
3
+ "version": "10.0.3",
4
4
  "description": "TypeScript type definitions for Microsoft.EntityFrameworkCore.Sqlite (+ dependencies) for .NET 10",
5
5
  "type": "module",
6
6
  "keywords": [