@madewithremy/admin 0.1.18 → 0.1.19
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 +8 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/prod.js +18 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2597,6 +2597,14 @@ interface MoveParams {
|
|
|
2597
2597
|
* far discarded (points already copied are written again, harmlessly).
|
|
2598
2598
|
*/
|
|
2599
2599
|
restart?: boolean;
|
|
2600
|
+
/**
|
|
2601
|
+
* Parallel chains to copy with, instead of the target size's default (XL 32,
|
|
2602
|
+
* Large 16, Medium 8, Small 4; max 128). The platform runs eight chains per
|
|
2603
|
+
* worker, so this is the worker count times eight. Takes effect when the
|
|
2604
|
+
* copy's windows are cut: with a move already under way, pair it with
|
|
2605
|
+
* `restart`.
|
|
2606
|
+
*/
|
|
2607
|
+
chains?: number;
|
|
2600
2608
|
}
|
|
2601
2609
|
/**
|
|
2602
2610
|
* Move a data source between placements: shared → dedicated, dedicated →
|
package/dist/index.js
CHANGED
|
@@ -744,7 +744,8 @@ function move(ctx, params) {
|
|
|
744
744
|
return call(ctx, "POST", `${base(ctx.appId)}/move`, {
|
|
745
745
|
slug: params.slug,
|
|
746
746
|
placement: params.placement,
|
|
747
|
-
...params.restart ? { restart: true } : {}
|
|
747
|
+
...params.restart ? { restart: true } : {},
|
|
748
|
+
...params.chains !== void 0 ? { chains: params.chains } : {}
|
|
748
749
|
});
|
|
749
750
|
}
|
|
750
751
|
async function waitForMove(ctx, params) {
|