{
  "name": "Apps Chats",
  "appDomain": "chat.app.privacysafe.io",
  "version": "0.6.1",
  "components": {

    "/index.html": {
      "startedBy": "user",
      "runtime": "web-gui",
      "capsRequested": {
        "apps": "opener",
        "logout": "all",
        "log": "all",
        "mailerid": true,
        "shell": {
          "fileDialog": "all",
          "userNotifications": true,
          "startAppCmds": {
            "thisApp": [ "start-new-call", "accept-call" ]
          }
        },
        "storage": {
          "appFS": [
            {
              "domain": "chat.app.privacysafe.io",
              "storage": "synced-n-local"
            }
          ],
          "userFS": "all",
          "sysFS": "all"
        },
        "mail": {
          "sendingTo": "all",
          "receivingFrom": "all"
        },
        "appRPC": {
          "serviceComponents": ["AppChatsInternal", "ChatDeliveryService"]
        },
        "otherAppsRPC": {
          "callable": [
            {
              "app": "launcher.app.privacysafe.io",
              "component": "AppConfigs"
            },
            {
              "app": "contacts.app.privacysafe.io",
              "component": "AppContacts"
            }
          ]
        },
        "connectivity": "check"
      },
      "windowOpts": {
        "width": 1200,
        "height": 600,
        "minWidth": 800,
        "minHeight": 512,
        "maxWidth": 1440
      },
      "icon": "logo.png",
      "startCmds": {
        "open-chat-with": {
					"otherApps": "*"
				}
      }
    },

    "/video.html": {
      "startCmds": {
        "start-new-call": {
          "thisAppComponents": "*"
        },
        "accept-call": {
          "thisAppComponents": "*"
        }
      },
      "runtime": "web-gui",
      "capsRequested": {
        "mail": {
          "sendingTo": "all",
          "receivingFrom": "all"
        }
      },
      "windowOpts": {
      }
    },

    "/background-instance.js": {
      "services": {
        "AppChatsInternal": {
          "thisAppComponents": "*"
        },
        "ChatDeliveryService": {
          "thisAppComponents": "*",
          "otherApps": "*"
        }
      },
      "runtime": "deno",
      "capsRequested": {
        "log": "all",
        "mailerid": true,
        "mail": {
          "sendingTo": "all",
          "receivingFrom": "all"
        },
        "storage": {
          "appFS": "default",
          "userFS": "all",
          "sysFS": "all"
        }
      }
    }

  }
}
