@chaibuilder/sdk 2.1.2 → 2.1.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/{CodeEditor-BG4oToVY.cjs → CodeEditor-CPR3N3wa.cjs} +1 -1
- package/dist/{CodeEditor-CdNhJvdd.js → CodeEditor-CuhsobXe.js} +1 -1
- package/dist/{chai-theme-helpers-BpnwYsLZ.js → chai-theme-helpers-CVkLfKt7.js} +4 -5
- package/dist/chai-theme-helpers-GQ1UI3nD.cjs +22 -0
- package/dist/core.cjs +6 -6
- package/dist/core.d.ts +3 -12
- package/dist/core.js +4015 -7578
- package/dist/{plugin-D56-CF7U.js → plugin-DRtv2KR5.js} +1 -1
- package/dist/{plugin-PDQQ8m4D.cjs → plugin-uUPBh-_c.cjs} +1 -1
- package/dist/render.cjs +1 -1
- package/dist/render.js +3 -3
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.js +1 -1
- package/dist/tooltip-BF2E5xPf.cjs +1 -0
- package/dist/tooltip-DGVZAvLU.js +755 -0
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +0 -33
- package/dist/ui.js +95 -103
- package/package.json +2 -5
- package/dist/chai-theme-helpers-D2bHv81c.cjs +0 -22
- package/dist/tooltip-CkYl0YhP.cjs +0 -1
- package/dist/tooltip-D9DF_nUo.js +0 -1900
package/dist/core.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export declare interface ChaiBuilderEditorProps {
|
|
|
88
88
|
name: string;
|
|
89
89
|
email: string;
|
|
90
90
|
avatar?: string;
|
|
91
|
-
role
|
|
91
|
+
role?: string;
|
|
92
92
|
};
|
|
93
93
|
/**
|
|
94
94
|
* Permissions
|
|
@@ -191,18 +191,9 @@ export declare interface ChaiBuilderEditorProps {
|
|
|
191
191
|
*/
|
|
192
192
|
getUILibraryBlock?: (library: ChaiUILibrary, uiLibBlock: ChaiUILibraryBlock) => Promise<ChaiBlock[]>;
|
|
193
193
|
/**
|
|
194
|
-
*
|
|
194
|
+
* Get partial blocks
|
|
195
|
+
* @returns {Record<string, { type: string; name: string; description?: string }>}
|
|
195
196
|
*/
|
|
196
|
-
upsertLibraryBlock?: (params: {
|
|
197
|
-
id?: string;
|
|
198
|
-
description: string;
|
|
199
|
-
group: string;
|
|
200
|
-
library: string;
|
|
201
|
-
name: string;
|
|
202
|
-
preview?: string;
|
|
203
|
-
}) => Promise<{
|
|
204
|
-
id: string;
|
|
205
|
-
} | Error>;
|
|
206
197
|
getPartialBlocks?: () => Promise<Record<string, {
|
|
207
198
|
type: string;
|
|
208
199
|
name: string;
|