@bobfrankston/mailx-types 0.1.26 → 0.1.30

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 +18 -0
  2. package/package.json +1 -1
package/mailx-api.d.ts CHANGED
@@ -235,5 +235,23 @@ export interface MailxApi {
235
235
  ok: boolean;
236
236
  reason?: string;
237
237
  }>;
238
+ /** Register rmfmail as the OS mailto: handler. Windows completes with a
239
+ * manual Default-apps step described in `message`. */
240
+ registerMailto?(): Promise<{
241
+ ok: boolean;
242
+ message: string;
243
+ }>;
244
+ /** Offline grammar lint (Harper). One entry per input block; spans are
245
+ * offsets into that block's plain text. Optional — absent host means
246
+ * the feature is silently off. */
247
+ grammarLint?(blocks: string[]): Promise<{
248
+ blocks: {
249
+ start: number;
250
+ end: number;
251
+ kind: string;
252
+ message: string;
253
+ suggestions: string[];
254
+ }[][];
255
+ }>;
238
256
  }
239
257
  //# 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.26",
3
+ "version": "0.1.30",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",