@chronicle.app/gmail 0.4.0 → 0.5.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/README.md +1 -1
- package/package.json +22 -7
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ Messages are built by [@chronicle.app/email-core](../../core/email/README.md), t
|
|
|
30
30
|
|
|
31
31
|
| Gmail thing | Chronicle node | Key | Properties |
|
|
32
32
|
| ----------------- | --------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
33
|
-
| Sending a message | `MessageAction` | `@type`, `sourceId` (the
|
|
33
|
+
| Sending a message | `MessageAction` | `@type`, `result.sourceId` (the message it sent) | `agent` (the sender), `result` (the `Message`), `timestamp` (the Date header) |
|
|
34
34
|
| A message | `Message` | `@type`, `sourceId` (the Message-ID) | `inAccount` (the account at the mailbox's address, from the API), `name` (subject), `body` (what was written, as text or Markdown), `author`, `recipient`, `inReplyTo`, `isPartOf` (its `Thread`), `tags` (labels) |
|
|
35
35
|
| A conversation | `Thread` | `@type`, `source`, `inAccount` (the Google account, from the API), `sourceId` (Gmail's thread ID) | |
|
|
36
36
|
| A person | `Agent` | `@type`, `source` (`email`), `handle` (their address, lowercased) | `alternateName` (each display name the mail gave it); you are `sameAs` `@me`, and your Google account from the API |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chronicle.app/gmail",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"type": "module",
|
|
26
26
|
"description": "Chronicle plugin for your Gmail: messages, threads, and labels",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@chronicle.app/google": "0.
|
|
29
|
-
"@chronicle.app/logging": "0.
|
|
30
|
-
"@chronicle.app/email-core": "0.
|
|
28
|
+
"@chronicle.app/google": "0.5.0",
|
|
29
|
+
"@chronicle.app/logging": "0.5.0",
|
|
30
|
+
"@chronicle.app/email-core": "0.5.0",
|
|
31
31
|
"zod": "^3.24.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@chronicle.app/etl": "0.
|
|
35
|
-
"@chronicle.app/schema": "0.
|
|
36
|
-
"@chronicle.app/tsconfig": "0.
|
|
34
|
+
"@chronicle.app/etl": "0.5.0",
|
|
35
|
+
"@chronicle.app/schema": "0.5.0",
|
|
36
|
+
"@chronicle.app/tsconfig": "0.5.0",
|
|
37
37
|
"@types/node": "^22.10.1",
|
|
38
38
|
"typescript": "^5.7.2"
|
|
39
39
|
},
|
|
@@ -76,6 +76,21 @@
|
|
|
76
76
|
"delivery": "export",
|
|
77
77
|
"recordTypes": [
|
|
78
78
|
"messages"
|
|
79
|
+
],
|
|
80
|
+
"files": [
|
|
81
|
+
{
|
|
82
|
+
"names": [
|
|
83
|
+
"*.mbox"
|
|
84
|
+
],
|
|
85
|
+
"match": [
|
|
86
|
+
{
|
|
87
|
+
"head": "^\\s*From ",
|
|
88
|
+
"headers": [
|
|
89
|
+
"X-GM-THRID"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
79
94
|
]
|
|
80
95
|
}
|
|
81
96
|
}
|