Skip to content

Commit bd94807

Browse files
committed
add pg bouncer events
1 parent 0ba819d commit bd94807

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

packages/api-v4/src/account/types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,9 @@ export const EventActionKeys = [
349349
'database_update',
350350
'database_migrate',
351351
'database_upgrade',
352+
'database_pg_connection_pool_create',
353+
'database_pg_connection_pool_delete',
354+
'database_pg_connection_pool_update',
352355
'destination_create',
353356
'destination_delete',
354357
'destination_update',

packages/manager/src/features/Events/factories/database.tsx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,4 +203,28 @@ export const database: PartialEventMap<'database'> = {
203203
</>
204204
),
205205
},
206+
database_pg_connection_pool_create: {
207+
notification: (e) => (
208+
<>
209+
A Database connection pool has been <strong>added</strong> to{' '}
210+
<EventLink event={e} to="entity" />.
211+
</>
212+
),
213+
},
214+
database_pg_connection_pool_delete: {
215+
notification: (e) => (
216+
<>
217+
A Database connection pool has been <strong>deleted</strong> from{' '}
218+
<EventLink event={e} to="entity" />.
219+
</>
220+
),
221+
},
222+
database_pg_connection_pool_update: {
223+
notification: (e) => (
224+
<>
225+
A Database connection pool has been <strong>updated</strong> from{' '}
226+
<EventLink event={e} to="entity" />.
227+
</>
228+
),
229+
},
206230
};

0 commit comments

Comments
 (0)