@rdlabo/ionic-angular-kit 21.5.28 → 21.5.29
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/package.json
CHANGED
|
@@ -1170,6 +1170,17 @@ declare class OfflineSyncService {
|
|
|
1170
1170
|
enqueuePrepared<T>(prepare: (repository: OfflineRepository) => Promise<PreparedOfflineCommand<T>>, options?: {
|
|
1171
1171
|
flush?: boolean;
|
|
1172
1172
|
}): Promise<string>;
|
|
1173
|
+
/**
|
|
1174
|
+
* Prepares and commits multiple Outbox commands as one serialized replica
|
|
1175
|
+
* transaction under a single captured session generation.
|
|
1176
|
+
*
|
|
1177
|
+
* All entries are prepared and validated before any write. Empty batches,
|
|
1178
|
+
* overlapping aggregate intents, and overlapping replica footprints are
|
|
1179
|
+
* rejected with no durable state change.
|
|
1180
|
+
*/
|
|
1181
|
+
enqueuePreparedBatch<T>(prepare: (repository: OfflineRepository) => Promise<readonly PreparedOfflineCommand<T>[]>, options?: {
|
|
1182
|
+
flush?: boolean;
|
|
1183
|
+
}): Promise<readonly string[]>;
|
|
1173
1184
|
/**
|
|
1174
1185
|
* Atomically replaces a resolved durable command with a newly prepared command.
|
|
1175
1186
|
*
|