{
  "name": "Contacts",
  "appDomain": "contacts.app.privacysafe.io",
  "version": "0.8.12",
  "description": "Private address book for your contact list.",
  "icon": "logo.png",

  "components": {

    "/index.html": {
      "startedBy": "user",
      "runtime": "web-gui",
      "formFactor": [ "desktop", "tablet" ],
      "capsRequested": {
        "apps": "opener",
        "logout": "all",
        "log": "all",
        "mailerid": true,
        "keyrings": "all",
        "shell": {
          "fileDialog": "all",
          "clipboard": "all",
          "startAppCmds": {
            "otherApps": {
              "chat.app.privacysafe.io": [
                "open-chat-with"
              ],
              "inbox.app.privacysafe.io": [
                "open-inbox-with"
              ]
            }
          },
          "fsResource": {
            "otherApps": {
              "launcher.app.privacysafe.io": "ui-settings"
            }
          },
          "openDashboard": true
        },
        "storage": {
          "appFS": "default"
        },
        "appRPC": [
          "AppContactsInternal"
        ],
        "connectivity": "check"
      },
      "windowOpts": {
        "width": 760,
        "height": 720,
        "minWidth": 760,
        "minHeight": 680
      }
    },

    "/index-mobile.html": {
      "startedBy": "user",
      "runtime": "web-gui",
      "formFactor": "phone",
      "capsRequested": {
        "apps": "opener",
        "logout": "all",
        "log": "all",
        "mailerid": true,
        "keyrings": "all",
        "shell": {
          "fileDialog": "all",
          "startAppCmds": {
            "otherApps": {
              "chat.app.privacysafe.io": [
                "open-chat-with"
              ],
              "inbox.app.privacysafe.io": [
                "open-inbox-with"
              ]
            }
          },
          "fsResource": {
            "otherApps": {
              "launcher.app.privacysafe.io": "ui-settings"
            }
          },
          "openDashboard": true
        },
        "storage": {
          "appFS": "default"
        },
        "appRPC": [
          "AppContactsInternal"
        ],
        "connectivity": "check"
      }
    },

    "/contactDenoServices.js": {
      "services": {
        "AppContacts": {
          "thisAppComponents": "*",
          "otherApps": "*"
        },
        "AppContactsInternal": {
          "thisAppComponents": "*"
        }
      },
      "runtime": "deno",
      "capsRequested": {
        "log": "all",
        "mailerid": true,
        "mail": {
          "preflightsTo": "all"
        },
        "storage": {
          "appFS": "default"
        },
        "connectivity": "check"
      }
    }

  },

  "launchers": [
    {
      "name": "Contacts",
      "icon": "logo.png",
      "description": "Private address book for your contact list.",
      "component": "/index.html",
      "formFactor": [ "desktop", "tablet" ]
    },
    {
      "name": "Contacts",
      "icon": "logo.png",
      "description": "Private address book for your contact list.",
      "component": "/index-mobile.html",
      "formFactor": "phone"
    }
  ],

  "launchOnSystemStartup": [
    {
      "name": "Contacts service",
      "component": "/contactDenoServices.js",
      "icon": "logo.png",
      "description": "Warms up contacts app service"
    }
  ]

}
