fluncle 0.223.0 → 0.224.0
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/bin/fluncle.mjs +8 -8
- package/package.json +1 -1
package/bin/fluncle.mjs
CHANGED
|
@@ -612,7 +612,7 @@ function parseVersion(version) {
|
|
|
612
612
|
var currentVersion;
|
|
613
613
|
var init_version = __esm(() => {
|
|
614
614
|
init_output();
|
|
615
|
-
currentVersion = "0.
|
|
615
|
+
currentVersion = "0.224.0".trim() ? "0.224.0".trim() : "0.1.0";
|
|
616
616
|
});
|
|
617
617
|
|
|
618
618
|
// src/update-notifier.ts
|
|
@@ -2454,7 +2454,7 @@ function parseVersion2(version) {
|
|
|
2454
2454
|
var currentVersion2, latestReleaseUrl = "https://api.github.com/repos/mauricekleine/fluncle/releases/latest";
|
|
2455
2455
|
var init_version2 = __esm(() => {
|
|
2456
2456
|
init_output();
|
|
2457
|
-
currentVersion2 = "0.
|
|
2457
|
+
currentVersion2 = "0.224.0".trim() ? "0.224.0".trim() : "0.1.0";
|
|
2458
2458
|
});
|
|
2459
2459
|
|
|
2460
2460
|
// ../../packages/registry/src/index.ts
|
|
@@ -12417,7 +12417,7 @@ var init_admin_prompts = __esm(() => {
|
|
|
12417
12417
|
});
|
|
12418
12418
|
|
|
12419
12419
|
// ../../packages/contracts/src/orpc/admin-projections.ts
|
|
12420
|
-
var PROJECTION_STEP_LIMIT_MAX =
|
|
12420
|
+
var PROJECTION_STEP_LIMIT_MAX = 1000, ProjectionTargetSchema, ProjectionCutoverSchema, ProjectionStepActionSchema, CountSchema, BoundedCountSchema, DigestSchema2, RebuildSchema, BacklogSchema, RepairSchema, ConvergenceSchema, ProjectionFamilyStatusSchema, ProjectionStatusSchema, getProjectionStatus, advanceProjection, setProjectionCutover, adminProjectionsContract;
|
|
12421
12421
|
var init_admin_projections = __esm(() => {
|
|
12422
12422
|
init_dist3();
|
|
12423
12423
|
init_zod();
|
|
@@ -16560,7 +16560,7 @@ var init_admin_operation_receipts2 = __esm(() => {
|
|
|
16560
16560
|
// src/commands/admin-projections.ts
|
|
16561
16561
|
var exports_admin_projections = {};
|
|
16562
16562
|
__export(exports_admin_projections, {
|
|
16563
|
-
PROJECTION_STEP_LIMIT_MAX: () =>
|
|
16563
|
+
PROJECTION_STEP_LIMIT_MAX: () => PROJECTION_STEP_LIMIT_MAX,
|
|
16564
16564
|
advanceProjectionCommand: () => advanceProjectionCommand,
|
|
16565
16565
|
getProjectionStatusCommand: () => getProjectionStatusCommand,
|
|
16566
16566
|
parseProjectionAction: () => parseProjectionAction,
|
|
@@ -16590,8 +16590,8 @@ function parseProjectionEnabled(value) {
|
|
|
16590
16590
|
}
|
|
16591
16591
|
function parseProjectionLimit(value) {
|
|
16592
16592
|
const limit = Number(value);
|
|
16593
|
-
if (!Number.isSafeInteger(limit) || limit < 1 || limit >
|
|
16594
|
-
throw new Error(`--limit must be a whole number from 1 through ${
|
|
16593
|
+
if (!Number.isSafeInteger(limit) || limit < 1 || limit > PROJECTION_STEP_LIMIT_MAX) {
|
|
16594
|
+
throw new Error(`--limit must be a whole number from 1 through ${PROJECTION_STEP_LIMIT_MAX}`);
|
|
16595
16595
|
}
|
|
16596
16596
|
return limit;
|
|
16597
16597
|
}
|
|
@@ -16622,8 +16622,8 @@ function projectionStatusLines(status) {
|
|
|
16622
16622
|
row("Artist qualification", status.projections.artistQualification, status.cutovers.publicProjections)
|
|
16623
16623
|
];
|
|
16624
16624
|
}
|
|
16625
|
-
var PROJECTION_STEP_LIMIT_MAX2 = 100;
|
|
16626
16625
|
var init_admin_projections2 = __esm(() => {
|
|
16626
|
+
init_orpc();
|
|
16627
16627
|
init_api();
|
|
16628
16628
|
});
|
|
16629
16629
|
|
|
@@ -22156,7 +22156,7 @@ JSON field reference:
|
|
|
22156
22156
|
console.log(projections.projectionStatusLines(result.status).join(`
|
|
22157
22157
|
`));
|
|
22158
22158
|
});
|
|
22159
|
-
adminProjections.command("advance").description("Run one bounded, resumable rebuild, repair, or audit step").requiredOption("--target <target>", "track_due_work, crawl_due_work, public_aggregates, or artist_qualification").requiredOption("--action <action>", "rebuild, repair, or audit").option("--limit <limit>", "Maximum rows or repairs in this request (1-
|
|
22159
|
+
adminProjections.command("advance").description("Run one bounded, resumable rebuild, repair, or audit step").requiredOption("--target <target>", "track_due_work, crawl_due_work, public_aggregates, or artist_qualification").requiredOption("--action <action>", "rebuild, repair, or audit").option("--limit <limit>", "Maximum rows or repairs in this request (1-1000)", "100").option("--json", "Print the step result and current readiness as JSON", false).action(async (options) => {
|
|
22160
22160
|
const projections = await Promise.resolve().then(() => (init_admin_projections2(), exports_admin_projections));
|
|
22161
22161
|
const result = await projections.advanceProjectionCommand({
|
|
22162
22162
|
action: projections.parseProjectionAction(options.action),
|
package/package.json
CHANGED