@reddoorla/maintenance 0.47.0 → 0.49.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/dist/cli/bin.js +334 -235
- package/dist/cli/bin.js.map +1 -1
- package/dist/cli/commands/audit.js +7 -3
- package/dist/cli/commands/audit.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.js +254 -208
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -284,11 +284,6 @@ type ResolvedCopy = {
|
|
|
284
284
|
launchSetupItems: string[];
|
|
285
285
|
announceHeading: string;
|
|
286
286
|
announceBody: string;
|
|
287
|
-
announceCadenceHeading: string;
|
|
288
|
-
announceTestingLabel: string;
|
|
289
|
-
announceMaintenanceLabel: string;
|
|
290
|
-
announcePreviewLabel: string;
|
|
291
|
-
announceScoreNote: string;
|
|
292
287
|
announceImprovementResend: string;
|
|
293
288
|
announceImprovementSvelte5: string;
|
|
294
289
|
announceCadence: string;
|
|
@@ -342,8 +337,8 @@ type ReportData = {
|
|
|
342
337
|
resendForms?: boolean;
|
|
343
338
|
svelte5?: boolean;
|
|
344
339
|
};
|
|
345
|
-
/** Announcement-only: the client's go-forward pace,
|
|
346
|
-
*
|
|
340
|
+
/** Announcement-only: the client's go-forward pace, baked into each section's intro copy
|
|
341
|
+
* ("We do this every month."). A "None" pace omits that check section; undefined → neither. */
|
|
347
342
|
cadence?: ReportCadence;
|
|
348
343
|
/** Resolved per-site copy (M6a). Omitted → the template falls back to DEFAULT_COPY. */
|
|
349
344
|
copy?: ResolvedCopy;
|
|
@@ -429,6 +424,11 @@ type DraftResult = {
|
|
|
429
424
|
html: string;
|
|
430
425
|
/** Enrichment fetches that errored for this site (empty on success or skip). */
|
|
431
426
|
softFailures: SoftFailure[];
|
|
427
|
+
/** Whether the draft was placed in the approve queue. False when a higher-or-equal-tier
|
|
428
|
+
* report is already queued for the site (single-queue rule); null on the previewOnly path. */
|
|
429
|
+
queued: boolean | null;
|
|
430
|
+
/** Ids of lower-tier queued reports this draft superseded (un-queued). */
|
|
431
|
+
supersededIds: string[];
|
|
432
432
|
};
|
|
433
433
|
/**
|
|
434
434
|
* Render and create an Airtable draft for one site.
|