@adminforth/bulk-ai-flow 1.22.0 → 1.22.1

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 (3) hide show
  1. package/build.log +1 -1
  2. package/package.json +1 -1
  3. package/types.ts +13 -5
package/build.log CHANGED
@@ -13,5 +13,5 @@ custom/package-lock.json
13
13
  custom/package.json
14
14
  custom/tsconfig.json
15
15
 
16
- sent 99,466 bytes received 172 bytes 199,276.00 bytes/sec
16
+ sent 99,457 bytes received 172 bytes 199,258.00 bytes/sec
17
17
  total size is 98,821 speedup is 0.99
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/bulk-ai-flow",
3
- "version": "1.22.0",
3
+ "version": "1.22.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
package/types.ts CHANGED
@@ -137,11 +137,19 @@ export interface PluginOptions {
137
137
  */
138
138
  recordSelector?: 'checkbox' | 'filtered';
139
139
 
140
- /**
141
- * additional confirmation: generation of very many records is risky in terms of budget. On 1m budget it might be thousands USD,
142
- * this settings allows to suspend rgeneration and allow user to review everything what was already generated so far
143
- * and then suggest Resume / Stop Generation buttons. You can set it in mode where it is shown only afterFirst N records (e.g. at start) or every N records
144
- */
140
+ /**
141
+ * Additional confirmation settings for long-running generations.
142
+ *
143
+ * Generating a very large number of records can be expensive. This option
144
+ * lets you pause the process at specific checkpoints so the user can review
145
+ * everything generated so far and then choose to Resume or Stop the
146
+ * generation.
147
+ *
148
+ * Each entry in the array defines a confirmation breakpoint:
149
+ * - `{ afterRecords: N }` – show a confirmation once, after the first N
150
+ * records have been processed.
151
+ * - `{ everyRecords: N }` – show a confirmation after every N records.
152
+ */
145
153
  askConfirmation?: ({ afterRecords: number } | { everyRecords: number })[]
146
154
 
147
155
  }