-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.json
More file actions
77 lines (77 loc) · 2.26 KB
/
Copy pathplugin.json
File metadata and controls
77 lines (77 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"id": "mail-plugin",
"name": "Mail Integration",
"version": "1.0.0",
"sdk_version": "0.1.0",
"description": "Gmail and IMAP integration for Vencore, providing low-latency mailbox syncing.",
"author": "Vencore",
"data_access": ["storage:read", "storage:write", "http:fetch"],
"tables": [
{
"name": "mail_accounts",
"columns": [
{ "name": "id", "type": "uuid", "primary": true },
{ "name": "type", "type": "text" },
{ "name": "email", "type": "text" },
{ "name": "credentials", "type": "jsonb" },
{ "name": "status", "type": "text" },
{ "name": "created_at", "type": "timestamptz" }
],
"drop_on_uninstall": true
},
{
"name": "mail_folders",
"columns": [
{ "name": "id", "type": "uuid", "primary": true },
{ "name": "account_id", "type": "uuid" },
{ "name": "name", "type": "text" },
{ "name": "type", "type": "text" },
{ "name": "unread_count", "type": "integer" },
{ "name": "total_count", "type": "integer" }
],
"drop_on_uninstall": true
},
{
"name": "mail_messages",
"columns": [
{ "name": "id", "type": "uuid", "primary": true },
{ "name": "account_id", "type": "uuid" },
{ "name": "folder_id", "type": "uuid" },
{ "name": "external_id", "type": "text" },
{ "name": "subject", "type": "text" },
{ "name": "sender", "type": "text" },
{ "name": "recipient", "type": "text" },
{ "name": "date", "type": "timestamptz" },
{ "name": "snippet", "type": "text" },
{ "name": "is_read", "type": "boolean" },
{ "name": "flags", "type": "jsonb" }
],
"drop_on_uninstall": true
}
],
"surfaces": {
"nav": [
{ "label": "Mail", "path": "/mail", "icon": "mail", "group": "general" }
],
"pages": [
{ "path": "/mail", "title": "Mail Workspace" }
]
},
"settings_schema": [
{
"type": "text",
"key": "google_client_id",
"label": "Google OAuth Client ID"
},
{
"type": "text",
"key": "google_client_secret",
"label": "Google OAuth Client Secret",
"secret": true
}
],
"build": {
"server": "src/server.ts",
"client": "src/client.tsx"
}
}