Commit a2b37448 authored by Ruben Seggers's avatar Ruben Seggers
Browse files

messages and mail

parent 54b25b78
Showing with 70 additions and 68 deletions
+70 -68
# Output files
*schema.swift
*schema_target.swift
*schema_target2.swift
*schema.ts
*schema_target.ts
*autogenerated_database_schema.json
......
{
"description": "The Person this Item belongs to.",
"type": "Person"
}
\ No newline at end of file
{
"description": "TBD",
"type": "Person"
"type": "Account"
}
\ No newline at end of file
{
"description": "A Chat this Item belongs to.",
"type": "Chat"
}
\ No newline at end of file
{
"description": "Datetime when Item was sent.",
"type": "datetime"
}
\ No newline at end of file
{
"description": "TBD",
"type": "Person"
"type": "Account"
}
\ No newline at end of file
{
"description": "TBD"
}
\ No newline at end of file
{
"description": "TBD",
"type": "string"
}
\ No newline at end of file
{
"description": "TBD",
"type": "string"
}
\ No newline at end of file
{
"description": "Data that cannot directly be imported in the appropriate Items (yet), in JSON format ",
"type": "string"
}
\ No newline at end of file
{
"description": "A message channel this Item belongs to, for instance a WhatsApp chat.",
"type": "MessageChannel"
}
\ No newline at end of file
{
"description": "The Person that received, or is to receive, this Item.",
"type": "string"
"description": "The account that received, or is to receive, this Item.",
"type": "Account"
}
\ No newline at end of file
{
"description": "TBD",
"type": "Person"
}
\ No newline at end of file
{
"description": "TBD",
"type": "string"
"type": "Account"
}
\ No newline at end of file
{
"description": "TBD",
"description": "A service of any kind.",
"type": "string"
}
\ No newline at end of file
{
"description": "TBD",
"type": "Person"
}
\ No newline at end of file
{
"description": "An account, typically for an online service, for instance an Apple account.",
"properties": [
"displayName",
"nameQuality",
"enablePresence",
"enableReceipts",
"service"
],
"relations": {
"belongsTo": {
"sequenced": false,
"singular": false
}
},
"foregroundColor": "#ffffff",
"backgroundColor": "#93c47d"
}
\ No newline at end of file
{
"description": "A single message.",
"properties": [
"textContent",
"sender",
"chatJid",
"chatReceiver",
"subject",
"date",
"importFrom",
"importTo",
"importCC",
"importReplyTo"
],
"relations": {
"from": {
"sequenced": false,
"singular": false
},
"to": {
"sequenced": false,
"singular": false
},
"CC": {
"sequenced": false,
"singular": false
},
"replyTo": {
"sequenced": false,
"singular": false
}
},
"foregroundColor": "#ffffff",
"backgroundColor": "#93c47d"
}
\ No newline at end of file
......@@ -2,12 +2,30 @@
"description": "A single message.",
"properties": [
"textContent",
"sender",
"chatJid",
"chatReceiver"
"content",
"type",
"importJson",
"subject",
"datetimeSent"
],
"relations": {
"chat": {
"messageChannel": {
"sequenced": false,
"singular": false
},
"sender": {
"sequenced": false,
"singular": false
},
"receiver": {
"sequenced": false,
"singular": false
},
"cc": {
"sequenced": false,
"singular": false
},
"replyTo": {
"sequenced": false,
"singular": false
}
......
......@@ -3,13 +3,16 @@
"properties": [
"name",
"topic",
"receiver",
"encrypted"
],
"relations": {
"photo": {
"sequenced": false,
"singular": false
},
"receiver": {
"sequenced": false,
"singular": false
}
},
"foregroundColor": "#ffffff",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment