@bobfrankston/mailx-types 0.1.76 → 0.1.78
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/index.d.ts +10 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -55,11 +55,17 @@ export interface AccountConfig {
|
|
|
55
55
|
signature?: string; /** Legacy: HTML signature appended to all outgoing messages (new + reply + forward). Plain text or HTML allowed. Superseded by `sig`. */
|
|
56
56
|
sig?: AccountSignature; /** Per-account signature object. Initially appended only to NEW messages; later options will cover replies/forwards. */
|
|
57
57
|
}
|
|
58
|
-
/** Signature configuration in accounts.jsonc.
|
|
59
|
-
*
|
|
58
|
+
/** Signature configuration in accounts.jsonc. May be set per-account or once
|
|
59
|
+
* at the top level of the file, where it applies to every account that has
|
|
60
|
+
* no `sig` of its own. Appended by compose to new mail, replies and
|
|
61
|
+
* forwards; drafts already carry it in the saved body.
|
|
62
|
+
*
|
|
63
|
+
* 2026-09-02 — Claude Code (Opus 5), at Bob's direction: `html` is honoured
|
|
64
|
+
* (client/compose/compose.ts), not "reserved for future use" as this comment
|
|
65
|
+
* previously claimed. */
|
|
60
66
|
export interface AccountSignature {
|
|
61
|
-
text: string; /** Plain
|
|
62
|
-
html?: boolean; /**
|
|
67
|
+
text: string; /** Signature body. Plain text unless `html` is set. Appended to NEW messages with the standard "-- " RFC 3676 separator. */
|
|
68
|
+
html?: boolean; /** When true, `text` is inserted as raw HTML — write your own `<br>` for line breaks. When false/absent, `text` is HTML-escaped and newlines become `<br>`. */
|
|
63
69
|
}
|
|
64
70
|
/** Standard IMAP special-use folder types */
|
|
65
71
|
export type SpecialUse = "inbox" | "sent" | "drafts" | "trash" | "junk" | "archive" | "all";
|