@@ -740,7 +740,7 @@ exports[`createDatabaseTreeNodes generates the correct tree structure for the Mo
740
740
]
741
741
` ;
742
742
743
- exports [` createDatabaseTreeNodes generates the correct tree structure for the SQL API, on Fabric 1` ] = `
743
+ exports [` createDatabaseTreeNodes generates the correct tree structure for the SQL API, on Fabric non read-only 1` ] = `
744
744
[
745
745
{
746
746
" children" : [
@@ -753,6 +753,12 @@ exports[`createDatabaseTreeNodes generates the correct tree structure for the SQ
753
753
" label" : " New SQL Query" ,
754
754
" onClick" : [Function ],
755
755
},
756
+ {
757
+ " iconSrc" : {},
758
+ " label" : " Delete Container" ,
759
+ " onClick" : [Function ],
760
+ " styleClass" : " deleteCollectionMenuItem" ,
761
+ },
756
762
],
757
763
" iconSrc" : <DocumentMultipleRegular
758
764
fontSize = { 16 }
@@ -774,6 +780,12 @@ exports[`createDatabaseTreeNodes generates the correct tree structure for the SQ
774
780
" label" : " New SQL Query" ,
775
781
" onClick" : [Function ],
776
782
},
783
+ {
784
+ " iconSrc" : {},
785
+ " label" : " Delete Container" ,
786
+ " onClick" : [Function ],
787
+ " styleClass" : " deleteCollectionMenuItem" ,
788
+ },
777
789
],
778
790
" iconSrc" : <DocumentMultipleRegular
779
791
fontSize = { 16 }
@@ -822,6 +834,12 @@ exports[`createDatabaseTreeNodes generates the correct tree structure for the SQ
822
834
" label" : " New SQL Query" ,
823
835
" onClick" : [Function ],
824
836
},
837
+ {
838
+ " iconSrc" : {},
839
+ " label" : " Delete Container" ,
840
+ " onClick" : [Function ],
841
+ " styleClass" : " deleteCollectionMenuItem" ,
842
+ },
825
843
],
826
844
" iconSrc" : <DocumentMultipleRegular
827
845
fontSize = { 16 }
@@ -870,6 +888,12 @@ exports[`createDatabaseTreeNodes generates the correct tree structure for the SQ
870
888
" label" : " New SQL Query" ,
871
889
" onClick" : [Function ],
872
890
},
891
+ {
892
+ " iconSrc" : {},
893
+ " label" : " Delete Container" ,
894
+ " onClick" : [Function ],
895
+ " styleClass" : " deleteCollectionMenuItem" ,
896
+ },
873
897
],
874
898
" iconSrc" : <DocumentMultipleRegular
875
899
fontSize = { 16 }
@@ -915,6 +939,145 @@ exports[`createDatabaseTreeNodes generates the correct tree structure for the SQ
915
939
]
916
940
` ;
917
941
942
+ exports [` createDatabaseTreeNodes generates the correct tree structure for the SQL API, on Fabric read-only 1` ] = `
943
+ [
944
+ {
945
+ " children" : [
946
+ {
947
+ " children" : undefined ,
948
+ " className" : " collectionNode" ,
949
+ " contextMenu" : [
950
+ {
951
+ " iconSrc" : {},
952
+ " label" : " New SQL Query" ,
953
+ " onClick" : [Function ],
954
+ },
955
+ ],
956
+ " iconSrc" : <DocumentMultipleRegular
957
+ fontSize = { 16 }
958
+ />,
959
+ " isExpanded" : true ,
960
+ " isSelected" : [Function ],
961
+ " label" : " standardCollection" ,
962
+ " onClick" : [Function ],
963
+ " onCollapsed" : [Function ],
964
+ " onContextMenuOpen" : [Function ],
965
+ " onExpanded" : [Function ],
966
+ },
967
+ {
968
+ " children" : undefined ,
969
+ " className" : " collectionNode" ,
970
+ " contextMenu" : [
971
+ {
972
+ " iconSrc" : {},
973
+ " label" : " New SQL Query" ,
974
+ " onClick" : [Function ],
975
+ },
976
+ ],
977
+ " iconSrc" : <DocumentMultipleRegular
978
+ fontSize = { 16 }
979
+ />,
980
+ " isExpanded" : true ,
981
+ " isSelected" : [Function ],
982
+ " label" : " conflictsCollection" ,
983
+ " onClick" : [Function ],
984
+ " onCollapsed" : [Function ],
985
+ " onContextMenuOpen" : [Function ],
986
+ " onExpanded" : [Function ],
987
+ },
988
+ ],
989
+ " className" : " databaseNode" ,
990
+ " contextMenu" : undefined ,
991
+ " iconSrc" : <DatabaseRegular
992
+ fontSize = { 16 }
993
+ />,
994
+ " isExpanded" : true ,
995
+ " isSelected" : [Function ],
996
+ " label" : " standardDb" ,
997
+ " onCollapsed" : [Function ],
998
+ " onContextMenuOpen" : [Function ],
999
+ " onExpanded" : [Function ],
1000
+ } ,
1001
+ {
1002
+ " children" : [
1003
+ {
1004
+ " children" : undefined ,
1005
+ " className" : " collectionNode" ,
1006
+ " contextMenu" : [
1007
+ {
1008
+ " iconSrc" : {},
1009
+ " label" : " New SQL Query" ,
1010
+ " onClick" : [Function ],
1011
+ },
1012
+ ],
1013
+ " iconSrc" : <DocumentMultipleRegular
1014
+ fontSize = { 16 }
1015
+ />,
1016
+ " isExpanded" : true ,
1017
+ " isSelected" : [Function ],
1018
+ " label" : " sampleItemsCollection" ,
1019
+ " onClick" : [Function ],
1020
+ " onCollapsed" : [Function ],
1021
+ " onContextMenuOpen" : [Function ],
1022
+ " onExpanded" : [Function ],
1023
+ },
1024
+ ],
1025
+ " className" : " databaseNode" ,
1026
+ " contextMenu" : undefined ,
1027
+ " iconSrc" : <DatabaseRegular
1028
+ fontSize = { 16 }
1029
+ />,
1030
+ " isExpanded" : true ,
1031
+ " isSelected" : [Function ],
1032
+ " label" : " sharedDatabase" ,
1033
+ " onCollapsed" : [Function ],
1034
+ " onContextMenuOpen" : [Function ],
1035
+ " onExpanded" : [Function ],
1036
+ } ,
1037
+ {
1038
+ " children" : [
1039
+ {
1040
+ " children" : undefined ,
1041
+ " className" : " collectionNode" ,
1042
+ " contextMenu" : [
1043
+ {
1044
+ " iconSrc" : {},
1045
+ " label" : " New SQL Query" ,
1046
+ " onClick" : [Function ],
1047
+ },
1048
+ ],
1049
+ " iconSrc" : <DocumentMultipleRegular
1050
+ fontSize = { 16 }
1051
+ />,
1052
+ " isExpanded" : true ,
1053
+ " isSelected" : [Function ],
1054
+ " label" : " schemaCollection" ,
1055
+ " onClick" : [Function ],
1056
+ " onCollapsed" : [Function ],
1057
+ " onContextMenuOpen" : [Function ],
1058
+ " onExpanded" : [Function ],
1059
+ },
1060
+ {
1061
+ " className" : " loadMoreNode" ,
1062
+ " label" : " load more" ,
1063
+ " onClick" : [Function ],
1064
+ },
1065
+ ],
1066
+ " className" : " databaseNode" ,
1067
+ " contextMenu" : undefined ,
1068
+ " iconSrc" : <DatabaseRegular
1069
+ fontSize = { 16 }
1070
+ />,
1071
+ " isExpanded" : true ,
1072
+ " isSelected" : [Function ],
1073
+ " label" : " giganticDatabase" ,
1074
+ " onCollapsed" : [Function ],
1075
+ " onContextMenuOpen" : [Function ],
1076
+ " onExpanded" : [Function ],
1077
+ } ,
1078
+ ]
1079
+ ` ;
1080
+
918
1081
exports [` createDatabaseTreeNodes generates the correct tree structure for the SQL API, on Portal 1` ] = `
919
1082
[
920
1083
{
@@ -972,7 +1135,7 @@ exports[`createDatabaseTreeNodes generates the correct tree structure for the SQ
972
1135
},
973
1136
],
974
1137
" isSelected" : [Function ],
975
- " label" : " mockSproc3 " ,
1138
+ " label" : " mockSproc4 " ,
976
1139
" onClick" : [Function ],
977
1140
},
978
1141
],
@@ -990,7 +1153,7 @@ exports[`createDatabaseTreeNodes generates the correct tree structure for the SQ
990
1153
},
991
1154
],
992
1155
" isSelected" : [Function ],
993
- " label" : " mockUdf3 " ,
1156
+ " label" : " mockUdf4 " ,
994
1157
" onClick" : [Function ],
995
1158
},
996
1159
],
@@ -1008,7 +1171,7 @@ exports[`createDatabaseTreeNodes generates the correct tree structure for the SQ
1008
1171
},
1009
1172
],
1010
1173
" isSelected" : [Function ],
1011
- " label" : " mockTrigger3 " ,
1174
+ " label" : " mockTrigger4 " ,
1012
1175
" onClick" : [Function ],
1013
1176
},
1014
1177
],
0 commit comments