{"version":3,"sources":["../../src/driver/postgres/PostgresConnectionOptions.ts"],"names":[],"mappings":"","file":"PostgresConnectionOptions.js","sourcesContent":["import {BaseConnectionOptions} from \"../../connection/BaseConnectionOptions\";\nimport {PostgresConnectionCredentialsOptions} from \"./PostgresConnectionCredentialsOptions\";\n\n/**\n * Postgres-specific connection options.\n */\nexport interface PostgresConnectionOptions extends BaseConnectionOptions, PostgresConnectionCredentialsOptions {\n\n /**\n * Database type.\n */\n readonly type: \"postgres\";\n\n /**\n * Schema name.\n */\n readonly schema?: string;\n\n /**\n * Replication setup.\n */\n readonly replication?: {\n\n /**\n * Master server used by orm to perform writes.\n */\n readonly master: PostgresConnectionCredentialsOptions;\n\n /**\n * List of read-from severs (slaves).\n */\n readonly slaves: PostgresConnectionCredentialsOptions[];\n\n };\n\n /**\n * The Postgres extension to use to generate UUID columns. Defaults to uuid-ossp.\n * If pgcrypto is selected, TypeORM will use the gen_random_uuid() function from this extension.\n * If uuid-ossp is selected, TypeORM will use the uuid_generate_v4() function from this extension.\n */\n readonly uuidExtension?: \"pgcrypto\" | \"uuid-ossp\";\n}\n"],"sourceRoot":"../.."}
|