@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/cjs/components/kajoo-component/kajoo-component.d.ts +7 -1
- package/dist/cjs/components/kajoo-component/services.d.ts +4 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/kajoo-component/kajoo-component.d.ts +7 -1
- package/dist/esm/components/kajoo-component/services.d.ts +4 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +54 -54
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 {
|