@chaibuilder/sdk 2.2.8 → 2.2.9
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.cjs +5 -5
- package/dist/core.d.ts +2 -0
- package/dist/core.js +390 -371
- package/dist/web-blocks.cjs +1 -1
- package/dist/web-blocks.js +65 -59
- package/package.json +1 -1
package/dist/core.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare const ChaiAskAiUserPrompt: ({ blockId }: {
|
|
|
54
54
|
|
|
55
55
|
declare type ChaiAsset = {
|
|
56
56
|
url: string;
|
|
57
|
+
id?: string;
|
|
57
58
|
thumbnailUrl?: string;
|
|
58
59
|
description?: string;
|
|
59
60
|
width?: number;
|
|
@@ -395,6 +396,7 @@ declare type HSLColor = string;
|
|
|
395
396
|
export { i18n }
|
|
396
397
|
|
|
397
398
|
declare type MediaManagerProps = {
|
|
399
|
+
assetId?: string;
|
|
398
400
|
close: () => void;
|
|
399
401
|
onSelect: (assets: ChaiAsset | ChaiAsset[]) => void;
|
|
400
402
|
mode?: "image" | "video" | "audio";
|