@chaibuilder/sdk 2.0.0-beta.4 → 2.0.0-beta.5
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/core.d.ts +0 -14
- package/package.json +2 -3
package/dist/core.d.ts
CHANGED
|
@@ -210,14 +210,6 @@ export declare interface ChaiBuilderEditorProps {
|
|
|
210
210
|
* Outline menu items
|
|
211
211
|
*/
|
|
212
212
|
outlineMenuItems?: OutlineMenuItems;
|
|
213
|
-
/**
|
|
214
|
-
* Deprecated: getPages callback function. use collections instead
|
|
215
|
-
*/
|
|
216
|
-
getPages?: () => Promise<ChaiPage[]>;
|
|
217
|
-
/**
|
|
218
|
-
* Unsplash access key
|
|
219
|
-
*/
|
|
220
|
-
unsplashAccessKey?: string;
|
|
221
213
|
_flags?: Record<string, boolean>;
|
|
222
214
|
/**
|
|
223
215
|
* Content locale
|
|
@@ -235,12 +227,6 @@ declare type ChaiBuilderInstance = {
|
|
|
235
227
|
setBlocks: (blocks: ChaiBlock[]) => void;
|
|
236
228
|
};
|
|
237
229
|
|
|
238
|
-
declare type ChaiPage = {
|
|
239
|
-
slug: string;
|
|
240
|
-
uuid?: string;
|
|
241
|
-
name?: string;
|
|
242
|
-
};
|
|
243
|
-
|
|
244
230
|
declare type ClassDerivedObject = {
|
|
245
231
|
cls: string;
|
|
246
232
|
dark: boolean;
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"author": "Suraj Air",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"homepage": "https://chaibuilder.com",
|
|
8
|
-
"version": "2.0.0-beta.
|
|
8
|
+
"version": "2.0.0-beta.5",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
@@ -132,8 +132,7 @@
|
|
|
132
132
|
"react-wrap-balancer": "^1.1.0",
|
|
133
133
|
"tailwind-merge": "2.3.0",
|
|
134
134
|
"tree-model": "^1.0.7",
|
|
135
|
-
"undo-manager": "^1.1.1"
|
|
136
|
-
"unsplash-js": "^7.0.18"
|
|
135
|
+
"undo-manager": "^1.1.1"
|
|
137
136
|
},
|
|
138
137
|
"devDependencies": {
|
|
139
138
|
"@ai-sdk/openai": "^0.0.37",
|