@kajoo-ai/sitecore-react 21.0.0 → 21.0.3

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
@@ -117,7 +117,7 @@ interface IProps {
117
117
  component: ({ fields, children }: React.PropsWithChildren<{
118
118
  fields: JsonObject;
119
119
  }>) => JSX.Element;
120
- datasource: IConsciaIntegration | IContentstackIntegration;
120
+ datasource: IConsciaIntegration | IContentstackIntegration | IKontentAiIntegration;
121
121
  loadingComponent?: JSX.Element;
122
122
  errorComponent?: JSX.Element;
123
123
  emptyComponent?: JSX.Element;
@@ -142,6 +142,12 @@ interface IConsciaIntegration {
142
142
  environment: string;
143
143
  componentCode: string;
144
144
  }
145
+ interface IKontentAiIntegration {
146
+ provider: "kontent.ai";
147
+ environmentId: string;
148
+ deliveryApiToken: string;
149
+ contentItemCodename: string;
150
+ }
145
151
  declare const KajooComponent: (props: IProps) => react_jsx_runtime.JSX.Element;
146
152
 
147
153
  interface ILayoutProps extends RouteData {