@bobfrankston/mailx-types 0.1.30 → 0.1.34

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.
Files changed (2) hide show
  1. package/mailx-api.d.ts +11 -0
  2. package/package.json +1 -1
package/mailx-api.d.ts CHANGED
@@ -205,6 +205,9 @@ export interface MailxApi {
205
205
  statusText: string;
206
206
  }>;
207
207
  consumePendingMailto(): any | Promise<any>;
208
+ /** C46 Windows Share target — startup-race twin of the daemon's
209
+ * fs.watch on pending-share.json. Optional: desktop-only. */
210
+ consumePendingShare?(): any | Promise<any>;
208
211
  getReminderSound(): Promise<{
209
212
  mute?: boolean;
210
213
  dataBase64?: string;
@@ -253,5 +256,13 @@ export interface MailxApi {
253
256
  suggestions: string[];
254
257
  }[][];
255
258
  }>;
259
+ /** Delete attachment(s) from a received message (local strip + queued
260
+ * server replace). ids = chip ids, or "all". Optional — desktop IMAP
261
+ * accounts only today. */
262
+ deleteAttachments?(accountId: string, uid: number, folderId: number | undefined, ids: number[] | "all"): Promise<{
263
+ ok: boolean;
264
+ removed: number;
265
+ remaining: number;
266
+ }>;
256
267
  }
257
268
  //# sourceMappingURL=mailx-api.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx-types",
3
- "version": "0.1.30",
3
+ "version": "0.1.34",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",