Axinom Mosaic Libraries
    Preparing search index...

    Module @axinom/mosaic-db-common

    @axinom/mosaic-db-common

    This package is part of the Axinom Mosaic development platform. More information can be found at https://portal.axinom.com/mosaic.

    This package can be licensed under the Axinom Products Licensing Agreement or evaluated under the Axinom Products Evaluation Agreement.
    No part of Axinom's software may be copied, modified, propagated, or distributed except in accordance with the terms contained in the Axinom Products Licensing Agreement and Axinom Products Evaluation Agreement.

    Interfaces

    CompareMigrationHashesErrorCallback
    DbLogger
    DbShutdownActions
    Dict
    EnsureReplicationSlotAndPublicationExistParams
    LogicalReplicationServiceConfig
    LogicalReplicatonMessageHandlerParams
    MigrationRecord
    NextRedeliveriesFunction
    PgAuthenticatedEndUser
    PgAuthenticatedEndUserApplication
    PgAuthenticatedManagementSubject
    PgOutputScopedMessage

    Type Aliases

    DbClient
    EnvOwnerPgPool
    LabelledPgPool
    LogicalReplicationMessageHandler
    LogicalReplicationOperation
    LoginPgPool
    OwnerPgPool

    Variables

    DEFAULT_AUTH_SUBJECT_NAME
    DEFAULT_DB_USERNAME
    DEFAULT_SYSTEM_USERNAME
    MOSAIC_AUTH_END_USER_ID
    MOSAIC_AUTH_PERMISSIONS
    MOSAIC_AUTH_PROFILE_ID
    MOSAIC_AUTH_SUBJECT_NAME
    MOSAIC_AUTH_TAGS
    MOSAIC_ENVIRONMENT_ID
    MOSAIC_ID_SERVICE_AUTH_PERMISSIONS
    MOSAIC_ID_SERVICE_AUTH_SUBJECT_NAME
    MOSAIC_ID_SERVICE_AUTH_TAGS
    MOSAIC_ID_SERVICE_ENVIRONMENT_ID
    MOSAIC_ID_SERVICE_TENANT_ID
    MOSAIC_TENANT_ID
    PGMEMENTO_SESSION_INFO

    Functions

    buildAuthPgSettings
    buildEndUserAuthPgSettings
    buildPgSettings
    cleanupExpiredMessagingCounters
    cliExtension
    compareMigrationHashes
    createEnvOwnerPgPool
    createLogicalReplicationService
    createLoginPgPool
    createMigrationsLogger
    createOwnerPgPool
    createPgPool
    createPostgresPoolConnectivityMetric
    ensureReplicationSlotAndPublicationExist
    getBeforeMigrationScripts
    getEnvOwnerPgPool
    getGraphileBuildPgWatchFixturesPath
    getLoginPgPool
    getOwnerPgPool
    initMessagingCounter
    nullable
    optional
    runCurrentSql
    runSqlScripts
    setEnvOwnerPgPool
    setLoginPgPool
    setOwnerPgPool
    setPgSettingsConfig
    setupEnvOwnerPgPool
    setupLoginPgPool
    setupOwnerPgPool
    transactionWithContext
    transformCustomType