mftsccs-browser 2.1.244-dev → 2.1.246-dev
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.
|
@@ -24,12 +24,13 @@ export declare class LocalTransaction {
|
|
|
24
24
|
* @param concept Concept
|
|
25
25
|
*/
|
|
26
26
|
protected markAction(): Promise<void>;
|
|
27
|
+
protected flushPendingConnectionDeletions(): Promise<void>;
|
|
27
28
|
/**
|
|
28
29
|
* Deletions
|
|
29
30
|
*/
|
|
30
31
|
/**
|
|
31
32
|
* Queries the backend for connections matching the given criteria and queues all
|
|
32
|
-
* returned connection IDs for bulk deletion when commitTransaction() is called.
|
|
33
|
+
* returned connection IDs for batched bulk deletion when commitTransaction() is called.
|
|
33
34
|
*
|
|
34
35
|
* **Nothing is deleted until commitTransaction() is called.**
|
|
35
36
|
* Calling rollbackTransaction() discards the queue without touching the backend.
|
|
@@ -70,7 +71,7 @@ export declare class LocalTransaction {
|
|
|
70
71
|
* });
|
|
71
72
|
*
|
|
72
73
|
* @see {@link DeleteConnectionsBetweenBulk} for sending multiple queries in one HTTP request
|
|
73
|
-
* @see {@link commitTransaction} where the queued deletions are executed
|
|
74
|
+
* @see {@link commitTransaction} where the queued deletions are executed in 300-id batches
|
|
74
75
|
*/
|
|
75
76
|
DeleteConnectionsBetween(query: Partial<FetchConnectionQuery>): Promise<number[]>;
|
|
76
77
|
/**
|
|
@@ -79,7 +80,7 @@ export declare class LocalTransaction {
|
|
|
79
80
|
*
|
|
80
81
|
* Prefer this over looping DeleteConnectionsBetween — all queries go to the backend
|
|
81
82
|
* in one round trip, and all returned IDs are merged into the same pending-deletion queue.
|
|
82
|
-
* The actual deletion
|
|
83
|
+
* The actual deletion fires in 300-id bulk batches inside commitTransaction().
|
|
83
84
|
*
|
|
84
85
|
* @param queries - Array of partial FetchConnectionQuery objects, one per query permutation.
|
|
85
86
|
* @returns All connection IDs queued for deletion across every query in this call.
|
|
@@ -94,7 +95,7 @@ export declare class LocalTransaction {
|
|
|
94
95
|
* await transaction.commitTransaction();
|
|
95
96
|
*
|
|
96
97
|
* @see {@link DeleteConnectionsBetween} for the single-query convenience wrapper
|
|
97
|
-
* @see {@link commitTransaction} where the queued deletions are executed
|
|
98
|
+
* @see {@link commitTransaction} where the queued deletions are executed in 300-id batches
|
|
98
99
|
*/
|
|
99
100
|
DeleteConnectionsBetweenBulk(queries: Partial<FetchConnectionQuery>[]): Promise<number[]>;
|
|
100
101
|
/**
|