@wtfalch/email 0.1.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/LICENSE +21 -0
- package/dist/mailbox/client.d.ts +85 -0
- package/dist/mailbox/client.js +201 -0
- package/dist/mailbox/drafts.d.ts +52 -0
- package/dist/mailbox/drafts.js +134 -0
- package/dist/mailbox/errors.d.ts +45 -0
- package/dist/mailbox/errors.js +88 -0
- package/dist/mailbox/fake/index.d.ts +34 -0
- package/dist/mailbox/fake/index.js +85 -0
- package/dist/mailbox/fake/mailbox.d.ts +65 -0
- package/dist/mailbox/fake/mailbox.js +402 -0
- package/dist/mailbox/fake/sample.d.ts +11 -0
- package/dist/mailbox/fake/sample.js +85 -0
- package/dist/mailbox/identities.d.ts +4 -0
- package/dist/mailbox/identities.js +18 -0
- package/dist/mailbox/index.d.ts +27 -0
- package/dist/mailbox/index.js +17 -0
- package/dist/mailbox/mail.css +451 -0
- package/dist/mailbox/mailboxes.d.ts +33 -0
- package/dist/mailbox/mailboxes.js +107 -0
- package/dist/mailbox/push.d.ts +40 -0
- package/dist/mailbox/push.js +127 -0
- package/dist/mailbox/react/Composer.d.ts +37 -0
- package/dist/mailbox/react/Composer.js +64 -0
- package/dist/mailbox/react/Mail.d.ts +8 -0
- package/dist/mailbox/react/Mail.js +149 -0
- package/dist/mailbox/react/MailboxTree.d.ts +14 -0
- package/dist/mailbox/react/MailboxTree.js +52 -0
- package/dist/mailbox/react/ThreadList.d.ts +37 -0
- package/dist/mailbox/react/ThreadList.js +41 -0
- package/dist/mailbox/react/ThreadView.d.ts +33 -0
- package/dist/mailbox/react/ThreadView.js +80 -0
- package/dist/mailbox/react/context.d.ts +11 -0
- package/dist/mailbox/react/context.js +28 -0
- package/dist/mailbox/react/hooks.d.ts +46 -0
- package/dist/mailbox/react/hooks.js +127 -0
- package/dist/mailbox/react/index.d.ts +24 -0
- package/dist/mailbox/react/index.js +18 -0
- package/dist/mailbox/search.d.ts +20 -0
- package/dist/mailbox/search.js +18 -0
- package/dist/mailbox/submit.d.ts +35 -0
- package/dist/mailbox/submit.js +150 -0
- package/dist/mailbox/thread.d.ts +61 -0
- package/dist/mailbox/thread.js +153 -0
- package/dist/mailbox/threads.d.ts +44 -0
- package/dist/mailbox/threads.js +156 -0
- package/dist/mailbox/types.d.ts +233 -0
- package/dist/mailbox/types.js +8 -0
- package/dist/mailbox/uri.d.ts +17 -0
- package/dist/mailbox/uri.js +26 -0
- package/dist/postmaster/apply.d.ts +62 -0
- package/dist/postmaster/apply.js +192 -0
- package/dist/postmaster/client.d.ts +127 -0
- package/dist/postmaster/client.js +235 -0
- package/dist/postmaster/index.d.ts +33 -0
- package/dist/postmaster/index.js +33 -0
- package/dist/postmaster/instance.d.ts +37 -0
- package/dist/postmaster/instance.js +21 -0
- package/dist/postmaster/load.d.ts +12 -0
- package/dist/postmaster/load.js +34 -0
- package/dist/postmaster/mailboxes.d.ts +23 -0
- package/dist/postmaster/mailboxes.js +35 -0
- package/dist/postmaster/objects.d.ts +47 -0
- package/dist/postmaster/objects.js +167 -0
- package/dist/postmaster/overview.d.ts +177 -0
- package/dist/postmaster/overview.js +112 -0
- package/dist/postmaster/react/controls.d.ts +18 -0
- package/dist/postmaster/react/controls.js +71 -0
- package/dist/postmaster/react/index.d.ts +13 -0
- package/dist/postmaster/react/index.js +12 -0
- package/dist/postmaster/react/panel.d.ts +42 -0
- package/dist/postmaster/react/panel.js +104 -0
- package/dist/postmaster/react/types.d.ts +10 -0
- package/dist/postmaster/react/types.js +1 -0
- package/dist/postmaster/writes.d.ts +62 -0
- package/dist/postmaster/writes.js +131 -0
- package/package.json +91 -0
package/package.json
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wtfalch/email",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "The wtfalch estate: reading a mailbox over JMAP, and administering the Stalwart server it lives on. Two entries with no code in common.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/wtfalch/email.git"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
"./mailbox": {
|
|
13
|
+
"types": "./dist/mailbox/index.d.ts",
|
|
14
|
+
"default": "./dist/mailbox/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./mailbox/react": {
|
|
17
|
+
"types": "./dist/mailbox/react/index.d.ts",
|
|
18
|
+
"default": "./dist/mailbox/react/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./mailbox/fake": {
|
|
21
|
+
"types": "./dist/mailbox/fake/index.d.ts",
|
|
22
|
+
"default": "./dist/mailbox/fake/index.js"
|
|
23
|
+
},
|
|
24
|
+
"./mailbox/mail.css": "./dist/mailbox/mail.css",
|
|
25
|
+
"./postmaster": {
|
|
26
|
+
"types": "./dist/postmaster/index.d.ts",
|
|
27
|
+
"default": "./dist/postmaster/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./postmaster/react": {
|
|
30
|
+
"types": "./dist/postmaster/react/index.d.ts",
|
|
31
|
+
"default": "./dist/postmaster/react/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./package.json": "./package.json"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"dist",
|
|
37
|
+
"LICENSE",
|
|
38
|
+
"README.md"
|
|
39
|
+
],
|
|
40
|
+
"peerDependencies": {
|
|
41
|
+
"@wtfalch/design": ">=0.4.0",
|
|
42
|
+
"react": "^19.0.0",
|
|
43
|
+
"react-dom": "^19.0.0"
|
|
44
|
+
},
|
|
45
|
+
"peerDependenciesMeta": {
|
|
46
|
+
"@wtfalch/design": {
|
|
47
|
+
"optional": true
|
|
48
|
+
},
|
|
49
|
+
"react": {
|
|
50
|
+
"optional": true
|
|
51
|
+
},
|
|
52
|
+
"react-dom": {
|
|
53
|
+
"optional": true
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@types/node": "^22",
|
|
58
|
+
"@types/react": "^19",
|
|
59
|
+
"@types/react-dom": "^19",
|
|
60
|
+
"@wtfalch/design": "^0.4.0",
|
|
61
|
+
"jsdom": "^30.0.1",
|
|
62
|
+
"react": "^19",
|
|
63
|
+
"react-dom": "^19",
|
|
64
|
+
"typescript": "^5.9.0",
|
|
65
|
+
"vitest": "^4.1.6"
|
|
66
|
+
},
|
|
67
|
+
"dependencies": {
|
|
68
|
+
"jmap-jam": "^0.13.6",
|
|
69
|
+
"server-only": "^0.0.1"
|
|
70
|
+
},
|
|
71
|
+
"sideEffects": false,
|
|
72
|
+
"publishConfig": {
|
|
73
|
+
"access": "public"
|
|
74
|
+
},
|
|
75
|
+
"engines": {
|
|
76
|
+
"node": ">=22.0.0"
|
|
77
|
+
},
|
|
78
|
+
"keywords": [
|
|
79
|
+
"jmap",
|
|
80
|
+
"email",
|
|
81
|
+
"mail",
|
|
82
|
+
"stalwart",
|
|
83
|
+
"rfc8621"
|
|
84
|
+
],
|
|
85
|
+
"scripts": {
|
|
86
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json && cp src/mailbox/react/mail.css dist/mailbox/mail.css",
|
|
87
|
+
"typecheck": "tsc --noEmit",
|
|
88
|
+
"test": "vitest run",
|
|
89
|
+
"record-fixtures": "node scripts/record-fixtures.mjs"
|
|
90
|
+
}
|
|
91
|
+
}
|