@adminforth/bulk-ai-flow 1.25.2 → 1.26.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.
package/dist/index.js CHANGED
@@ -642,7 +642,8 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
642
642
  plainFieldsPrompts: this.options.fillPlainFields || {},
643
643
  imageFieldsPrompts: this.options.fillFieldsFromImages || {},
644
644
  imageGenerationPrompts: this.options.generateImages || {},
645
- }
645
+ },
646
+ pageSize: this.options.pageSize
646
647
  }
647
648
  };
648
649
  if (!resourceConfig.options.pageInjections) {
package/index.ts CHANGED
@@ -5,8 +5,6 @@ import type { PluginOptions } from './types.js';
5
5
  import Handlebars from 'handlebars';
6
6
  import { RateLimiter } from "adminforth";
7
7
  import { randomUUID } from "crypto";
8
-
9
-
10
8
  const STUB_MODE = false;
11
9
  const jobs = new Map();
12
10
  export default class BulkAiFlowPlugin extends AdminForthPlugin {
@@ -643,7 +641,8 @@ export default class BulkAiFlowPlugin extends AdminForthPlugin {
643
641
  plainFieldsPrompts: this.options.fillPlainFields || {},
644
642
  imageFieldsPrompts: this.options.fillFieldsFromImages || {},
645
643
  imageGenerationPrompts: this.options.generateImages || {},
646
- }
644
+ },
645
+ pageSize: this.options.pageSize
647
646
  }
648
647
  }
649
648
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/bulk-ai-flow",
3
- "version": "1.25.2",
3
+ "version": "1.26.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -25,7 +25,7 @@
25
25
  "description": "Bulk AI workflow plugin for AdminForth for batch field generation and image processing",
26
26
  "devDependencies": {
27
27
  "@types/node": "latest",
28
- "adminforth": "^2.70.0",
28
+ "adminforth": "^2.71.1",
29
29
  "semantic-release": "^24.2.1",
30
30
  "semantic-release-slack-bot": "^4.0.2",
31
31
  "typescript": "^5.7.3"
@@ -35,7 +35,7 @@
35
35
  "handlebars": "^4.7.8"
36
36
  },
37
37
  "peerDependencies": {
38
- "adminforth": "^2.42.0"
38
+ "adminforth": "^2.71.1"
39
39
  },
40
40
  "release": {
41
41
  "plugins": [
package/types.ts CHANGED
@@ -153,4 +153,10 @@ export interface PluginOptions extends PluginsCommonOptions {
153
153
  */
154
154
  askConfirmation?: ({ afterRecords: number } | { everyRecords: number })[]
155
155
 
156
+ /**
157
+ * Number of cards to show per page in the VisionTable component.
158
+ * If omitted, the component falls back to 6.
159
+ */
160
+ pageSize?: number;
161
+
156
162
  }