@kajoo-ai/sitecore-react 22.0.1 → 22.0.4
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 +55 -54
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 {
|