// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`/datasources fetch returns all the datasources from the server 1`] = `
Array [
  Object {
    "config": Object {},
    "entities": Array [
      Object {
        "_id": "ta_users",
        "_rev": "1-039883a06c1f9cb3945731d79838181e",
        "name": "Users",
        "primaryDisplay": "email",
        "schema": Object {
          "email": Object {
            "constraints": Object {
              "email": true,
              "length": Object {
                "maximum": "",
              },
              "presence": true,
              "type": "string",
            },
            "fieldName": "email",
            "name": "email",
            "type": "string",
          },
          "firstName": Object {
            "constraints": Object {
              "presence": false,
              "type": "string",
            },
            "fieldName": "firstName",
            "name": "firstName",
            "type": "string",
          },
          "lastName": Object {
            "constraints": Object {
              "presence": false,
              "type": "string",
            },
            "fieldName": "lastName",
            "name": "lastName",
            "type": "string",
          },
          "roleId": Object {
            "constraints": Object {
              "inclusion": Array [
                "ADMIN",
                "POWER",
                "BASIC",
                "PUBLIC",
              ],
              "presence": false,
              "type": "string",
            },
            "fieldName": "roleId",
            "name": "roleId",
            "type": "options",
          },
          "status": Object {
            "constraints": Object {
              "inclusion": Array [
                "active",
                "inactive",
              ],
              "presence": false,
              "type": "string",
            },
            "fieldName": "status",
            "name": "status",
            "type": "options",
          },
        },
        "type": "table",
        "views": Object {},
      },
    ],
    "name": "Budibase DB",
    "source": "BUDIBASE",
    "type": "budibase",
  },
  Object {
    "config": Object {},
    "name": "Test",
    "source": "POSTGRES",
    "type": "datasource",
  },
]
`;
