@kajoo-ai/sitecore-react 22.0.1 → 22.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -118,7 +118,7 @@ interface IProps {
118
118
  component: ({ fields, children }: React.PropsWithChildren<{
119
119
  fields: JsonObject;
120
120
  }>) => JSX.Element;
121
- datasource: IConsciaIntegration | IContentstackIntegration;
121
+ datasource: IConsciaIntegration | IContentstackIntegration | IKontentAiIntegration;
122
122
  loadingComponent?: JSX.Element;
123
123
  errorComponent?: JSX.Element;
124
124
  emptyComponent?: JSX.Element;
@@ -143,6 +143,12 @@ interface IConsciaIntegration {
143
143
  environment: string;
144
144
  componentCode: string;
145
145
  }
146
+ interface IKontentAiIntegration {
147
+ provider: "kontent.ai";
148
+ environmentId: string;
149
+ deliveryApiToken: string;
150
+ contentItemCodename: string;
151
+ }
146
152
  declare const KajooComponent: (props: IProps) => react_jsx_runtime.JSX.Element;
147
153
 
148
154
  interface ILayoutProps extends RouteData {