@reddoorla/maintenance 0.46.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 +407 -222
- 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 -6
- package/dist/index.js +295 -183
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -284,10 +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
287
|
announceImprovementResend: string;
|
|
292
288
|
announceImprovementSvelte5: string;
|
|
293
289
|
announceCadence: string;
|
|
@@ -341,8 +337,8 @@ type ReportData = {
|
|
|
341
337
|
resendForms?: boolean;
|
|
342
338
|
svelte5?: boolean;
|
|
343
339
|
};
|
|
344
|
-
/** Announcement-only: the client's go-forward pace,
|
|
345
|
-
*
|
|
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. */
|
|
346
342
|
cadence?: ReportCadence;
|
|
347
343
|
/** Resolved per-site copy (M6a). Omitted → the template falls back to DEFAULT_COPY. */
|
|
348
344
|
copy?: ResolvedCopy;
|
|
@@ -428,6 +424,11 @@ type DraftResult = {
|
|
|
428
424
|
html: string;
|
|
429
425
|
/** Enrichment fetches that errored for this site (empty on success or skip). */
|
|
430
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[];
|
|
431
432
|
};
|
|
432
433
|
/**
|
|
433
434
|
* Render and create an Airtable draft for one site.
|