@madewithremy/admin 0.1.9 → 0.1.10

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.d.ts CHANGED
@@ -2693,7 +2693,7 @@ interface StartParams {
2693
2693
  approve?: boolean;
2694
2694
  /** Stop when estimated spend reaches this; default 1.5× the projection. */
2695
2695
  budgetDollars?: number;
2696
- /** Batches in flight at once (default 8, max 64). */
2696
+ /** Batches in flight at once (default 64, max 128). */
2697
2697
  concurrency?: number;
2698
2698
  /** Process only the first N objects — a sample of the corpus. */
2699
2699
  limit?: number;
@@ -2869,6 +2869,10 @@ interface SyncParams {
2869
2869
  slug: string;
2870
2870
  /** Override the connector's per-sync budget for this run, in dollars. */
2871
2871
  budgetDollars?: number;
2872
+ /** Only the first N objects of the listing — a slice to measure or check. */
2873
+ limit?: number;
2874
+ /** Batches in flight (default 64, max 128). */
2875
+ concurrency?: number;
2872
2876
  }
2873
2877
  /**
2874
2878
  * Start a sync: list the bucket, diff by ETag, run a job over what changed.
package/dist/index.js CHANGED
@@ -1002,7 +1002,9 @@ function disconnect(ctx, params) {
1002
1002
  function sync(ctx, params) {
1003
1003
  return call(ctx, "POST", `${base3(ctx.appId)}/sync`, {
1004
1004
  slug: params.slug,
1005
- ...params.budgetDollars !== void 0 ? { budgetDollars: params.budgetDollars } : {}
1005
+ ...params.budgetDollars !== void 0 ? { budgetDollars: params.budgetDollars } : {},
1006
+ ...params.limit !== void 0 ? { limit: params.limit } : {},
1007
+ ...params.concurrency !== void 0 ? { concurrency: params.concurrency } : {}
1006
1008
  });
1007
1009
  }
1008
1010