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