11import type { Meta , StoryFn } from "@storybook/react" ;
22
33import { LibraryRow as LibraryRowComponent } from "../../view/model-editor/LibraryRow" ;
4- import { CallClassification } from "../../model-editor/method" ;
4+ import { CallClassification , EndpointType } from "../../model-editor/method" ;
55import { createMockModelEditorViewState } from "../../../test/factories/model-editor/view-state" ;
66
77export default {
@@ -22,6 +22,7 @@ LibraryRow.args = {
2222 library : "sql2o" ,
2323 libraryVersion : "1.6.0" ,
2424 signature : "org.sql2o.Connection#createQuery(String)" ,
25+ endpointType : EndpointType . Method ,
2526 packageName : "org.sql2o" ,
2627 typeName : "Connection" ,
2728 methodName : "createQuery" ,
@@ -44,6 +45,7 @@ LibraryRow.args = {
4445 library : "sql2o" ,
4546 libraryVersion : "1.6.0" ,
4647 signature : "org.sql2o.Query#executeScalar(Class)" ,
48+ endpointType : EndpointType . Method ,
4749 packageName : "org.sql2o" ,
4850 typeName : "Query" ,
4951 methodName : "executeScalar" ,
@@ -66,6 +68,7 @@ LibraryRow.args = {
6668 library : "sql2o" ,
6769 libraryVersion : "1.6.0" ,
6870 signature : "org.sql2o.Sql2o#open()" ,
71+ endpointType : EndpointType . Method ,
6972 packageName : "org.sql2o" ,
7073 typeName : "Sql2o" ,
7174 methodName : "open" ,
@@ -88,6 +91,7 @@ LibraryRow.args = {
8891 library : "sql2o" ,
8992 libraryVersion : "1.6.0" ,
9093 signature : "org.sql2o.Sql2o#Sql2o(String,String,String)" ,
94+ endpointType : EndpointType . Method ,
9195 packageName : "org.sql2o" ,
9296 typeName : "Sql2o" ,
9397 methodName : "Sql2o" ,
@@ -110,6 +114,7 @@ LibraryRow.args = {
110114 library : "sql2o" ,
111115 libraryVersion : "1.6.0" ,
112116 signature : "org.sql2o.Sql2o#Sql2o(String)" ,
117+ endpointType : EndpointType . Method ,
113118 packageName : "org.sql2o" ,
114119 typeName : "Sql2o" ,
115120 methodName : "Sql2o" ,
@@ -150,6 +155,7 @@ LibraryRow.args = {
150155 kind : "jndi-injection" ,
151156 provenance : "df-generated" ,
152157 signature : "org.sql2o.Sql2o#Sql2o(String)" ,
158+ endpointType : EndpointType . Method ,
153159 packageName : "org.sql2o" ,
154160 typeName : "Sql2o" ,
155161 methodName : "Sql2o" ,
@@ -164,6 +170,7 @@ LibraryRow.args = {
164170 kind : "taint" ,
165171 provenance : "df-manual" ,
166172 signature : "org.sql2o.Connection#createQuery(String)" ,
173+ endpointType : EndpointType . Method ,
167174 packageName : "org.sql2o" ,
168175 typeName : "Connection" ,
169176 methodName : "createQuery" ,
@@ -178,6 +185,7 @@ LibraryRow.args = {
178185 kind : "taint" ,
179186 provenance : "manual" ,
180187 signature : "org.sql2o.Sql2o#open()" ,
188+ endpointType : EndpointType . Method ,
181189 packageName : "org.sql2o" ,
182190 typeName : "Sql2o" ,
183191 methodName : "open" ,
@@ -190,6 +198,7 @@ LibraryRow.args = {
190198 kind : "summary" ,
191199 provenance : "df-generated" ,
192200 signature : "org.sql2o.Query#executeScalar(Class)" ,
201+ endpointType : EndpointType . Method ,
193202 packageName : "org.sql2o" ,
194203 typeName : "Query" ,
195204 methodName : "executeScalar" ,
@@ -202,6 +211,7 @@ LibraryRow.args = {
202211 kind : "sink" ,
203212 provenance : "df-generated" ,
204213 signature : "org.sql2o.Sql2o#Sql2o(String,String,String)" ,
214+ endpointType : EndpointType . Method ,
205215 packageName : "org.sql2o" ,
206216 typeName : "Sql2o" ,
207217 methodName : "Sql2o" ,
0 commit comments