hunk.code_window:   const handleCreateAuthApiDatasource = useCallback(() => {
       if (authApiPlugin) {
         AnalyticsUtil.logEvent("CREATE_DATA_SOURCE_AUTH_API_CLICK", {
           pluginId: authApiPlugin.id,
         });
         props.createDatasourceFromForm({
           pluginId: authApiPlugin.id,
         });
       }
     }, [authApiPlugin, props.createDatasourceFromForm]);
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit:       AnalyticsUtil.logEvent("CREATE_DATA_SOURCE_CLICK", {
           plugin: authApiPlugin,
         });
  
hunk.file_path: app/client/src/pages/Editor/IntegrationEditor/NewApi.tsx
hunk.type: add
file: import { entityDefinitions } from "utils/autocomplete/EntityDefinitions";
  import { WidgetTypes } from "../../constants/WidgetConstants";
  
  describe("EntityDefinitions", () => {
    it("it tests list widget selectRow", () => {
      const listWidgetProps = {
        widgetId: "yolo",
        widgetName: "List1",
        parentId: "123",
        renderMode: "CANVAS",
        text: "yo",
        type: WidgetTypes.INPUT_WIDGET,
        parentColumnSpace: 1,
        parentRowSpace: 2,
        leftColumn: 2,
        rightColumn: 3,
        topRow: 1,
        bottomRow: 2,
        isLoading: false,
        version: 1,
        selectedItem: {
          id: 1,
          name: "Some random name",
        },
      };
  
      const listWidgetEntityDefinitions = entityDefinitions.LIST_WIDGET(
        listWidgetProps,
      );
  
      const output = {
        "!doc":
          "Containers are used to group widgets together to form logical higher order widgets. Containers let you organize your page better and move all the widgets inside them together.",
        "!url": "https://docs.appsmith.com/widget-reference/list",
        backgroundColor: {
          "!type": "string",
          "!url": "https://docs.appsmith.com/widget-reference/how-to-use-widgets",
        },
        isVisible: {
          "!type": "bool",
          "!doc": "Boolean value indicating if the widget is in visible state",
        },
        selectedItem: { id: "number", name: "string" },
        gridGap: "number",
        items: "?",
        listData: "?",
      };
  
      expect(listWidgetEntityDefinitions).toStrictEqual(output);
    });
  });
  