|
- {
- "kind": "collectionType",
- "collectionName": "chats",
- "info": {
- "name": "Chats",
- "description": ""
- },
- "options": {
- "increments": true,
- "timestamps": true,
- "draftAndPublish": true
- },
- "attributes": {
- "session_key": {
- "model": "session-data"
- },
- "name": {
- "type": "string"
- },
- "unreadCount": {
- "type": "integer"
- },
- "chatId": {
- "type": "json"
- },
- "phoneNumber": {
- "type": "string"
- },
- "timestamp": {
- "type": "datetime"
- }
- }
- }
|