@@ -54,7 +54,7 @@ export type Database = {
5454 collectionsStatus : DatabaseOrCollectionStatus ;
5555 collectionsLength : number ;
5656 collections : Collection [ ] ;
57- isNonExistant : boolean ;
57+ isNonExistent : boolean ;
5858} ;
5959
6060type PlaceholderTreeItem = VirtualPlaceholderItem & {
@@ -68,7 +68,7 @@ export type Collection = {
6868 type : 'view' | 'collection' | 'timeseries' ;
6969 sourceName : string | null ;
7070 pipeline : unknown [ ] ;
71- isNonExistant : boolean ;
71+ isNonExistent : boolean ;
7272} ;
7373
7474export type NotConnectedConnectionTreeItem = VirtualTreeItem & {
@@ -102,7 +102,7 @@ export type DatabaseTreeItem = VirtualTreeItem & {
102102 connectionId : string ;
103103 dbName : string ;
104104 hasWriteActionsDisabled : boolean ;
105- isNonExistant : boolean ;
105+ isNonExistent : boolean ;
106106} ;
107107
108108export type CollectionTreeItem = VirtualTreeItem & {
@@ -113,7 +113,7 @@ export type CollectionTreeItem = VirtualTreeItem & {
113113 connectionId : string ;
114114 namespace : string ;
115115 hasWriteActionsDisabled : boolean ;
116- isNonExistant : boolean ;
116+ isNonExistent : boolean ;
117117} ;
118118
119119export type SidebarActionableItem =
@@ -249,7 +249,7 @@ const databaseToItems = ({
249249 collections,
250250 collectionsLength,
251251 collectionsStatus,
252- isNonExistant ,
252+ isNonExistent ,
253253 } ,
254254 connectionId,
255255 expandedItems = { } ,
@@ -282,7 +282,7 @@ const databaseToItems = ({
282282 dbName : id ,
283283 isExpandable : true ,
284284 hasWriteActionsDisabled,
285- isNonExistant ,
285+ isNonExistent ,
286286 } ;
287287
288288 const sidebarData : SidebarTreeItem [ ] = [ databaseTI ] ;
@@ -311,7 +311,7 @@ const databaseToItems = ({
311311
312312 return sidebarData . concat (
313313 collections . map (
314- ( { _id : id , name, type, isNonExistant } , collectionIndex ) => ( {
314+ ( { _id : id , name, type, isNonExistent } , collectionIndex ) => ( {
315315 id : `${ connectionId } .${ id } ` , // id is the namespace of the collection, so includes db as well
316316 level : level + 1 ,
317317 name,
@@ -323,7 +323,7 @@ const databaseToItems = ({
323323 namespace : id ,
324324 hasWriteActionsDisabled,
325325 isExpandable : false ,
326- isNonExistant ,
326+ isNonExistent ,
327327 } )
328328 )
329329 ) ;
0 commit comments