makeomatic/mservice

View on GitHub
packages/plugin-knex/schemas/knex.pg.json

Summary

Maintainability
Test Coverage
{
  "$id": "knex.pg",
  "type": "object",
  "required": [
    "client",
    "connection"
  ],
  "properties": {
    "client": {
      "type": "string",
      "const": "pg"
    },
    "connection": {
      "oneOf": [{
        "type": "string"
      }, {
        "type": "object"
      }]
    },
    "searchPath": {
      "oneOf": [{
        "type": "string"
      }, {
        "type": "array",
        "items": {
          "type": "string"
        }
      }]
    }
  }
}