@@ -39,6 +39,7 @@ const pathTypeToNodeType: Record<EPathType, NavigationTreeNodeType | undefined>
3939 [ EPathType . EPathTypeView ] : 'view' ,
4040
4141 [ EPathType . EPathTypeReplication ] : 'async_replication' ,
42+ [ EPathType . EPathTypeResourcePool ] : 'resource_pool' ,
4243} ;
4344
4445export const nodeTableTypeToPathType : Partial < Record < NavigationTreeNodeType , EPathType > > = {
@@ -86,6 +87,7 @@ const pathTypeToEntityName: Record<EPathType, string | undefined> = {
8687 [ EPathType . EPathTypeView ] : 'View' ,
8788
8889 [ EPathType . EPathTypeReplication ] : 'Async Replication' ,
90+ [ EPathType . EPathTypeResourcePool ] : 'Resource Pool' ,
8991} ;
9092
9193export const mapPathTypeToEntityName = (
@@ -126,6 +128,7 @@ const pathTypeToIsTable: Record<EPathType, boolean> = {
126128 [ EPathType . EPathTypePersQueueGroup ] : false ,
127129 [ EPathType . EPathTypeExternalDataSource ] : false ,
128130 [ EPathType . EPathTypeReplication ] : false ,
131+ [ EPathType . EPathTypeResourcePool ] : false ,
129132} ;
130133
131134//if add entity with tableType, make sure that Schema is available in Diagnostics section
@@ -166,6 +169,7 @@ const pathTypeToIsColumn: Record<EPathType, boolean> = {
166169 [ EPathType . EPathTypeView ] : false ,
167170
168171 [ EPathType . EPathTypeReplication ] : false ,
172+ [ EPathType . EPathTypeResourcePool ] : false ,
169173} ;
170174
171175export const isColumnEntityType = ( type ?: EPathType ) => ( type && pathTypeToIsColumn [ type ] ) ?? false ;
@@ -191,6 +195,7 @@ const pathTypeToIsDatabase: Record<EPathType, boolean> = {
191195 [ EPathType . EPathTypeView ] : false ,
192196
193197 [ EPathType . EPathTypeReplication ] : false ,
198+ [ EPathType . EPathTypeResourcePool ] : false ,
194199} ;
195200
196201export const isDatabaseEntityType = ( type ?: EPathType ) =>
@@ -221,6 +226,7 @@ const pathTypeToEntityWithMergedImplementation: Record<EPathType, boolean> = {
221226 [ EPathType . EPathTypeView ] : false ,
222227
223228 [ EPathType . EPathTypeReplication ] : false ,
229+ [ EPathType . EPathTypeResourcePool ] : false ,
224230} ;
225231
226232export const isEntityWithMergedImplementation = ( type ?: EPathType ) =>
@@ -244,6 +250,7 @@ const pathTypeToChildless: Record<EPathType, boolean> = {
244250 [ EPathType . EPathTypeExternalTable ] : true ,
245251
246252 [ EPathType . EPathTypeView ] : true ,
253+ [ EPathType . EPathTypeResourcePool ] : true ,
247254
248255 [ EPathType . EPathTypeReplication ] : true ,
249256
0 commit comments